• I really hoped 2.1.1 was going to fix this, but alas not.

    I get the titular error when trying to write a post or page with the ‘Visual Editor’ on.

    I’m fairly sure it’s something to do with the GZIPing of the relevant JS file(s), but changing the GZIP option makes no difference to this problem.
    GZIP option does affect the main blog as it should (confirmed via whatismyip.org).

    Same problem in IE6/7/Firefox2.
    I’ve not done anything to the .htaccess file, nor any server settings.

    Host is Dreamhost. Blog address: https://blog.carbon-360.com/

    Any help will be much appreciated.

Viewing 4 replies - 46 through 49 (of 49 total)
  • wow, I checked out Bastischubert’s suggestion, and that worked for me!!

    then i discovered that the problem was a blank line after ?> in the wp-config.php which produces an empty line of output and screws up the gzip detection stuff, rss feeds and so on.

    and that worked for me!!! I had an editor that inserted linefeeds when I edited wp-config.php.

    I have to admint this is a weird one. I have a server with multiple virtual hosts all running similar installs of WP2.3.3. All are installed and updated the same way, apart from some minor variations in plugins. The visual editor broke on one site, while it was still working on others.

    A couple of things worked for me and in the end I went for Octav’s solution of commenting out

    Scriptaculous.load();

    in /wp-includes/js/scriptaculous/wp-scriptaculous.js.

    The other solution that also worked for me was opening /wp-includes/scriptloader.js and replacing “tiny_mce_gzip.php” with “tiny_mce.js”

    … and then I entered the twilight zone… Checking through the files, I found that I had actually edited the wp-scriptaculous.js file for the site that worked! The file on the site that had the problem was back to its original state. In between changes I had refreshed an edit window from both sites. Checked the access/error logs but nothing unusual there. I’ve now undone all changes and the editor is still working! ???

    Linux FC6, Apache 2.2.6.1, php 5.1.6-3.7, mysql 5.0.27-1

    ozbigben – Success, you’ve hit the nail on the absolute head.

    I’m running WP 2.3.3 on two brand new, clean installs – new databases, entirely new domain names, on my own server. There was nothing obviously wrong, yet the visual editor didn’t work. Not great when I wanted a few authors…

    So, I have tried for the past 48 hours every single solution suggested on here. a lot of them don’t even apply to 2.3.3, and its amazing how many times people are being told to “check the visual editor box” etc – it’s quite clear that this is an issue suffered by many.

    Just take the following steps:

    1. Edit /wp-includes/scriptloader.php (not .js, but who’s splitting those hairs eh?) in notepad or whatever.
    2. Find “tiny_mce_gzip.php” and replace with “tiny_mce.js” reload your browser (a cache clear and/or closing and restarting it may be required also). For me, this got everything going.

    Sweet relief.

    But without problems like this, my life would be so dull, and my desk wouldn’t have those lovely fist (and forehead) shaped impressions…

    Oops… yes it is scriptloader.php ??

    The only difference I can think of in my case is that I had made some mistakes editing the template for the site which resulted in some sql errors. Whether this is significant or not I don’t know, but the problem arose after the errors only on the subdomain that had the sql errors and not on the other sites… and my WP configuration is now back to it’s original settings and it’s working again (still).

Viewing 4 replies - 46 through 49 (of 49 total)
  • The topic ‘realTinyMCE is not defined’ is closed to new replies.