FCKeditor & Firefox 3.6

With the release of Firefox 3.6, those of you who interact with FCKeditor will note that it ceases to work, giving you instead a textarea. This is because in the browser sniffer, FCK ignores all browsers made in 2010 or later – such as Firefox 3.6. I can’t speak for any other versions, but in the Cold Fusion version, there’s a really simple fix:

  1. Locate fckutils.cfm, located in the root folder in the install.
  2. On line 47, edit the line that reads
    stResult = reFind( “gecko/(200[3-9][0-1][0-9][0-3][0-9])”, sAgent, 1, true );
  3. Edit the reFind to read:
    stResult = reFind( “gecko/(20[0-9][0-9][0-1][0-9][0-3][0-9])”, sAgent, 1, true );

This will give you another 90 years. Which should be plenty of time to find a replacement, particularly as the new CKeditor is now out, and doesn’t have this issue.

3 Replies to “FCKeditor & Firefox 3.6”

  1. I found a fckeditor.cfm. I could not find fckutils.cfm… The line did not appear. I am very confused and i could not fix the problem. please help!!!

  2. I found this line on fckeditor.cfm:

    // try to extract IE version
    stResult = reFind( “msie ([5-9].[0-9])”, sAgent, 1, true );

    May I change “msie ([5-9].[0-9]” part for “gecko/(20[0-9][0-9][0-1][0-9][0-3][0-9] ” part?
    Thanks in advance

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.