• Resolved whoopie

    (@whoopie)


    Currently when I publish or preview a post that exceeds approx. 500 words all I get is the title of the post and a blank page. If I decrease the word count the post publishes or previews correctly.

    Can anyone tell me which wordpress file and line of code controls that?

    I’ve heard that increasing the whitespace recursion limit will increase the number of words that a post can contain. But I have no idea where that line of code can be found or what value to enter.

    Many thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • There is no word count limit on posts, as in the database it is stored as longtext. This can stored up to 1 trillion characters, will far exceeds what is necessary to store a 500 word post.

    This could be something specific to your theme? Are you using one you’ve developed/modified yourself or have you purchased/downloaded one from the internet somewhere?

    Thread Starter whoopie

    (@whoopie)

    Oh, sorry, I forgot to mention I’m using the Aparatus theme.

    What version of WordPress?

    Thread Starter whoopie

    (@whoopie)

    3.2.1 (latest and greatest, updated the day it became available)

    Could you activate the Twenty Eleven theme briefly and see if the problem persists? That way we can rule out it being a theme specific issue or not.

    Thread Starter whoopie

    (@whoopie)

    I passed that along to my partner (who designed the site). We’ll let you know the result.

    He just brought my attention to the fact that we have several posts with word counts as high as 970 that display perfectly on the frontend.

    However one post with a word count of 383 fails to display.

    Stranger still we found a post that had a word count of 580 that displayed perfectly last week when it was originally published, but now won’t display.

    The more we investigate this issue the weirder it seems to get. The site’s been up for 8 months without any problems.

    Webhost perhaps? (GoDaddy)

    Check your database via phpmyadmin, run a repair table on your wp_posts table. Sometimes the table just needs to be fixed. This could be what is causing your seemingly random display issues. The not displaying of posts could be simply not being able to retrieve it from the db.

    If that fixes any rows, run a repair table on the remainder of the database just to ensure the integrity of the db.

    Thread Starter whoopie

    (@whoopie)

    Thanks, now that you mention it there was an MySQL server error at GoDaddy last week. Our site and another site we know that also uses GoDaddy was down for about an hour.

    We’ll add that to our troubleshooting list.

    Thread Starter whoopie

    (@whoopie)

    Ok, my partner switched themes and checked the posts that wouldn’t display with Aparatus and they still don’t display. So we can rule out a theme related problem (and why would a such a problem suddenly appear after working well all this time).

    My partner doesn’t want to mess with installing phpMyAdmin. So until we get more clues that start to point to a specific cause, we’ll do nothing (rather than risk inducing more confusion to an already confusing situation).

    Thanks for your time and help harmack

    As you’re on GoDaddy (or any hosting account), they should have this tool available to manage your database without having to install this.

    It definitely sounds like it is the database issue, and if the table is corrupt, then it’s possible the new posts you’re adding are not storing properly.

    It is something you should resolve sooner rather than later.

    Thread Starter whoopie

    (@whoopie)

    harmck…my partner discovered the problem. Once he disabled the SEO Autolinks & Related Posts plugin, the problem disappeared and pages are loading much faster.

    Apparently he was experimenting with it last week to see if it would improve internal linking and forgot to disable it when he was done.

    Brilliant, delighted your problem is fixed.

    All the best in the future.

    Thread Starter whoopie

    (@whoopie)

    Yup, marked problem RESOLVED.

    Thanks again for your time.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to increase word count limit in posts?’ is closed to new replies.