Title: Broken Visual Button, stuck at Code Button
Last modified: August 19, 2016

---

# Broken Visual Button, stuck at Code Button

 *  [godofcomics](https://wordpress.org/support/users/godofcomics/)
 * (@godofcomics)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/)
 * This is what happened to me, on all my 3 wordpresses:
 * [http://hellgate.vault.ign.com/drivinginsane.jpg](http://hellgate.vault.ign.com/drivinginsane.jpg)
 * It doesnt matter how many times I click on the Visual button… it is just DEAD…
   I am stuck with the code tab forever… (see image).
 * I have three sites with different templates, and they are all with the same problem.
 * **What have I done:**
 * **1- **Loged out, loged in, Turned On and Off the profile option to use and not
   use the enhanced editor.
    **2- **Cleared my browser cash, even tested on different
   computers. Tested on Opera, Firefox, IE 6, IE7 and Safari. All the same. **3-**
   Searched on this forum, and nothing helps me on fixing. **4- **Re-Sent ALL the
   files from the latest WordPress 2.3.1 version and replaced all the files, and
   even that did not fix. **5- **Changed my Templates for the classic template and
   the other default template, and they are the same…
 * **6- It was working perfectly for a month after I installed the WordPress. Then
   the Visual tab died, so I updated to the latest version 2.3.1 and the Visual 
   editor was fixed… Then again, after a few weeks… BAM… I got Stuck again.**
 * I run out of ideas… there has to be something you guys can do, help!!! Please!

Viewing 7 replies - 16 through 22 (of 22 total)

[←](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/?output_format=md)
[1](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/?output_format=md)
2

 *  Thread Starter [godofcomics](https://wordpress.org/support/users/godofcomics/)
 * (@godofcomics)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670474)
 * 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?
 *  [pozek](https://wordpress.org/support/users/pozek/)
 * (@pozek)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670475)
 * 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();
 * }
 *  [krofinzki](https://wordpress.org/support/users/krofinzki/)
 * (@krofinzki)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670477)
 * 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](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.
 *  [neeonline](https://wordpress.org/support/users/neeonline/)
 * (@neeonline)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670483)
 * 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.
 *  [ilnickiap](https://wordpress.org/support/users/ilnickiap/)
 * (@ilnickiap)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670484)
 * 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
 *  [hambergk](https://wordpress.org/support/users/hambergk/)
 * (@hambergk)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670488)
 * 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.
 *  [wahmprintshop](https://wordpress.org/support/users/wahmprintshop/)
 * (@wahmprintshop)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670494)
 * 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.

Viewing 7 replies - 16 through 22 (of 22 total)

[←](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/?output_format=md)
[1](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/?output_format=md)
2

The topic ‘Broken Visual Button, stuck at Code Button’ is closed to new replies.

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [firebug](https://wordpress.org/support/topic-tag/firebug/)
 * [gone](https://wordpress.org/support/topic-tag/gone/)
 * [switch](https://wordpress.org/support/topic-tag/switch/)
 * [tab](https://wordpress.org/support/topic-tag/tab/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 9 participants
 * Last reply from: [wahmprintshop](https://wordpress.org/support/users/wahmprintshop/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/broken-visual-button-stuck-at-code-button/page/2/#post-670494)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
