WordPress Rich Text Editor (TinyMCE) not working….
March 11th, 2008 Posted in WordPressAfter some more playing around with my blog today, I realised that the rich text editor including with WordPress (TinyMCE) was not displaying at all. After some more searching, it became obvious that this again was not a problem unique to myself. Did some digging around and the fix is as follows;
In the tiny_mce_gzip.php file located in /wp-includes/js/tinymce/tiny_mce_gzip.php you need to add the line in bold after the code shown below.
if ((in_array(’gzip’, $encodings) || in_array(’x-gzip’, $encodings) || isset($_SERVER['---------------'])) && function_exists(’ob_gzhandler’) && !ini_get(’zlib.output_compression’) && ini_get(’output_handler’) != ‘ob_gzhandler’) {
$enc = in_array(’x-gzip’, $encodings) ? “x-gzip” : “gzip”;
$supportsGzip = true;
}
$supportsGzip = false;
It would appear that this is again due to the server which you are hosting WordPress on, but this time, down to the fact that it does not handle gzip properly. Anyways, that line fixed everything and now I have a fully working editor.
Tags: WordPress



2 Responses to “WordPress Rich Text Editor (TinyMCE) not working….”
By Alex Walker on May 31, 2008
Thank you!
Thank you!
Thank you!
I’ve been struggling with this problem for months. Your fixed worked beautifully.
Alex Walker
Los Angeles, California
By Steve on Jun 19, 2008
Just what I needed - works now
Thanks mate!
Steve
Sydney, Australia