Forums

Is there a post size limit? (37 posts)

  1. henkholland
    Member
    Posted 2 years ago #

    Well, it solved my problem in 2.7.1. Never had the problem and today all of a sudden, long posts (with <pre> so many characters) showed up empty. Did not change anything and did the regulars like: no plugins, change theme, permalinks on default etc. Nothing helped where the same posts on my testsite with 2.8.4 were without problems. I cannot upgrade this week so for the moment I am saved with Otto's trick.
    Thanks.

  2. valkyrie66
    Member
    Posted 2 years ago #

    I wanted to do Ottos quick fix but where to put it?? I put the code he posted at the very top of the wp-config.php document, but obviously it was not supposed to go there as the code string showed up as text on the blog... so where does it go? Running WordPress 2.8.6.

    Thanks a million!

  3. henkholland
    Member
    Posted 2 years ago #

    Hi Valkyrie,

    I did put it just below DB Collate and before Authetication Keys:

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    
    /** Number of saved revisions; false = 0 */
    define('WP_POST_REVISIONS', 1);
    
    /** Trick for long posts */
    ini_set('pcre.recursion_limit',20000000);
    ini_set('pcre.backtrack_limit',10000000);
    
    /**#@+
     * Authentication Unique Keys.

    You also see the extra line for limiting the number of saved revisions to 1. Saves DB space.

  4. valkyrie66
    Member
    Posted 2 years ago #

    Thank you so much henkholland! That worked. Sometimes PHP gets the best of me.... :)

  5. xtole
    Member
    Posted 2 years ago #

    ini_set('pcre.recursion_limit',20000000);
    ini_set('pcre.backtrack_limit',10000000);

    This didnt solve my problem in v2.8.6 :( I'm copy/pasting a large table into a new page, doesn't work. If i reduce the number of cells to copy, it pastes and publishes great. Still running into a prob with text size limits.

    Searching for a solution...

  6. valkyrie66
    Member
    Posted 2 years ago #

    It did not solve it 100% for me either... it works most of the time, but once in a while I still have to replace the page with a new one (I keep a backup in dreamweaver) because I can no longer edit the page... really bites since it screws up analytics... but what can you do?

    Any permanent fixes to this??

  7. jdn605
    Member
    Posted 2 years ago #

    Lord i wish i could get this figured out... I have version 2.9.1, I've called Godaddy quite a few times, searched this forum and Googled.. I sure wish i could add more content to my page without it blanking out on me...

    Has anyone found a solid way to fix this.. I have linux php5.x

Topic Closed

This topic has been closed to new replies.

About this Topic