«

»

Mar
11

WordPress Rich Text Editor (TinyMCE) not working….

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. :)


Kick It on DotNetKicks.com
No TweetBacks yet. (Be the first to Tweet this post)

Technorati Tags:

4 comments

1 ping

  1. Alex Walker says:

    Thank you!

    Thank you!

    Thank you!

    I’ve been struggling with this problem for months. Your fixed worked beautifully.

    Alex Walker
    Los Angeles, California

  2. Steve says:

    Just what I needed – works now :)

    Thanks mate!

    Steve
    Sydney, Australia

  3. Big Robby says:

    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

  4. Gaurav Dhaka says:

    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.

  1. Achmatim.Net » Visual Editor di Wordpress Bermasalah !? | Programming, Database, Web Development, Information Technology and Personal Blog says:

    [...] 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 [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>