May 01 2008
Last update:

Firefox Won't Work with FCKEditor or TinyMCE

Filed under: Content Management Systems » Drupal, Software » FCKEditor, Web Applications,
 

Editor Loads in IE but not in Firefox

Firefox is a wonderful browser, streamlined, fast, efficient, and secure. But it can turn into a slow, inefficient resource hog when too many poorly designed extensions and addons are installed. In this case, the problem is that the TinyMCE or FCKEditors (WYSIWYG = What You See Is What You Get) editors would load fine in IE, Mozilla, and other browsers, but not in Firefox. At first it appeared that this issue was specific to the FCK and TinyMCE drupal modules, but then it turned out that not even the demo's on the FCKEditor and TinyMCE pages would work. In other words - FCKEditor and TinyMCE work fine in recent versions of all the major browsers. The problem below is a result of a conflict with other extensions:

JavaScript Errors

In my JavaScript Console the following errors would repeatedly occur when trying to load a page (such as the FCKEditor demo page) with FCK text area fields:

 

Error: navigator.appVersion.match(/MSIE (.\..)/) has no properties Source File: http://www.<domain-name>.com/modules/fckeditor/fckeditor/fckeditor.js Line: 144 </domain-name>

Tiny MCE also experienced two different JavaScript errors that I would have to reproduce to post here.

The Solution - Fresh Firefox Profile

The solution involves a Fresh install of Firefox, and in some cases a new profile. If a re-install of the Firefox executable (into a new folder) does not solve your problem, you may need to reinstall your profile. First back it up by renaming the "Firefox" folder (instead of deleting it) to "Firefox-bak" in the following folder:

C:\Documents and Settings\USERNAME\Application Data\Mozilla

Need to Organize? Visit Shoeboxed.com (Affiliate)

 

This is for Windows systems - replace USERNAME with your username. Now when you reinstall Firefox a new profile will be generated and you should no longer experience the above error. Please post any comments or questions below.

Your rating: None Average: 3.4 (49 votes)
Your rating: None Average: 3.4 (49 votes)
Email this page PDF of this page Print this page
Leave a comment
(2)



The problem is not that js

The problem is not that js is being incorrectly interpreted in Firefox, it's that various extensions and add-ons interfere with FCK. Basically what you need is a fresh install of Firefox. However, simply re-installing the executable will not get you a fresh profile. The above method does this, while backing up your old profile, and let's you start from scratch.

What's the point of that?

Hi, i have the problem that IE could show the editor but now the cms login does not work anymore (in IE) in all other browser i tried (Opera, Firefox) the login and everything works, but in Opera i simply get a textarea for the FCKEditor and in Firefox i simply get nothing... After just doing what you wrote above i started thinking that this is absolute crap.. renaming a folder which is accessed by try-catch-create if renamed or deleted simply let's you miss all your settings and cache information not more... so what should that change in the problem that js is not correctly interpreted by the browsers ?

The content of this field is kept private and will not be shown publicly.
 

We use this trick question to try and prevent automated spam comments.