Fix for WordPress TinyMCE Editor Problem
June 19, 2008 – 5:17 pm by coachwei | Category Tips |If the visual editor (TinyMCE) in your newly installed Wordpress is not showing up, this maybe a solution to your problem.
[your site]/wp-includes/js/tinymce/tiny_mce_config.php - if you don’t get a screen full of garbage and errors here, this post is not for you. You have a different problem.[wp-includes/js/tinymce/tiny_mce_config.php]. This file will compress the tinymce.js files (over 200kB) using gzip and save the compression result to [wp-content/uploads/js_cache] for future loading). There are various posts you will see from the web such as:WP 2.5 - WYSIWIG Problem - TinyMCE does not start..
2.5 and TinyMCE not working in visual mode
Visual Editor Not Working on Upgrade
2.5 Visual Editor/TinyMCE problems
These posts suggest you modify [tiny_mce_config.php] to turn compression off as a solution to the problem.
[tiny_mc_config.php] is actually working fine doing what it is supposed to do, but the content encoding is not set correctly when sending response to the browser. The browser doesn’t recognize that the returned content is "gzip" content.[php.ini] file. Find your php.ini and check to see if zlib.output_compression is set to be “off”, make sure zlib.output_compression = OnRestart your apache Http server and reload [your site]/wp-includes/js/tinymce/tiny_mce_config.php in your browser, now you should see regular javascript showing up. Then the visual editor should be working from now on.
One Response to “Fix for WordPress TinyMCE Editor Problem”
great tip. thanks!
By jay on Jun 21, 2008