• Resolved astrothomas

    (@astrothomas)


    I’m creating some pages which are written in UTF-8 Chinese, some of these pages are rather long.
    The problem is that sometimes the whole page becomes empty, no content is shown at all, even though I can still see the page normally on my visual or html editor. I’ve had numerous tests, and it seems that the only likely factor conditioning this error is the number of characters on the page.
    i’ve tried to disable all the plugins, it didn’t work. i’ve tried to delete letters one by one, and save and reload the page in each step, and it did seem to me that when the page exceeded a certain number of characters the error occured…

    so… is that any way for me to fix this? thanks…

    my page is here: http://www.experience.hk/iran-2009/day-4/
    if i add 2 more characters to this page the whole page becomes empty…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter astrothomas

    (@astrothomas)

    it’s not about the chinese characters. I tried it again with latin letters and the same error occured once the content was too long.

    Thread Starter astrothomas

    (@astrothomas)

    I’ve traced the source code and found that it was this line which produced the error:

    formatting.php line 153:
    $pee = preg_replace('/<p>\s*?(' . get_shortcode_regex() . ')\s*<\/p>/s', '$1', $pee);

    after i commented this line out everything worked perfectly. before a more complete bug fix is available this is my workaround.

    Chris_K

    (@handysolo)

    When you check your web server’s error logs, what errors show up when you run into this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page becomes empty once the content exceeds a certain number of characters’ is closed to new replies.