• Hi, when i create a post, and than try to update with with
    a link/image or any html code, I end up getting an error on trying to publish/preview. Is there a size limit to the database?

Viewing 6 replies - 31 through 36 (of 36 total)
  • 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!

    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.

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

    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…

    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??

    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

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘Is there a post size limit?’ is closed to new replies.