• Resolved fobvpadmin

    (@fobvpadmin)


    I’ve been using TablePress happily for several years, just twice a year to add one row. The last time was in July 2023. But now when I enter edit mode, with the intention of adding a row, the interface I am offered does not actually display the existing table. I imagine this should be visible under the tab marked Table Content: I see that tab (it seems new?) but it doesn’t seem to do anything. The preview shows the full table correctly. I’m running WordPress Version 6.3.2. I’ve just updated the TablePress plugin to version 2.2.4 but the problem I describe was there before I did that.  I don’t think the problem is due to any oddity of the table itself: I tried  making a very simple table in csv form and importing it: I get the same problem with that.  Can someone advise? (The link I’ve provided is to the page on which the table is displayed; I dont think I can give a link to the TablePress page itself; though I could supply a screenshot if that helps)

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    If you are seeing the “Table Content” section, it’s probably just collapsed (which saves space on the page). To again show it, please try clicking the small down-facing triangle on the far right side of the “Table Content” section that you are seeing.

    Best wishes,
    Tobias

    Thread Starter fobvpadmin

    (@fobvpadmin)

    Hi Tobias,

    Thanks for the prompt reply. That is how I expected it to work. But clicking there doesnt open up the content: a single blank line appears (and disappears when I click there again). The other similar icons (accompanying the 4 other sections do work as they should). Suggestions appreciated!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ah, ok. Thanks for the clarification! Most likely, there’s a JavaScript error happening then. Can you please check the browser’s error log console, which you can find via the “Developer Tools” in the browser’s menu for any hints?

    Regards,
    Tobias

    Thread Starter fobvpadmin

    (@fobvpadmin)

    OK. Looks like there are js errors when I open a table for editing. Here is a cut and paste from the log. Perhaps there is a better way of showing you…

    GET http://www.braidburnvalleypark.org.uk/wp-content/plugins/tablepress/admin/css/build/jspreadsheet.css?ver=2.2.4 net::ERR_ABORTED 404 (Not Found)
    jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1
    admin.php:2089

       GET http://www.braidburnvalleypark.org.uk/wp-content/plugins/tablepress/admin/js/build/jspreadsheet.js?ver=079ed1bdcfa8860c090a net::ERR_ABORTED 404 (Not Found)

    edit.js?ver=cdf1475bc9e3883381b2:1 Uncaught ReferenceError: jspreadsheet is not defined
    at edit.js?ver=cdf1475bc9e3883381b2:1:27475
    at edit.js?ver=cdf1475bc9e3883381b2:1:41977

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    nice find! This one is definitely relevant here. It looks like one of the required .js files can’t be found on the server.

    The reason might be as simple as an plugin update not running completely, so that the file was maybe not properly copied. To fix this, please simply deactivate and delete TablePress and install it from a fresh download. This should fix the issue. (And no worries, your tables and settings are all safely stored in the database and will be kept!)

    Best wishes,
    Tobias

    Thread Starter fobvpadmin

    (@fobvpadmin)

    Hi Tobias,

    I did that and tried again. Same looking errors when I hit the edit button. And connet button still not working. Here’s the screen dump:

    GET http://www.braidburnvalleypark.org.uk/wp-content/plugins/tablepress/admin/css/build/jspreadsheet.css?ver=2.2.4 net::ERR_ABORTED 404 (Not Found)
    jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1
    admin.php:2089

       GET http://www.braidburnvalleypark.org.uk/wp-content/plugins/tablepress/admin/js/build/jspreadsheet.js?ver=079ed1bdcfa8860c090a net::ERR_ABORTED 404 (Not Found)

    edit.js?ver=cdf1475bc9e3883381b2:1 Uncaught ReferenceError: jspreadsheet is not defined
    at edit.js?ver=cdf1475bc9e3883381b2:1:27475
    at edit.js?ver=cdf1475bc9e3883381b2:1:41977
    (anonymous) @ edit.js?ver=cdf1475bc9e3883381b2:1
    (anonymous) @ edit.js?ver=cdf1475bc9e3883381b2:1

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    That’s really strange then… The files definitely exist in the plugin ZIP file, so it must be something isolated to your server. Can you maybe check if the files exist via an FTP program? It could then be possible that file access rights are maybe wrong or that the server software is configured to somehow block them (e.g. because the content erroneously triggers some security checks, i.e. a false positive).

    Regards,
    Tobias

    Thread Starter fobvpadmin

    (@fobvpadmin)

    I took a look through cPanel. The file

    wp-content/plugins/tablepress/admin/js/build/jspreadsheet.js

    is there. Not sure about the significance of the “?ver=…” ??

    What else should I check?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you could maybe also check the file access rights. The file need to be readable by the webserver software.

    If that doesn’t help, I can only recommend to get in touch with the server administrator (or the support team of your webhost), so that they can check why loading
    http://www.braidburnvalleypark.org.uk/wp-content/plugins/tablepress/admin/js/build/jspreadsheet.js
    does not bring that file
    /wp-content/plugins/tablepress/admin/js/build/jspreadsheet.js
    from the server, if it exists…

    They might be able to find more information in the server’s error log files, maybe.

    There is nothing that I can do about this in TablePress, unfortunately.

    Regards,
    Tobias

    Thread Starter fobvpadmin

    (@fobvpadmin)

    I think there is nothing odd about the file permissions. I’ll probably ask TSOhost to take a look. In the meantime I have a workaround: export the table; edit it in excel and reimport. A little clumsy; but I only need to do it every 6 months!

    I see that RJaggers (Table Content not displaying v 2.1.7) resorted to this when he had a similar problem.

    Thanks for your time.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi!

    Yes, that’s definitely a good workaround here (especially if you only have to modify the data once in a while anyways). But yes, trying to find out why those files are not being loaded from the server, by contacting your hosting company, would still be a good thing to do. Please let me know of any findings, thanks!

    Best wishes,
    Tobias

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

The topic ‘Missing table content in TablePress edit’ is closed to new replies.