WordPress.org

Support

Support » Miscellaneous » Post too long won’t display or preview

Post too long won’t display or preview

  • I’m having an issue where a post of mine get’s past 3,500 (approx.) words and stops displaying. I’ll delete a small chunk of the post (in the beginning or middle or end) and it’ll preview and post fine.. but if it’s too long it bugs it and show a blank page (title, and comments but no content…)

    Anyone help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    A link to your site would help.

    add at the top of wp-config.php following code:

    ini_set("pcre.backtrack_limit", 10000000);

    same issue here.. i tried ini_set(“pcre.backtrack_limit”, 10000000); .. and it doesn’t work. Other solutions ?

    FWIW I had a similar problem. I upgraded from php4 to php5, and then a large post on my blog wouldn’t display. I tried messing with memory, cpu and timeout settings, but nothing made it change. Then I found this page and made this change in my php.ini:

    < ;pcre.backtrack_limit=100000
    ---
    > pcre.backtrack_limit=1000000

    Restarted apache2 and now the post displays.

    FWIW,

    Morgan

    I had this problem with a post that had a lot of embedded video content. It seems to be that WordPress prefers to break long content over more than one page.

    SO – you need to use the <!--nextpage--> code to split your post into manageable chunks (see Codex).

    In the HTML view, just add <!--nextpage--> at the cursor wherever it works best for a page break. Simple and worked for me…

    There’s a discussion about this here too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post too long won’t display or preview’ is closed to new replies.
Skip to toolbar