Support » Fixing WordPress » Maximum amount of text??

  • Hi,

    There is something odd going on when I try to upload a page. It seems I am allowed to place only a limited amount of text on a page. When I exceed the limit, the text is truncated after I hit ‘Update’.

    I use WordPress as a CMS mostly, and have uploaded 500+ pages so far to the database. These include pages with lots of text, and if I try to update those, the text is truncated as well.

    After hitting ‘Update’, the status bar reads ‘Uploading (93%)…’ The percentage may vary, but it hangs at that point until I press Refresh.

    Please note that I am not talking images or megabytes, but text, and bytes. And it’s very strict with the amount of text that it accepts. One comma too many, and it is truncated.

    Has anybody ever heard about such a thing before? What could it be?

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • WordPress itself doesn’t impose any practical limits on the amount of text in a given page but you may be falling foul of an issue on your server. Either the server is overloaded and is simply timing out. Or you’re falling foul of the server’s security filter:

    If you change the text, does that make any difference to the truncation?

    Hi esmi,

    Yes, it does! Very strange.

    Aha! Now that does sound like a server security issue. The trick is to try and narrow down what word or phrase is causing the problem. In my experience, it’s usually something that’s quite innocent, so this might take some detective work. Once you have the culprit, you really have two choices:

    1. Avoid that word/phrase forever on this site.

    2. Contact your hosts and see if you can persuade them to reassess their security filters. It’s not unknown for them to go a little OTT with filters sometimes and end up causing more problems that they are trying to solve. Once in a while, you can even get them to admit this and make some changes.

    Hi esmi,

    Yes, I have read about this in the last couple of hours. Words like “from”, or “select”, and others are simply rejected. A workaround would be to add this code to the .htaccess file:

    <ifmodule mod_security.c>
    <files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off

    Indeed, this works for me; I can now post the full original page. I am just wondering about my security now. Do you have anything to say about that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Maximum amount of text??’ is closed to new replies.