After 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.
4 comments
1 ping
Alex Walker says:
May 31, 2008 at 10:11 am (UTC -5)
Thank you!
Thank you!
Thank you!
I’ve been struggling with this problem for months. Your fixed worked beautifully.
Alex Walker
Los Angeles, California
Steve says:
June 19, 2008 at 8:13 pm (UTC -5)
Just what I needed – works now
Thanks mate!
Steve
Sydney, Australia
Big Robby says:
February 14, 2009 at 7:45 am (UTC -5)
I experienced the same problem on my Maine web designer blog, but only while using MailPress… I found that Cforms was conflicting… Thankfully in the global settings of Cforms there’s a section called “WP Editor Button Settings”, and under it there is a ‘fix’ checkbox. Click it and you’re all set!
I wrote this because I found this post when I was looking for a solution! Thanks for leading me in the right direction.
Big Robby
http://bigrobby.com
Gaurav Dhaka says:
November 17, 2009 at 12:07 pm (UTC -5)
Thats a gud solution. But I prefer the other solution of replacing the previous tinymce editor which you get with the wordpress blog with it’s full version. The full version gives you much better functionality and features and it does not give any problem again ever. So if you are installing a new wordpress website, it is much better to replace the old version with the new fully functional download. You can get more information on my website.
Achmatim.Net » Visual Editor di Wordpress Bermasalah !? | Programming, Database, Web Development, Information Technology and Personal Blog says:
November 19, 2009 at 5:37 am (UTC -5)
[...] browsing di internet mengenai permasalahan tersebut, ternyata memang banyak juga yang mengalami. Salah satunya menyatakan bahwa permasalahan muncul karena dukungan yang belum sempurna terhadap proses kompresi dalam editor [...]