finally!!! I got TinyMCE to work in WordPress
Man, what a frustration! I couldn’t get TinyMCE to work on my WordPress installation, doesn’t matter how hard I have tried.
So, I have googled & searched the WordPress forums, until I finally found something here: Link to article. According to the article, it has something todo with how TinyMCE uses zgip for compression. So, by chaning a line in the code, the problem is solved
Basically, you need to edit the following file: wp-includes/js/tinymce/tiny_mce_gzip.php and then change the code as follows:
[php]
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’) {
[/php]
Change the line above to the following:
[php]
if ((in_array(‘gzip’, $encodings) || in_array(‘x-gzip’, $encodings) ||
isset($_SERVER['---------------'])) && function_exists(‘ob_gzhandler’)
&&; !ini_get(‘zlib.output_compression’) &&; get_settings(‘gzipcompression’)) {
[/php]