.Net Development & General Tech Related News

WordPress Rich Text Editor (TinyMCE) not working….

March 11th, 2008 Posted in WordPress

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
Share this Post:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DotNetKicks
  • Reddit
  • StumbleUpon
  • TwitThis
No TweetBacks yet. (Be the first to Tweet this post)

Technorati Tags:

Tags:

  1. 5 Responses to “WordPress Rich Text Editor (TinyMCE) not working….”

  2. 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

  3. By Steve on Jun 19, 2008

    Just what I needed – works now :)

    Thanks mate!

    Steve
    Sydney, Australia

  4. By Big Robby on Feb 14, 2009

    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

  5. By Gaurav Dhaka on Nov 17, 2009

    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. 1 Trackback(s)

  2. Nov 19, 2009: Achmatim.Net » Visual Editor di Wordpress Bermasalah !? | Programming, Database, Web Development, Information Technology and Personal Blog

Post a Comment