Hello FCKers
I have a few sites (on the same host) that use FCKeditor. Yesterday I changed my directory structure so that they all use the same copy of FCKeditor to make it easier to update etc., with just one copy.
After I changed this I noticed that sometimes FCKeditor wont display, (browser is FF3). In firebug I get two errors when the editor tries to display:
FCKLang is not defined [...] fckeditor/editor/fckeditor.html?InstanceName=content&Toolbar=Default Line 203
FCKLang is not defined [...] fckeditor/editor/js/fckeditorcode_gecko.js Line 99
Its funny because sometimes I can get the editor to work on a site, and sometimes not. I have had it working on every site though. Could it be something to do with javascript cookies that FCKeditor uses ?
EDIT: Just tested, if I close the browser and fire another one up, the editor will work.
FURTHER EDIT: Tested again, and now the editor is NOT displaying after a browser restart. I didnt change anything between the last two tests so its a bit baffling.
Re: Multiple sites on same host, editor sometimes not displaying
I have half solved this problem by copying all the language files back to the lang/ directory. I had deleted them all except en-uk.js to make it smaller.
As soon as I copied the language files in, the editor worked again. I deleted them to test it... and it still works, even after a browser restart and Ctrl+F5 ?
Maybe something was cached somewhere to do with my old directory structure, or an older version of FCKeditor.