• 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 15 replies - 16 through 30 (of 36 total)
  • Please see my post at https://www.ads-software.com/support/topic/298853?replies=18#post-1204777 . I detail my fixes for this and other issues, everything is now working fine.

    Same here … also, short code seems to be the issue … As if there is a limit to how much short code you can insert without being specified anywherhe.

    It is bothersome. The php.ini is only an option where one has access to it. i don’t so I need a fix that does not involve tweaking php.ini

    This is definitely an issue that I’m having. This was with the default, freshly installed Word Press. I didn’t start using another theme until after I got tired trying to figure out what was not allowing me to post, just giving me a blank page.

    It doesn’t seem to be a set amount of words either. I tried posting 15,061 Words (81,789 Characters) and it didn’t work. But if I posted 12,042 Words it would work as long as I used <!–nextpage–>. I did another post with 16,213 words and it worked with <!–nextpage–>.

    I’d prefer that I didn’t have to use nextpage. It does seem that if I’m using pictures then that limits how many words I can post even more.

    In my case, large posts, when displayed, where blank (no text). I had some shortcodes, not a lot.

    I read the explanation at https://www.undermyhat.org/blog/2009/07/sudden-empty-blank-page-for-large-posts-with-wordpress/ that UBenzer indicates… however, for me the solution was to COMMENT OUT the preg_rep line in formatting.php, rather than uncommenting. I am using WP 2.8.4.

    when I add an empty post with 15 caption shortcodes, the page comes up. (ie upload via media manager 1 image and copy inserted code one by one.)

    when I add the image a 16th time, post blanks out on me.

    One caption image with a 10.000 character blind text works. With 20.000 it blanks out. One caption image with 17 1000 character paragraphs is fine … add another it blanks out. Add another caption image to the 17 1000 character paragraphs, it blanks out.

    This is not nice at all.

    Hey, Cabaa … thanks, that works for me 2. Let me know if you notice any weird behavior.

    Same problem here. Extremely irritating. Is there some fix for this?

    Length of post is the only variable that seems to make a difference for me. Short is ok. Anything over several thousand words, which is most of the articles I am posting, and I get hung up trying to save, edit, or preview.

    JCV

    (@psykonevro)

    I experiment also this bug. Seems to be quite generalised.

    Shouldn’t we open a bug? How could one open a bug?

    Shouldn’t this be sticked?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Quick fix: Add this to your wp-config.php (at the top):

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

    Might work. Might not.

    This is an extremely rare problem, so no, I don’t think it should be stickied. Not much WP can do about it anyway, it’s a PHP setting thing.

    Thanks Otto, your suggestion worked. I can now insert text AND images, hit ‘publish’ and no more blank pages !

    I used <!–nextpage–> to break up pages, which solved my ‘excess text’ issue. I placed your code in my config and I can now insert images freely.

    This has been keeping me up at night for two weeks so I thank you most kindly for the ‘fix’

    Regards,
    Cat

    Otto42 wins the prize. He’s so modest: “Might work. Might not.”

    Yeah, well it works!

    Thanks!

    Lee

    (@diondeville)

    Otto42, thank you so much.

    My post just disappeared after I had updated it and only the comments showed, I wondered what was going on; I thought I’d been hacked or had incorrectly edited my page’s HTML. Took a few minutes to twig that the issue was related to a post size limit; and that was only because I noticed the preview page showed the post but the direct URL of the page didn’t show it.

    Perhaps WordPress could include an editable Post Size Limit setting in the Dashboard.

    Again, thank you for providing a solution.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    diondeville: WordPress has no inherent post size limit. The solution I gave above changes a couple settings in your PHP installation to up the limit for regular expression parsing.

    Under normal circumstances, the setting should not be needed. In some special cases, on special setups, the shortcode parsing routines can hit a default limit in the PHP installation. That code above ups the limit, a lot. Downside: It could make your blog quite slow sometimes. But not usually.

    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.

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