• Resolved oceangoing

    (@oceangoing)


    I’m using wp-table-reloaded Version 1.8 DE-Edition.

    I had a dev site running for a while, in a folder on the old site. I have several tables, and one uses DataTable js library for search and sorting. Recently, I moved the site up to the root directory. Now the search & sort features have disappeared.

    Moreover, some of the css which I’d specified in plugin settings > additional css, has also disappeared. When I deactivate the DataTables function, this table css displays correctly again.

    Any help would be appreciated. I just don’t know where to look anymore; I’m sure it’s something stupidly simple.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter oceangoing

    (@oceangoing)

    I should have said: I added no new plugins after the move, so I don’t think it’s a conflict – but I deactivated all other plugins one by one, and the problem persists.

    You can find the table here (scroll down). And on this page is a table which has no DataTables activated – you can see, the css is working on that one.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    this is the result of moving the site away from the root directory.

    As it seems, one of the WordPress configuration variables still has the “wordpress” directory (which you used before) in it.
    Due to that, WP-Table Reloaded tries to load a files http://www.mediaevistenverband.de/wordpress/wp-content/themes/twentyten-child-mediaev/datatables.txt, but that does not exist, because of the “wordpress” in the URL.

    Can you check the settings in the WordPress Dashboard, if all URLs point to the correct location, especially the “WordPress URL” and the “Site URL” option.

    Regards,
    Tobias

    Thread Starter oceangoing

    (@oceangoing)

    Thank you for getting back to me, Tobias. I thought it must have something to do with the move, but I just can’t find what it is. I looked all through WordPress settings, and nothing points to the old /wordpress directory.

    Any other ideas where I might look?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ah, just noticed that the URL I posted above doesn’t look like the other ones I usually see there.
    The reason is that you have added a plugin filter hook to load your own version of that file, probably to change some of the strings.
    I assume that you will find the relevant code (and the now wrong URL) in the “functions.php” of your theme.

    Regards,
    Tobias

    Thread Starter oceangoing

    (@oceangoing)

    I’d already checked functions.php, but your reply gave me an idea, and I’ve found it now! There was indeed a reference to that directory, in wp-table-reloaded-extensions.php (my first attempt at an extension, I should have probably used siteurl or something instead of the complete path).

    Many thanks, it now all works perfectly again!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok, an extension file is also possible 🙂

    Great that it works again now!

    Best wishes,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Js script no longer working’ is closed to new replies.