Hi,
I've upgraded fckeditor and he doesn't show up anymore....
I've read al lot of issues but didn't find a solution to my problem.
In IE, when i edit a page , IE warn me there is an error in my page : FCKeditor is undefined on line 46...
the source code of my page :
I realy don't understand what's wrong....
I tried to reinstall, flush caches, change options.... nothing happens
Greg
Comments
Comment #1
gregius commentedComment #2
sloat commentedI had this same problem. The script tag for loading fckeditor.js was unexpectedly moved from $scripts to $head. So if your theme outputs $head after $scripts, or $head just isn't output, then it isn't loaded before the code you posted is run.
Comment #3
gregius commentedeuuuh,
I don't realy understand... when i look at the source code, the script i reported here above is between a script open and a script close but is also included in head tags like other scripts...
Is that the problem? should he move between head and body tags?
If yes, how to do that?
thanks
Comment #4
gregius commentedI've made some research... and looked at these solutions : http://drupal.fckeditor.net/troubleshooting#1
I changed my theme into garland... it works... but i don't understant why it doesn't work with my theme.
It werked before i updated FCK...
i looked at the source code of the same page in garland or in my theme... i see no difference related to fck...
only difference i see on the page is that in garland there is the possibility to switch to plain text editor... but i think this is related to the fck... if he doesn't load, he won't give me the possibility to change it cause i'm already in plain text editor...
It can't be incompatibility with modyles because it works with garland...
Help
Greg
Comment #5
Jorrit commentedTry to disable the Javascript optimization and then list all javascript includes that are in the HTML output of your website.
Comment #6
Jorrit commentedDo you have any news on this issue?
Comment #7
Jorrit commentedWhat theme are you using?
Comment #8
bsheaff commentedI posted this somewhere else, I had the same problem today.
To get my theme to work I added a script tag with the insides:
type="text/javascript" src="/drupal/modules/fckeditor/fckeditor/fckeditor.js?I"
To my page.tpl.php file, before all the other javascript.
basically I was not getting the fckeditor.js into my template and I could see that when I switched the theme to
Garland that it was there.
This fixed it for me.
Comment #9
chicagotech commentedIt appears FCKeditor module is adding a line in pages that looks for the file fckeditor.js in the /sites/all/modules/fckeditor/ folder, rather than the /sites/all/modules/fckeditor/fckeditor/ folder, which is where the instructions say to put the fckeditor downloaded files. To fix this, if you downloaded and placed the files as instructed, after enabling the module, navigate to Admin / FCK Editor / Global Settings and add the next level "/fckeditor" to the "Path to FCKEditor" field. This worked for me.
Comment #10
gregius commentednone of these solutions worked for me.
It still doesn't actives itself in my theme.
Another strange thing happens : when i want to create a page, and my default theme is bluemarine, it automatically changes to my problematic theme... and so FCK doesn't load...
any ideas why this happens?
thanks
Greg
Comment #11
Jorrit commentedThe issue in #10 may be related to the setting of an administration theme. Please see /admin/settings/admin at your Drupal installation.
Comment #12
Jorrit commentedComment #13
mstrelan commented#2 Solved the problem for me!
Comment #14
dashah commented#2 Solved the problem for me tooo! Thanks