Okay
  Public Ticket #988575
Upgrade Problems
Closed

Comments

  •  2
    mavenxinc started the conversation

    Hello - 

    I just upgraded to 1.7.  I've reapplied prior "customizations" or fixes that this support site provided.  However, there are 3 issues that I can't resolve. 

    1 - Filtering 

    I have a dataTable (the url above) that has multiple values in the "category" page.   For example "www.altrec.com" is a retailer for in the sports & fitness category as well as in the fashion category.   When a user selects "fashion", I'd like alrec.com to appear in the list.  But, it does not. I think I previously submitted a ticket and tweaked the plugin to work in a prior version.  But, with the upgrade, the issue has returned.

    Can you tell me what to customize for that?  And, do I need to repeat that change each time I upgrade? (I'm not sure if my customizes are preserved or not when I upgrade). 

    3. - Ios Compatibility 

    When this page is used on safari, firefox, or chrome on iphone or Ipad or MAC, the WPdatatable presents a spinner and it never stops.   I think this was a problem that was fixed in a prior version as well with a customization/patch provided by the WPDataTable helpdesk.  However, I can't find the ticket in order to repeat what was previously done.   

    To view the problem, just to go the page  http://f85.1c8.myftpupload.com/maven-retail-network/ on any MAC device. I tested using Browser stack on several versions (iphone 6s & ios 9.0, ipad pro using ios 10.0, el capitan on ios 8 in Chrome and Safari) and on my own devices..iphone 6 on ios/Safari 10.  The table will always have a spinner and never be active/usable. 


    3. - Duplicate WPDataTable plug-ins

    I seem to have 2 WPDataTable installations/vendors on my site.  And, so when I view code to modify, I'm not sure which version I'm working in.  Do you know why I have 2 versions? One is from TMS-Plugsins and one is from touchmesoft. I'd like to delete the inactive one (touchmesoft), but I'm concerned it will delete my data and/or code.  


     Thank you!

     

  • [deleted] replied

    Hi mavenxinc,
    Thank you for your purchase.

    1. I can't see what do you mean because your table is not working at all. There is JS error that breaks table on your page. Can you send me your login credentials so I can take a look at this issue? You can write credentials here just check PRIVATE so nobody can see it except us.

    2. Is this happening only when you are using these devices in Private browsing mode?

    3. Please DO NOT DELETE old version from plugins page. You can safely delete it from your FTP account. Just delete old wpdatatables folder.

  •   mavenxinc replied privately
  • [deleted] replied

    Hi mavenxinc,

    As I see you have revert plugin to version 1.6.2? When table was not working you was using version 1.7?

    Do you have the link of the ticket where I helped you last time?

  •  2
    mavenxinc replied

    HI Milos - 

    I think it started in 18766 and was also partly in 18767. Below is a reference to the "safari issues" ticket 18766 - but that ticket seems to be missing.

    Thanks!

    ------

    Hi Michael Kimmons, An agent just replied to your ticket "Safari Issues" (#18766). To view his reply or add additional comments, click the button below:

    View Ticket

    or follow this link: http://wpdatatables.com/ticket/safari-issues/ We need your help with a short survey, it won't take longer than 3 minutes! https://www.surveymonkey.com/r/wpdatatables - help us to find out which features are the most useful.


  • [deleted] replied

    Hi mavenxinc,

    Can you update plugin to version 1.7 and then I will check these issues?

  •   mavenxinc replied privately
  • [deleted] replied

    Hi mavenxinc,
    Sorry for delayed replay.

    When you update plugin you just have to deactivate/activate it and it will work. You can check now on your staging website.

    About IOS issue can you try to remove line from files:

    ../wp-content/plugins/wpdatatables/assets/js/responsive/datatables.responsive.js

    ../wp-content/plugins/wpdatatables/assets/js/responsive/datatables.responsive.min.js

    localStorage.setItem(this.cookieName, JSON.stringify(value));

    Also about you first issue with filtering can you describe me in more details what you are trying to accomplish?

  •  2
    mavenxinc replied

    HI Milos - 

    Thanks so much!  I didn't realize one had to deactivate and activate after installation. That must have been what caused the problem.  It looks like that also fixed the safari problem.  So, I didn't change the code as you suggested below since it seems to be working.

    Regarding the filter, in my table, some retailers belong to more than 1 "category". In the attached Capture1.jpg, note that Altrec is in both the fashion category and the sports & fitness category.  Those are in the "category" column as 2 entries separated by a comma.  When a user selects "fashion", I'd like Altrec to appear in the list since it has a "fashion" value in the category column.  But, with the new upgrade of wpdatatables, it only shows entries in the table that contain ONLY "fashion" (see capture2.jpg)

    In production (capture3), you'll note that Altrec is displayed.  And, that's the way I'd like it to work in staging.

    Thanks again!

    Mike

  •  2
    mavenxinc replied

    HI Milos - I have one more issue to add to the list. Now that the WPDataTable plugin has been deactivated and re-activated, it has brought back a CSS conflict with BE Page Builder (another plug in we use).  This has happened in each of the prior upgrades we've done for WPDataTables.  Your recommendation solution previously (about 8 months ago...in this ticket is to remove some WPDataTables CSS.  I've attached it here again. I would have made the change, but I don't know where the referenced code is in version 1.7.

    Thank you again!

  • [deleted] replied

    Hi mavenxinc,

    For filtering issue in file  ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php find

    $search .= '`'.$aColumns[$i]."` = '".addslashes( $_POST['columns'][$i]['search']['value'] )."' ";

    and replace it with:

    $search .= '`'.$aColumns[$i]."` LIKE '%".addslashes($_POST['columns'][$i]['search']['value'] )."%' ";

    For CSS issue you can find file on this location:

    ../wp-content/plugins/wpdatatables/assets/css/wpdatatables.min.css around line #1034 find this and remove it:

    .ui-dialog {
        z-index: 9991 !important ;
    }
  •  2
    mavenxinc replied

    HI Milos - 


    Thanks for the suggested changes.  I've successfully modiifed the class.wpdatatable.php file to resolve the filtering issue.  

    However, I can't locate the file wpdatatables.min.css in the plugin editor....it's not listed as an editable file.  How do I find that file and modify it?  

    Thanks!

  •  2
    mavenxinc replied

    HI Milos - 

    I made the change (I think), but I still have the black screen problem in BE Page Builder.  

    The link you sent me didn't work, so I DID edit it; I used this link...maybe I messed it up or ending up editing the wrong file?  (Per the original issue, I have 2 versions of the code, so maybe I edited the wrong one?)

    http://f85.1c8.myftpupload.com/wp-admin/plugin-editor.php?file=wpdatatables/assets/css/wpdatatables.min.css

    Thanks.

    Mike

  • [deleted] replied

    Hi mavenxinc,

    Did you clear cache after that? When does blank screen issue occurs?

  •  2
    mavenxinc replied

    HI there - 

    Yes, I selected "flush cache" and then tested, and the problem still occurs.

    To re-create the issue, 

    - Go Pages

    - Select "Edit" for any page

    - Then when you're in edit mode on a page, when you click on any edit control in BE Page Builder (see capture1), you get a black screen (see capture2)

  • [deleted] replied

    Hi mavenxinc,

    It seems that is working for me. Probably cache is cleared and now it's working? Is it working for you also?


  •  2
    mavenxinc replied

    Ok, wow.  I guess that did work. Thanks Milos!  I think all the issues are closed out!

  • [deleted] replied

    Hi mavenxinc,

    You are welcome. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!