Support » Plugin: TablePress » Saving failed: AJAX call failed: error – Forbidden. Try again while holding down

  • Resolved Zeljko

    (@h3llas)


    When I am trying to save table I get the following message:

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

    However table is saved, but every new row is marked as hidden.

    I thought it was server side error so raised my memory limit and execution time. Didn’t helped. Then I thought it was mod security error but coulnd’t find anything in logs.

    Then I downgraded PHP to version 5.6 and error is gone and saving is working.

    When I go back to PHP 7.1 last couple of rows are marked hidden and are colored red. It only happens in one large table which has 920 rows and everything after 913 is hidden. I tried deleting last rows but it didn’t helped.

    Any clue where to look next in diagnosing those errors? With WP Debug True there is no errors in log.

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The “Forbidden” in the error message clearly indicates that this is a server configuration issue, and nothing from inside TablePress. Due to the size of the table, I could imagine that PHP configuration parameters like max_input_vars plays a role here.

    Regards,
    Tobias

    You were indeed right. Upping memory limit and raising max_input_vars by double sorted this error.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.