I'm having a problem with FCD Editor in Drupal 6.x system. It works perfect in all browsers except IE. I use IE 7 browser. In IE it shows a link to enabled rich text editor, but when I click on that link it gives me this error message:
Line: 1778
Char: 9
Error: 'oFCK_1' is null or not an object
Code: 0
URL: http://my.site.com/?q=node/add/story
I get the message only in some page themes, in basic Drupal theme (Garland) for example, it works.
Going through themes code I couldn't found any major diferences in codint except page layout and css styling. All the rest seems to be the same and FCK still doesn't work.
Comments
Comment #1
wwalc commentedhttp://drupal.fckeditor.net/troubleshooting#1
The other solution is that your theme contains a javascript error.
If there is a problem with a GPL theme listed here: http://drupal.org/project/Themes let me know and I'll check it.
Comment #2
jureb commentedThanks for the answer.
I've already try to go through http://drupal.fckeditor.net/troubleshooting#1 and I have
print $scripts;in the head section andprint $closure;near the end.My theme is an upgraded (from version 5.x to 6.x and a bit modified one of: http://drupal.org/project/golden_hour
The upgrade that I've made is here: http://sdb.oratorij.net/oratorij/golden_hour.zip.
If yuo can check my upgrade for an error I'd be glad.
Comment #3
jureb commentedIf nobody gives me the answer I give it to you:
In the Drupal basic theme file (page.tpl.php) there was a css id named "menu"
div id="menu"
In IE 6 the name "menu" was making a coflict with something else and I've got a Javascript error message.
So I simply changed the id name from "menu" to somethin else - e.g. "top-menu" and it works perfect.
Like this:
div id="top-menu"
By
Comment #4
wwalc commentedThanks for the info! I suppose it wasn't easy to find it.