• I had a bit of a weird problem with the javascript for TinyMCE. It was cut off with two random characters just after the last real bit of code (something like e3 or b7), and would consistently cut off at the same place (about a third into the file – the javascript was from tiny-mce.js.

    After some fiddling about, I worked out that if I split the echo up using something like:

    $output = wp_compact_tinymce_js($tinymce);

    for($i = 0; $i * 1000 < strlen($output); $i++)
    {
    echo substr($output, $i * 1000, 1000);
    }

    It would output properly. This suggests to me that somewhere there is a buffer that is being overrun, that potentially I could get my host to increase the size of, but I wondered if anyone else has seen this.

    FYI, the error I’d get in firefox would be something like:


    Error: unterminated string literal
    Source File: http://www.gunfist.com/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20051211
    Line: 32, Column: 80
    Source Code:
    E.isGecko && tinyMCE.settings['remove_lt_gt']) {var re = new RegExp('<>', 'e3

  • The topic ‘Size of echo buffer/TinyMCE’ is closed to new replies.