WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Table formatting altered following page updates (5 posts)

  1. kintopp
    Member
    Posted 1 year ago #

    Safari 6.0.2, FireFox 18.0.2, Chrome 24.0.1312.57 and WebKit 143103. WordPress 3.5.1, OSX 10.8.2.

    I have a WP page with some short text followed by the table shortcode. I'm editing the page in Safari, logged in as WP admin for my site. The table uses some custom CSS and has highlighting and searching enabled. The table initially displays correctly in all browsers.

    However, I've found that if I edit a page or edit a widget on the page in Safari, the table's formatting is altered in FF, Chrome and WebKit - but not in Safari. If I edit my table in TablePress and save the changes (or just save again by itself w/o edits) the formatting is restored and is once again shown correctly in FF, Chrome and WebKit.

    Here's a partial screenshot of what the table looks like after the formatting is altered:

    http://dl.dropbox.com/u/1667511/bad.png

    Here's what it looks like, correctly formatted, after the table is saved in TablePress and the page is refreshed:

    http://dl.dropbox.com/u/1667511/good.png

    I was able to reproduce this several times. Since the sidebar widgets disappear as well in the affected browsers, as a guess, the problem might be related to the "Per Page Sidebars" plugin I use on the site http://thecodecave.com/plugins/per-page-sidebars/ However, I haven't actually tested this. Nor have I tried to reproduce the problem when logged into the site from another browser.

    The page in question is temporarily accessible at http://kanjialive.com/the-214-traditional-radicals/

    As a final note - thank you very much for this plugin! The functionality and in particular the documentation is great.

    · Website: http://kanjialive.com
    · TablePress: 0.9-RC
    · TablePress (DB): 17
    · TablePress table scheme: 3
    · Plugin installed: 2013/02/16 11:22:04
    · WordPress: 3.5.1
    · Multisite: no
    · PHP: 5.2.17
    · mySQL (Server): 5.1.56-log
    · mySQL (Client): 5.1.49
    · ZIP support: no
    · UTF-8 conversion: yes
    · WP Memory Limit: 40M
    · Server Memory Limit: 256M
    · Magic Quotes: off
    · WP_DEBUG: false

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

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your post, and sorry for the trouble.

    To be honest, I have no idea what's going on here. It looks like that the JavaScript functions are also not working in the "bad" case. So, I assume that there's a JS conflict somewhere.
    So, if possible, I'd like to take a direct look at this in the admin area of your site. Could you therefore please send me an email (the address is in the main plugin file "tablepress.php").

    Regards,
    Tobias

  3. kintopp
    Member
    Posted 1 year ago #

    Hi Tobias, you responded before I could finish editing my post! Impressive :-) Email has been sent.

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    as a quick update for everybody following this thread:
    I'm working on this directly with kintopp. From what we've found so far, there seems to be some problem with the TablePress table caching feature.
    Once we find the cause and fix, I'll post here again.

    Regards,
    Tobias

  5. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    another update: As it seems, the root cause of this is in the WordPress Options API. It seems to have problems with the "𠆢" character. All strings with this character will only be saved up until this character.
    I was able to reproduce this on two servers, and I'll do some more testing. If I can verify this some more, I'll open a bug report on the WordPress bug tracker (Trac).

    Meanwhile, we have turned of the caching for this table (so that the HTML code of the table, which contains the character, is no longer saved as an option, and can thus not break).

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic