realTinyMCE is not defined
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: http://blog.carbon-360.com/
Any help will be much appreciated.
My issue was resolved by removing all the plugins.
Am in the slow process of bring them back one by one, but haven’t found the culprit yet.
Did your issue stay resolved? Or has the problem returned?
I found that CTRL-REFRESH sometimes fixes the missing MCE problem, but then if I refresh repeatedly, the problem comes back.
I noticed something else this morning while repeatedly refreshing the Create Post page.
Sometimes, the visual buttons are redrawn before the other elements on the page. Sometimes they are redrawn last. Most of the times they never appear (unless I shift-refresh). Shift-refresh is slower, but usually (but not always) results in the buttons being visible; sometimes it acts just like a refresh.
I did a side-by-side comparison of the “bad” page and “good” page using firefox’s DOM inspector. Here’s what I found:
1) The “good” page has 2 extra elements at the very end of the body tag:
<div id="mc_menu_0" class="mceMenu">...</div> <div id="mc_menu_1" class="mceMenu">...</div>
2) The “good” page has an extra span inside of the last div within #postdivrich:
<span id="mce_editor_0_parent" class="mceEditorContainer">...</span>
There might be other differences, but those are the two ones I noticed.
I guess the next steps are to find out:
Okay, I found the code for adding the mce elements. It’s in wp-includes/js/tinymce/tiny_mce.js. That’s a huge file, with huge functions, and prototyping, which I’ve never used. I think we’ll need someone familiar w/ prototyping if we’re going to try to debug it.
In case you are wondering, WordPress 2.1.3 does not fix the problem. I get the same disappearing visual buttons after upgrading.
This is not a WordPress problem, per se. See, WordPress 2.1 started including the scriptaculous scripts as part of the default package. But a lot of older plugins and themes also included versions of these scripts, since older versions of wordpress did not have them. These differing versions interfere with one another, and one of the pretty common occurrences are the problems you are describing.
In my case, Theme Switcher (http://386a.net/wordpress/theme-switcher/) messed things up.
Hi, thanks for the info!
After reading the responses to this topic, I decided to check my Firefox Ad-Ons. I ran the updater and saw that there is a new version of NoScript. I updated NoScript (to 220.127.116.11) and restared Firefox…
I’ll restart Firefox and try again to see if I can get the MCE buttons to disappear. Unless you hear back from me today, you can assume that I wasn’t able to reproduce the problem anymore.
Even if I have 100% success today, I’ll post another update again here in a few days to let you know if the success rate is still 100%. If so, then maybe the problem was NoScript. Maybe. I’ll keep you posted!
tripecac, you’re right… It was after all FF’s NoScript fault. I had to keep refreshing the page too to get tinyMCE back. Changelog from NoScript’s site:
For me, ImageManager was the conflictual plugin. Desactivating all my plugins brings back the TinyMCE editor. I don’t quite understand though cause I started using ImageManager et Wp-Lightbox together and all was working fine. Now I get the same error as you guys as far as I keep IM activated.
I just updated NoScript to 18.104.22.168 on another PC and the MCE buttons are working there too. Yay! So, problem solved (hopefully!)
For me, I am having this problem ALL of a sudden.
I tried FireFox, Safari, IE on Mac and Windows and it does not go away.
Even when I deactivate all of my plugins, the problem still exists.
I have a friends blog that I can use fine and get the rich editor.
Here is what I have determined:
2. This <fieldset id=”postdivrich”> is also missing in mine
I totally deleted all of the files and reposted my blog and the problem still exists.
Anyone have any ideas??
- The topic ‘realTinyMCE is not defined’ is closed to new replies.