Problem solved. I think this is the same thing happening to all others having this trouble. The solution:
Server:
“Our servers automatically GZIP all output, so if an application such as WordPress tries to GZIP it as well, problems are caused like this one.
If you disable GZipping in your application’s configuration it should start behaving correctly.”
Anyone knows how to turn off gzip compression inside WordPress?
You can try remove or comment this lines from the file tiny_mce_gzip.php, for me it works fine. I use WordPress 2.3.2
// Check if it supports gzip
if (isset($_SERVER[’HTTP_ACCEPT_ENCODING’]))
$encodings = explode(’,’, strtolower(preg_replace(”/\s+/”, “”, $_SERVER[’HTTP_ACCEPT_ENCODING’])));
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;
}
// Use cached file disk cache
if ($diskCache && $supportsGzip && file_exists($cacheFile)) {
if ($compress)
header(”Content-Encoding: ” . $enc);
echo getFileContents($cacheFile);
die();
}
I had this error message in firebug
realTinyMCE is not defined
http://mywebsite.com/blog/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20070528
Line 44
and commenting the lines as advised by pozek solved it. Maybe there should be some option in the settings to disable gzipping of stuff in the future?
Note: Disabling “WordPress should compress articles (gzip) if browsers ask for them” did not solve this problem.
Hey All!
Commenting out line 89 in wp-includes/js/tinymce/tiny_mce_gzip.php:
// $supportsGzip = true;
The problem will be solved (not resolved).
If that works, your web host zip/gzip configuration is incorrectly. Contact your admin / owner host and call to check these configurations.
When the host zip/gzip configuration Finnish, remove comment at line 89 in the file.
I hope to help you.
Neeo, for Brazil.
this FINALLY was the answer I needed — the removing spaces in my Plugins worked for a couple days, just long enough to screw my brain up…. THANK YOU SOOOOO MUCH for bringing an end to my week of searching for the answer.
COMMENT LINE… 89!!!!!!
(it rhymes too)
😉
-ai
Had the same problem, however I was able to fix it by changing back to the original theme. Something in my theme seemed to have corrupted the text editor.
well, I have this problem as well now. I am running WordPress 2.5.1 and I do not have the file tiny_mce_gzip,php
Commenting out line 89 in wp-includes/js/tinymce/tiny_mce_gzip.php:
// $supportsGzip = true;
So how do I solve the problem for mine?
line 83 ‘tinyMCE’ is undefined on myblog.com/wp_admin/new-post.php
Would love any help if you have it.