WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Updates to articles losing / truncating content (3 posts)

  1. dcloutman
    Member
    Posted 2 years ago #

    Hi Everyone,

    I recently took over a site with relatively high usage that uses WordPress as its CMS / platform. We publish new content to the site on a regular schedule.

    Our editors are having problems entering content on the site. After initially saving their article, when they insert additional content and hit the "Update" button, sometimes content disappears.

    There is no clear pattern to the loss, except that the longer the additions, the more likely the changes will be lost. The normal threshold seems to be around 500 words, but sometimes much shorter changes are lost.

    I have no idea why this is happening. We have 4000-5000 articles in our database, and now WP has just decided to crash. It is only happening on our production server. We can not replicate the bug yet on out staging or development environments.

    Here is what I've tried so far to fix the problem:

    * Checking the error and access logs
    * Checking the mysql log
    * Clearing all caches
    * Disabling all caching (sped up the admin tool, but didn't fix the problem. Re-enabled caching.)
    * Disabling the VaultPress plugin (re-eneabled)
    * Restarting PHP / Nginx
    * Upping the memory on PHP (Changed it back)
    * Rebooting the server
    * Attempted to fix problem by defragmenting the database by running mysql dump and them restoring the production database from that dump. This failed to fix the problem.

    We are running Welcome to WordPress 3.3.1 with a number of custom and non-custom plugins, including:

    Akismet
    BWP Google XML Sitemaps
    Debug Bar
    Div Shortcode
    Event Espresso
    Event Espresso - Calendar
    Event Espresso - Members Addon
    Event Espresso - SSL/HTTPS
    Gallery Metabox
    Google Analytics for WordPress
    Gravity Forms
    Gravity Forms User Registration Add-On
    Lazy Load
    Make Your Site Social
    nginx Compatibility (PHP5)
    Posts 2 Posts
    Post Type Switcher
    Regenerate Thumbnails
    Relevanssi
    Users to CSV
    VaultPress
    Select W3 Total Cache W3 Total Cache
    WooCommerce
    WordPress Importer
    WP101
    wp mail from
    WP Newsletter
    WP RSS Images
    WP Smush.it

    Our platform is CentOS 6.
    PHP 5.3.8
    MySQL 5.0.95

    Any help would be much appreciated. This is killing us.

  2. dcloutman
    Member
    Posted 2 years ago #

    After much digging, this appears to be a problem with PHP itself. phpMyAdmin had similar issues writing to the same field, but I was able to hack the database to take longer content from the command line. I am still working with my host do diagnose this issue.

  3. dcloutman
    Member
    Posted 2 years ago #

    In our php.ini file, suhosin.post.max_value_length was set to 5000. That's 5000 bytes! Oops.

Topic Closed

This topic has been closed to new replies.

About this Topic