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

    (@tobiasbg)

    Hi,

    thanks for your report, and sorry for the trouble that you are experiencing.

    From your description, I assume that this is caused by the known “Suhosin” problem. Suhosin is a security extension on the server than can (if configured too strict) break the saving of tables and options (due to which those things you mention don’t work). Please take a look at these forums threads for more hints:
    http://ww.wp.xz.cn/support/topic/plugin-wp-table-reloaded-table-errors
    http://ww.wp.xz.cn/support/topic/plugin-wp-table-reloaded-table-not-showing-blankpage
    http://ww.wp.xz.cn/support/topic/plugin-wp-table-reloaded-plugin-wp-table-reloaded
    http://ww.wp.xz.cn/support/topic/plugin-wp-table-reloaded-row-limitations

    Another reason might be that the PHP Memory Limit is reached, so that the saving process simply stops. Can you try to increase the limit by following http://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP ?

    Regarding the failed import: Please take a look at http://ww.wp.xz.cn/support/topic/plugin-wp-table-reloaded-csv-import-accent where one possible cause is discussed.

    Regards,
    Tobias

    Thread Starter jocke

    (@jocke)

    So, tried with new suhosin-values;

    suhosin.cookie.max_array_index_length = 500
    suhosin.cookie.max_name_length = 500
    suhosin.get.max_array_index_length = 500
    suhosin.get.max_name_length = 500
    suhosin.post.max_array_index_length = 500
    suhosin.post.max_name_length = 500
    suhosin.request.max_array_index_length = 500
    suhosin.request.max_totalname_length = 500

    WordPress already had 64M of memory allocated. Still no luck.

    All of these things worked pre-upgrading, so I don’t get why suhosin/PHP-memory would have anything to do with the issues, since I haven’t changed any of those parts…

    And none of these things is related to the issues with the ‘DataTables+TableTools’ brokenness?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I’m really sorry that this didn’t help. One thing that some people sucessfully changed in Suhosin is the “suhosin.simulation” parameter (or similar), by setting it to “on”. Maybe you can try that?

    64M of memory should indeed be ok, but if you can, try 128M, please.

    The issue with “DataTables+TableTools” is a direct consequence, simply as is was deactivated by this error: You will probably see that none of the checkboxes on the “Edit” screen of your table are checked. It’s the same for example with the “Table Head” checkbox. This happens because Suhosin “blanks” all checkboxes during the HTTP request.

    Regards,
    Tobias

    Thread Starter jocke

    (@jocke)

    wp-config.php

    define('WP_MEMORY_LIMIT', '256M');

    php.ini

    memory_limit = 512M

    suhosin.ini

    suhosin.simulation = on

    Same results.

    As already mentioned; I don’t get why any of these settings should matter, as it worked 100% fine before upgrading. I have not changed any settings in php.ini, nor suhosin.ini, since I upgraded.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    those changes look good to me… Unfortunately, I have no clue why this is still not working.
    I also don’t know how the update could influence this 🙁 Nothing really changed in the save process…

    Just to make sure that this is related to the size of the table (and with that to Suhosin):
    Can you create a new table for testing (just a small one, like 5×5). Does everything work there (inserting rows, sorting, changing the checkboxes, TableTools, …)?

    Regards,
    Tobias

    Thread Starter jocke

    (@jocke)

    So, I got the ‘insert/delete/sort/change rows’ working. Previously, I had disabled Suhosin in suhosin.ini, but this was never loaded. Adding the same config to php.ini, solved that part, I guess, since I’m now able to do things I couldn’t do before (-:

    However, the checkboxes for ‘Use JavaScript library’, and ‘DataTables JavaScript Features’ are greyed out. Loading a table, and then looking at the source, it seems as if no .js-files related to DataTables is loaded (wp-table-reloaded/css/datatables.css is loaded, but I guess it needs the .js-files as well). I don’t know why these files isn’t loaded.. <?php wp_footer() ?> is on the line above </body> in footer.php, and all other plugins loads their .js-files just fine. No double-loading of jQuery is present either.

    Any clues?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    great to hear that the Suhosin problem is solved for you!

    If “Use JavaScript library” and the other checkboxes are greyed out, this means that you either have deactivated the usage of the JS library on the “Plugin Options” screen of WP-Table Reloaded, or that you have unchecked the “Table Head” checkbox (above the “Use JavaScript library” checkbox on the “Edit” screen) for your table. This must however be checked, as DataTables can not work otherwise.

    Regards,
    Tobias

    Thread Starter jocke

    (@jocke)

    Now would you look at that.

    Thanks (-:

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem! 🙂

    Best wishes,
    Tobias

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

The topic ‘[Plugin: WP-Table Reloaded] WP 3.3.1 breaks WP-Table?’ is closed to new replies.