• Resolved eveklc

    (@eveklc)


    Dear Tobias,

    Need your help! Need your expertise!

    I am getting this error when I click “Save Changes” button :
    “Saving failed: AJAX call failed: error – Forbidden. Try again while holding down the “Shift” key.”

    I tried re-install WP and de-activating all the plugins. Still error appears.

    I find your plugin super fascinating that is why would like to continue to support TablePress plugin.

    Please help!

    Thank you

    https://www.ads-software.com/plugins/tablepress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    From what I can see (especially from the “Forbidden” part) in the error message, this is caused by something in the server configuration. Something in the save request (or your table data) causes the server to disallow and block the HTTP request, presumably because some security extension on the server (wrongly) things that an attack is going on. Then, when the request is blocked, it never reaches TablePress, and thus the table can’t be saved.

    To fix this, please try to find out from the webhost company, if there’s a security extension installed on the server that could cause this. They should be able to find out more in their server error log files.

    Regards,
    Tobias

    Hi
    I have recently installed TablePress on a new website and when attempting to save a table, get the message:

    Saving failed: AJAX call failed: error – Forbidden. Try again while holding down the “Shift” key.

    It was OK if I used the shift key.

    I discussed it with the server guys (who suggested changing the PHP version – to no avail). Then discovered that the error only occurs if there is a blank row at the end of the table, or if the final cell in the last row is blank.

    WordPress 4.5.2, Coraline 1.5.2, TablePress 1.7, PHP 5.3

    This also happens with TablePress 1.4 and WordPress 3.9.2

    Just thought you might like to know.

    Regards
    Andy

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This indicates that a security extension or the firewall on the server is blocking the request. This could for example be the mod_security extension for the Apache webserver. It contains rules that erroneously get triggered by such an empty cell (which internally is represented as ,""]]) and then blocks the request.
    Unfortunately, there’s nothing that I can do about this in TablePress, it needs to be fixed on the server level.

    Regards,
    Tobias

    Hi,

    I have got the same problem and it was solved simply in filling the last row/last column with any word as suggested by andynz. Thanks for the contribution ??

    Regards

    Ggerard

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Saving failed: AJAX call failed: error – Forbidden.’ is closed to new replies.