Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have just fixed mine – in tiny_mce_gzip.php under wp-includes/js/tinymce, find LINE 131.

    if ((in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------'])) && function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))

    You can see the function exists part – which checks if the gzhandler exists and if not then it won’t try and use the disk cache. So, if we change the function name ob_gzhandler to ob_gzhandlerX it won’t find the function and therefor ob_gzhandler will not be used and therefore not make any problems. The only drawback with this is that it may run a little slower.

    if ((in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------'])) && function_exists('ob_gzhandlerX'/*FUNCTION WON'T EXIST*/) && !ini_get('zlib.output_compression'))

    I have just fixed mine – in tiny_mce_gzip.php under wp-includes/js/tinymce, find LINE 131.

    blockquoteif ((in_array(‘gzip’, $encodings) || in_array(‘x-gzip’, $encodings) || isset($_SERVER[‘—————‘])) && function_exists(‘ob_gzhandler’) && !ini_get(‘zlib.output_compression’)) {/blockquote

    You can see the function exists part – which checks if the gzhandler exists and if not then it won’t try and use the disk cache. So, if we change the function name ob_gzhandler to ob_gzhandlerX it won’t find the function and therefor ob_gzhandler will not be used and therefore not make any problems. The only drawback with this is that it may run a little slower.

    blockquoteif ((in_array(‘gzip’, $encodings) || in_array(‘x-gzip’, $encodings) || isset($_SERVER[‘—————‘])) && function_exists(‘ob_gzhandlerX’/*FUNCTION WON’T EXIST*/) && !ini_get(‘zlib.output_compression’)) {/blockquote

Viewing 2 replies - 1 through 2 (of 2 total)