Okay
  Public Ticket #1373012
Errors since update to 2.0.2
Closed

Comments

  •  2
    wouterdeprez started the conversation

    Hi,

    i was already in touch with Bogdan for this issue for almost three months now. We always have to revert back to the older version of wpdatatables, because after update to newer version a number of things don't work anymore and errors. We got a number of suggestions of bogdan, but still same results. That's why we'd like to submit a ticket again. We use wpdatatables for some time now and were very pleased with it, just a shame that the new update brings such trouble. Hopefully these will get resolved quickly.

    Hopefully also, you can finally help us out with our issues.

    Specifically, the dropdowns in add or edit fields don't work as they should (not all options are shown and can be selected). On the wpdatatables backend, dropdowns even don't show anything, so basically table settings are completely disfunctional.

    Latest suggestion of bogdan:

    In file ../wp-content/plugins/wpdatatables/source/class.wdttools.php around line 799 find this code

    if (!$bootstrapEnqueued) {
    wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/bootstrap.min.js', array('jquery'), false, true);
    }

    and comment it to look like this

    //        if (!$bootstrapEnqueued) {
    //            wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/bootstrap.min.js', array('jquery'), false, true);
    //        }

    I tried this suggestion, but unfortunately still same results..

    Now we can’t even open the wpdatatables settings page in the backend (don’t know if this is caused by commenting out the lines in class.wdttools.php or with update to newest wordpress version)

     

    You can login to see for yourself and go to this page (you can find admin login data in previous tickets)

     

    http://sdtevents.be/tickets/hom/

    (first you will need to click ok in a popup)

     

    You can try to edit a row. In wpdatatables popup, you will see dropdowns are incomplete, and when clicking on 'cancel' everything just blocks

    You also can  check the backend settings page 

    If you want, I can also provide you with ftp access, so you can change files directly for some testing.

    Another problem that persists is on this page: http://sdtevents.be/hom-registraties/ with a more complicated sql query. In previous version this was no problem at all. We are able to solve this through creating a mysql view, but this is certainly not the preferred way.µ

    Please note that everything worked perfectly in previous version.

    We bought extended support specifically for this, so hopefully we can get some serious help now.

     

    thanks

    wouter  

  •  471
    Isidora replied

    Hi wouter,
    Thank you for your purchase.

    Sorry for late response. 

    We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.

    We notice issues that you have on website. Also notice that you have a lot of bootstrap files form theme and the other plugins.

    First the reason why you dropdowns are not working properly is because of css conflict with the theme. When we comment this css rule from the theme dropdowns are working.(attachment 1 and 2)

    Second your settings page is not working because of not including bootstrap.js on backend. Can you please remove that comments from file that we suggest earlier and then turn off option "Include bootstrap" in main settings of the plugin(because you have a lot bootstrap.js on page from theme and plugins).

    And about the issue with sql query. New versions of plugin use different logic for parsing queries then lower versions. Probably this is happening because wpDataTables server has problems with parsing of the query and building new queries dynamically (happens rarely, but does sometimes). Because of that we suggest to make the VIEW.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    wouterdeprez replied

    Hi Milan,


    thanks for the feedback.

    I executed your comments, and backend indeed is working fine now (also the dropdowns). However, the same dropdowns you put in the screenshot don't work at all at the front-end.


    What would you suggest for that?


    Thanks!

  •  471
    Isidora replied

    Hi wouter,

    We notice that you have conflict with bootstrap files(because you have many) from plugin tabs responsive. When we remove that files from browser dropdown works(attachment 1) but still getting that css style from theme that we suggest to comment in previous post. When we comment that dropdawn works.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    wouterdeprez replied

    Hi Milan,


    I'm not really following here.. What exactly should be commented out, and in what file?

    Thanks

  •  471
    Isidora replied

    Hi wouter,

    Before that solution we will try to enforce our bootstrap on page.

    You can try to include our bootstrap on the page changing some code in file: 

    wp-content/plugins/wpdatatables/source/class.wdttools.php around line 803

    if (!$bootstrapEnqueued) {    
    wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/bootstrap.min.js', array('jquery'), false, true);
    }

    and remove if statment so the code look like this:

    wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/bootstrap.min.js', array('jquery'), false, true);

    You can try this but we can't promise that will not be some conflicts with theme or other plugin bootstrap. If this not work then we will comment that lines in theme css file.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    wouterdeprez replied

    Hi


    I removed the if statement, but unfortunatly result stays the same, dropdowns do not open on the front-end..


    Thanks

  •  471
    Isidora replied

    Hi wouter,

    We comment that line on theme css on line 2088 like this:

    .inner .text {
     margin-top: -40px;
     /*position: absolute;
     top: 0;
     text-align:
     center;*/
     width: 100%;
    }

    Now is working but color is blue. That is also from the theme but if we change that it will change all links color on site.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    wouterdeprez replied

    Hi


    ok, now dropdowns open, but are again incomplete (first element isn't shown) :)

    See for example screenshot attached, first element A isn't shown, and empty row on the last line..


    Thanks

  •  471
    Isidora replied

    Hi wouter,

    Can you please send that screenshot so I can see on what you mean? I don't see that you attach anything in previous post.(attachment)

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    wouterdeprez replied

    Hi,


    sorry, see attachment. Feel free to login to the website also of course.


    thanks

  •  471
    Isidora replied

    Hi wouter,

    We can see that is everything working fine. (attachment)

    Can you please clear cache of the browsers and check again?

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  2
    wouterdeprez replied

    Yes, no it works with clearing browser cache!

    We'll find a solution for the color, no prob.

    thanks for the help!

  •  471
    Isidora replied

    Hi wouter,

    You are welcome.  Glad that we solved the issue.

    If you have any more issues feel free to open a new ticket, we will gladly help.

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

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables