WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Save failed (22 posts)

  1. lasislas
    Member
    Posted 10 months ago #

    After pressing the "save changes" button the page loads for a while and it appears the following message:

    Speichern fehlgeschlagen: AJAX call failed: parsererror - SyntaxError: JSON.parse: unexpected character. Try again while holding down the “Shift” key.

    Even holding down the “Shift” key does not work :-(

    My table has 826 rows and 3 columns. In one of the three columns every row is filled with a html-code like <a href="http://www.mydomain.de">....</a>

    P.S.: Sorry for my bad english I'm German

    http://wordpress.org/plugins/tablepress/

  2. lasislas
    Member
    Posted 10 months ago #

    After I deactivated a lot of plugins it worked. I don't know exactly which plugin was the offender.

    If you've got tips or hints I would appreciate it. Rated and donated to your plugin we have already :-)

  3. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    thanks for your question, and sorry for the trouble.

    Good to hear that your further investigations already helped here! This means that one of the plugins that you deactivated interferes with the table saving mechanism in TablePress.
    To find out what exactly caused this, we'd need to find out which plugin caused that interference. So, unless you don't need all of those other plugins again, please try re-activating them one by one, and check if the saving error appears again, after each one.
    With that method, we should be able to find the plugin that caused this.

    Regards,
    Tobias

  4. lasislas
    Member
    Posted 10 months ago #

    One plugin I was able to identify meanwhile: WP-Filebase

    Another question:

    Whitch of these extensions i need to use the following code under "Eigene Befehle:"

    "aoColumnDefs": [ { "bSearchable": false, "aTargets": [ 2 ] } ]

    • Change DataTables strings
    • DataTables Column Filter
    • Row Filtering
    • Shortcode Filter from GET parameter
  5. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    great find! Yes, I can confirm that WP-Filebase causes this, as I have found some very bad code in one of its files. That will break the AJAX request and modify ALL variables that are transmitted (instead of just the ones that the plugin uses itself). This unfortunately can break many plugins.
    You will therefore have to deactivate this plugin whenever working with TablePress.

    About that code in "Eigene Befehle". For that specific one, you do not need any of the mentioned Extensions. This is built-in functionality.
    (It will turn off searchability for the third column in your table (counting starts with 0).)

    Regards,
    Tobias

  6. lasislas
    Member
    Posted 9 months ago #

    I've found two other Plugins, which could have cause the problem:

    • Adminimize
    • Admin Menu Editor
  7. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    I don't really think that those could have done this. It's more likely that WP-Filebase was responsible for this, as that contained some code that is relevant to the issue.

    Regards,
    Tobias

  8. lasislas
    Member
    Posted 9 months ago #

    You are right. I just noticed that it makes a difference what change was made ​​to the table. If I delete something or adding the save usually works. However, when I re-sort a column it does not work in turn and the following message appears:

    Speichern fehlgeschlagen: AJAX call successful, but unclear data. Try again while holding down the “Shift” key.

  9. lasislas
    Member
    Posted 9 months ago #

    I just noticed: Even if the message "Speichern fehlgeschlagen" appears - the changes to the table in the WordPress backend are stored. When I leave the table or WordPress - the changes are not visible. If i call again on the table this is up to date.

  10. lasislas
    Member
    Posted 9 months ago #

    Now that I've deactivated the plugin Breadcrumb NavXT, the table could be successfully stored without error message. I'm really confused...

  11. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    yes, that's really confusing.
    Just to find out more: What version of WP are you using right now?

    Regards,
    Tobias

  12. lasislas
    Member
    Posted 9 months ago #

    WordPress 3.6.1.

  13. lasislas
    Member
    Posted 9 months ago #

    Meanwhile, I suspect that the problem has nothing to do with the plugin(s).

    After sorting a column, storing not seem to work.
    If I deactivate and active any plugins or more - it goes after a few attempts. I can detect no system in it. sometimes it works and sometimes not

    P.S.: Could it be the browser possibly?

  14. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    ok, with WP 3.6.1 those issues should not happen like this...

    Really weird then... We should investigate this more once you have updated to WP 3.7 and TablePress 1.2, which will be released shortly.
    Maybe it's just a temporary glitch.

    Regards,
    Tobias

  15. lasislas
    Member
    Posted 9 months ago #

    Okay, the Update to WP 3.7 is done.

    After upgrading Tablepress to 1.2 the following message appeared in the lower range:

    Warning: Missing argument 3 for wpseo_upgrader_process_complete() in /homepages/.../.../htdocs/.../wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php on line 259

    After that I made ​​to test a small change to the table and save is failed again

  16. lasislas
    Member
    Posted 9 months ago #

    I've deactivate WordPress Seo ​​to test but it has not changed :-(

  17. lasislas
    Member
    Posted 9 months ago #

    By the way:

    Here are the only active plugins:

    - BackWPup
    - Custom Permalinks
    - TablePress
    - TablePress Extension: Change DataTables strings

    In the Google Chrome browser, the table loads very slowly and it takes a long time until I can scroll the page down completely. The browser has to work. May perhaps be due to the more than 800 links, which are integrated in one of the three columns?

  18. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    ok, those plugins should not cause trouble, so it might be related to the size of the table, indeed.

    As mentioned in my email reply, I'd like to take a direct look, so that we can hopefully fix this.
    When we then find a solution, we can again post it here.

    Regards,
    Tobias

  19. Zero_Alpha
    Member
    Posted 6 months ago #

    Hi,

    I am having the same problem and getting the same error messages, at the site I administer.

    The messages are "Saving failed: AJAX call successful, but unclear data. Try again while holding down the “Shift” key." - even when you follow these instructions, the next message "Error: The table could not be saved." comes up.

    I am running TablePress 1.1.1 on a WP 3.7 installation. The tables are not very large (2 or 3 columns, and say up to 12 rows) and when you try to save changes to any of those tables, it appears some of the changes sometimes then appear on certain browsers like Chrome, even if the error messages come up.

    Other times, the changes really are not saved.

    I have a lot of plugins on the site so it is difficult to identify any which may be causing a problem (unless you know of any known issues):

    Akismet
    BackWPup
    CollabPress
    Dagon Design Sitemap Generator
    Duplicator
    Dynamic Headers by Nicasio Design
    Embed RSS
    Enhanced Meta Widget
    Eventbrite for The Events Calendar
    Facebook Social Plugins
    Fast Secure Contact Form
    Get Picasa Albums
    Gwyn's Imagemap Selector
    HL Twitter
    Jetpack by WordPress.com
    MaxButtons Pro
    s2Member® Framework
    Shashin
    The Events Calendar
    Toppa Plugins Libraries for WordPress
    WP Facebook Open Graph protocol
    WP Render Blogroll Links

    I was about to donate to your plugin having tested it out a bit, but wanted to confirm this issue has been fixed before I do that.

  20. TobiasBg
    Member
    Plugin Author

    Posted 6 months ago #

    Hi,

    thanks for your post, and sorry for the trouble.

    This is indeed fixed in the latest versions.
    I strongly recommend that you first update to WordPress 3.8, and then to TablePress 1.3.
    If you really have to stay on WordPress 3.7.1, you should update to TablePress 1.2. (In case you don't see the automatic update, just download the ZIP file from http://wordpress.org/plugins/tablepress/developers/ and perform a manual update via FTP.)

    Regards,
    Tobias

  21. Zero_Alpha
    Member
    Posted 6 months ago #

    Thanks Tobias - upgrading to TP 1.2 fixed the problems as you predicted. I am currently updating the site to WP3.8 and will get TP 1.3 after that.

  22. TobiasBg
    Member
    Plugin Author

    Posted 6 months ago #

    Hi,

    very nice! Thanks for the confirmation!
    Good to hear that this helped! And yes, updating to WP 3.8 and TablePress 1.3 will be even better then :-)

    Best wishes,
    Tobias

    P.S.: In case you haven't, please rate TablePress here in the plugin directory. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic