Hello,
I have installed CKEditor and configured the settings in Drupal, however, I cannot get the module to load when I go to create new content. Instead, the typical text box is missing and nothing is there. However, there is a link to "Switch to Plain Text".
Furthermore, upon initially installing CKEditor and going to create new content, the UI loaded for the rich text editor, however, it never loaded again after that. I was so confused by this that I deleted all the files and settings I had saved, cleared and cache, and reinstalled the module. Again, the CKEditor text box worked the first time I went to create new content, however, after that it never loaded again...
I am having the same issue in both FireFox and Chrome.
What do I have wrong?
| Comment | File | Size | Author |
|---|---|---|---|
| #36 | Screen shot 2011-03-01 at 11.53.21 PM.png | 43.98 KB | braun1700 |
| #36 | Screen shot 2011-03-02 at 12.14.08 AM.png | 58.78 KB | braun1700 |
| #33 | CKEditor.jpg | 111.66 KB | taffylass |
| #22 | 2011-01-26_1438_IE_wysieyg_working.png | 162.95 KB | wb2bwu |
| #10 | 1019950_patch1.patch | 1.32 KB | dczepierga |
Comments
Comment #1
bhead commentedI am having the same problem as well. I have verified the install. On top of that I have asked another webmaster to look at the files looking for an error. Neither of us can find the problem.
Comment #2
Pillhuhn commentedYep, same happens to me... PLEASE FIX! :)
I would just like to add that clicking the 'Switch to plain text editor' doesn't do anything either...
FCKeditor works...
Comment #3
dczepierga commentedPls give more info... I can't reproduce this...
Write modules list with versions that u use or pls PM me and send address to your Drupal site with login and password - then i will check that and could said what are u doing wrong or where is a bug.
Greetings
Comment #4
gcybill commentedSo, it is not just me.
I have used CKEditor on Drupal 6.19 few months ago, and it works!
But now when I setup for a new website using Drupal 6.20, with the same CKEditor module and core, it just doesn't work. Maybe there's some Drupal textarea-related update between Drupal 6.19 and 6.20 that put CKEditor into crash.
Comment #5
gcybill commentedjust a reply to update the status.
Comment #6
gcybill commentedOne of the difference that I could spot between my CKEditor on Drupal 6.19 and on Drupal 6.20:
6.19 CKEditor UI Color Picker on CKPicker profile which show: "Click on the UI Color Picker button to set your color preferences.", doesn't show up on the 6.20 CKEditor.
This means the CK toolbar just doesn't affecting the textarea anymore.
I have tried installing CKEditor 3.4.2, 3.4.3, 3.5 using module ckeditor-6.x-1.2. None were working.
Hope this info helps.
Comment #7
wwalc commentedDoes Firebug show any error?
Comment #8
gcybill commentedFirebug error on CKEditor profile page:
CKEDITOR is not defined
[Break On This Error] CKEDITOR.on( 'dialogDefinition', function( ev )
ckedit...in.js?K (line 1)
Comment #9
gcybill commentedOk, I don't know if this help. PHP Version were different when I check each server config
My working CKEditor is on PHP version 5.2.13
My failing CKEditor is on 5.2.14
Comment #10
dczepierga commented@gcybill, try this patch and pls write that solved your problem
Really thx for all informations, it's help a lot... :)
Comment #11
gcybill commentedwell.. that solved the error status shown by Firebug.
but still the ckeditor toolbar didn't show just yet.
the problem: why the CKEditor is undefined.
Comment #12
dczepierga commentedCould u check source in profile editing and find that ckeditor.js is loaded?
Do u have cache or optimize (Performence section in Drupal) enabled? If yes try to disable it and clear cache.
Comment #13
gcybill commentedNo cache, no optimize, just page compression enabled. Already clear cache
As Advanced profile, authenticated user using USER-1
Advance option > load method = ckeditor.js
still doesn't work.
Comment #14
dczepierga commentedBut when u view source of the page, have u got line similar to this?
It should be in the top of page source.
Comment #15
gcybill commentedOk i've found solution for my problem.
I change the load method (Advance option > load method) from ckeditor.js to ckeditor_basic.js and it works now. Maybe the ckeditor.js conflicted?
Works on for the content description, but the manual select UI color on admin CKEditor profile still doesn't work. But I don't mind.
Thanks for the support ;)
Comment #16
dczepierga commentedCould u write modules with version that u have enabled?
Comment #17
gcybill commentedmodule 6.x-1.2
version, i forgot whether it is 3.4.2, 3.4.3, or 3.4.5, I've tried them all today.
Comment #18
James Butler commentedI was having the same problem with CKEditor in an upgrade from 6.20 to 7.0. I went into advanced options and selected ckeditor_basic.js load method and it starting working. Then I went back into advanced options and switched the load method back to ckeditor.js and it continues to work. So switching between the two had some affect if you are having this problem still.
Comment #19
dczepierga commentedOk really thx for solution. I will check that, and try to fix it.
Greetings
Comment #20
Pillhuhn commentedAnother interesting observation: I was logged off of my site over the weekend, and Monday, after logging back in, the CKeditor worked once. However, in subsequent tries it did not load anymore.
Really weird.
Comment #21
dsklyar@anl.gov commentedIn my case, the problem was caused by the ImageCache module - I disabled it and all is good.
Comment #22
wb2bwu commentedI am finding that ckeditor and other wysigwyg editors are not working in firefox, chrome but is working in IE. Not sure why but this issue is happening on multiple platforms including windows 7, vista and xp. I am running the latest version of IE on all machines. I attached a screen shot from a page creation window in IE to show how the editor buttons are shown. This isn't happening in Firefox or Google Chrome.
Comment #23
Pillhuhn commentedIn response to wb2bwu: this doesn't seem to be true on a Mac. I tried to run the site in Safari and Camino and with both browsers, the CKeditor will show up the first time but not anymore on subsequent edits...
Comment #24
tc43 commentedI'd like to second Pillhuhn's problem. Exactly the same issue. Initial page load is fine, any subsequent pages I try and edit the editor is missing.
Comment #25
tc43 commentedIt seems it may be a server issue??? as a local environment works fine. For a work around I've used wysiwyg with the yui editor and it works without a hitch, loads on all pages. Would idealy like to use CKeditor but for now....
Comment #26
physiotek commentedsame here.
just noticed it yesterday.
i dont have any idea when it stopped working.
my last update (my last ckeditor use) on my website is around one month old and everything was ok at that time.
Comment #27
Pillhuhn commentedI tried downloading the newest development release including the newest CKeditor, but still the same. However, this time I can provide the error messages Firefox is giving me. Maybe/hopefully this will help someone to fix it:
There are three errors (I replaced my domain name with '...'):
Error: The stylesheet http://.../node/1/skins/kama/editor.css?t=B1GG4Z6 was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://.../node/1/edit
Line: 0
Error: syntax error
Source File: http://.../node/1/lang/en.js?t=B1GG4Z6
Line: 1
Source Code:
Error: m.lang.contextmenu is undefined
Source File: http://.../sites/all/modules/ckeditor/ckeditor/ckeditor.js,qI.pagespeed.ce.JrWpU7pNrb.js
Line: 47
Comment #28
taffylass commentedHi there, I am a newbie and complete beginner. Glad I found this
Have recently installed CKeditor. Was adding products to my drupal site, everything going well then suddenly the description box was gone, just a blank space where it should be. Have checked the ones that were there and they have gone to. Now also unable to add Basic Page/Blog etc also.
Have recently had to reinstall everything (including drupal via Softaculous) and am loathe to do it again. Have checked status report and nothing seems untoward.
Any ideas, have already gone through previous posts to see if this helps but am still none the wiser, please give me idiots guide in your response!
Thanks in advance, Tracy :)
Comment #29
anandharaj commentedHi,
I also experiencing the same problem. The CKEditor is not load at all in the text area. I also tried change it to "ckeditor_basic.js", but still same.
Furthermore, i change my site to default Drupal theme - still same.
The log shows the following Notice:
Notice: Undefined index: 4 in ckeditor_profiles_compile() (line 424 of /modules/ckeditor/includes/ckeditor.lib.inc).
Comment #30
schnecksche commentedHi there,
I'm experiencing this problem as well. The CKEditor doesn't seem to load and the text area stays blank.
I've already tried the suggestions from the included TROUBLESHOOTING.txt:
- checking the source for "ckeditor" : { "module_path" :,
- switching to Garland theme,
- disabling any modules and switching to Garland theme (as well as clearing my browser's cache), but nothing worked. (I also tried 3 different browsers, Firefox, Chrome and Opera.)
After stumbling upon this post, I also tried changing the load method to ckeditor_base.js, but that didn't work for me either.
However, upon loading I get an error in Firebug that says "m.lang.contextmenu is undefined" at line 47 in ckeditor.js. Could this be the problem? And what could be the reasons? Or: What have I done wrong during the installation and configuration process?
Any help would be greatly appreciated!
Comment #31
zamek commentedGreetings,
I had the same problem. I tried all of the suggestions mentioned above with no success. For me the problem was corrected by enabling "Optimize JavaScript files" in admin/settings/performance - very odd.
Hopes this helps someone else.
Comment #32
Pillhuhn commentedThanks zamek for contributing. I am glad that this worked for you. Unfortunately, enabling "Optimize JavaScript Files" did not work for me... still the same issue...
Back to FCKeditor again...
Comment #33
taffylass commentedAdded in screenshot for info.
T.
Comment #34
dczepierga commentedPls use the DEV version of CKEditor module, there everything seems to work good.
Greetings
Comment #35
Pillhuhn commentedNope, I installed the latest dev version (11-02-28) and the latest CKeditor (3.5.2), but still the same: the editor loads on the very first edit page I go to but the entire edit field stays empty on every subsequent try.
Here again are the error messages Firefox is giving me in the error console:
Error: syntax error
Source file: http://my-domain.com/node/2/lang/en.js?t=B1GG4Z6
Line: 1
Source code:
----------
Error: The stylesheet http://my-domain.com/node/2/skins/kama/editor.css?t=B1GG4Z6 was not loaded because its MIME type, "text/html", is not "text/css".
Source file: http://my-domain.com/node/2/edit
----------
Error: m.lang.contextmenu is undefined
Source file: http://my-domain.com/sites/all/modules/ckeditor/ckeditor/ckeditor.js,qI....
Line: 47
Comment #36
braun1700 commentedSo, I was having a similar problem but managed to fix it. When I would try to add new content, the body and summary form would essentially disappear like the screenshot in the original post. Firefox worked fine, but Chrome was basically giving me the finger. The problem for my particular (local) site was merely conflicting modules. I looked at the source code and couldn't find the JavaScript for CKEditor, and that's when I noticed something else that kept popping up every few lines. I had the LABjs module installed (http://drupal.org/project/labjs) and I wasn't using it so I disabled it... CKEditor miraculously works again.
I'm extremely new to all aspects of web design, so I won't be of much use as to explaining how LABjs was affecting CKEditor. I have just started learning about HTML, CSS, etc., so I don't even know how that module works exactly (I had installed it to play with it but forgot to get rid of it once I realized I didn't know what I was doing with it). But... my guess would be that since it changes the way JavaScript is loaded it was screwing up how Chrome was processing how CKEditor wants to function on the page. Even though you're probably not using LABjs (being that the project page says only 53 sites are using it), instead of disabling the millions of modules you have enabled to look for the problem, I would create a new test site on a local server and enable CKEditor and see if it works. If it does, then it's likely that another module is causing the problem, as was for my case. If it does work, then just add any modules you're suspicious of and test them one by one or by combinations and see if any of that causes CKEditor to start acting up again.
Hope this helps. I'm virtually worthless right now in most cases, but I figured I'd practice the good karma card and throw out another potential solution. Attached are some screenshots of before I disabled LABjs and after I dumped it.
Comment #37
taffylass commentedIgnore this comment, posted in error.
Comment #38
jaymallison commentedI had this problem with the normal 1.0 and the 1.x dev on a site I'd upgraded from Drupal 6 to Drupal 7. In the end it was a stupid problem. I just cleared my browser's cache and did a ctrl+r in FF to reload everything and now it works fine.
Browsers have a bad habit of stubbornly caching AJAX related JS / CSS files, and it's highly likely that the JS file from a previous version of CKEditor could be staying in the cache and breaking things.
Comment #39
physiotek commentedeverything is back to normal for me. i really dont know what i did to correct this bug. maybe cache related? would like to be more helpfull but i tried so many things i dont have a clue what did the job. there's something else i noticed tho. after ckeditor was back to normal, the image browser wasn't properly working. i had an issue with image cache so the first thing i was trying to do with ckeditor was to add an image to work out the issue. but when i was clicking insert nothing happened. i havnt found this bug listed. i finally found out that all i needed to do is click on the body text box before trying to add an image. when someone add some text before trying to add an image there is no problem. the problem happens only when the first thing you try to do is add an image. it's like if ckeditor is not activated before you click into the box. hope it might help someone. cya. pht3k
Comment #40
tc43 commentedIssue solved for me by below post on pagespeed. Looks like it may solve others like Pillhuhn
Hope it helps
http://drupal.org/node/1024316Comment #41
Pillhuhn commentedWow, thanks tc43, that is it!
I disabled mod_pagespeed for my domain on Dreamhost (called 'Page Speed Optimization') and now, the CKeditor loads flawlessly on every page.
I hope the developers have an idea what the reason is and that they fix it soon.
Comment #42
dczepierga commentedI closed this issue, because we start talk about another bug which is only related with bug fixed in this issue.
For mod_pagespeed bug i create new issue here: #1095908: CKEditor not load when Apache mod_pagespeed is enabled.
Greetings
Comment #43
lyosef commentedI've been struggling with the problem of an empty text box and Ckeditor for several months now. During this period I have found several solutions which failed later when more modules and content was added to my site. I have built and rebuilt my site several times over due to the failure of the Ckeditor. I have searched, trouble-shot, tore-down and re-built and yet the problem persist. I have invested 60-70 hours a week of study and application of Drupal during the last year and now I think I may have to start all over with another CMS. (IF I CAN KEEP MY JOB after wasting so much of my (and my employer's time).) Would someone please recommend another method for users to submit content and upload images? I'm really desperate and the job market is not looking so good!
Comment #44
lyosef commentedComment #45
thebeacon commentedFor me what fixed it is disabling "Aggregate JavaScript files." in Drupal 7 on Performance page
Comment #46
slickk commentedI tried the solution on http://www.neebar.com/2011/11/drupal-ck-editor-module-not-loading/ and it worked for me.
Comment #47
misscosmic commentedMy problem seems very clear. There is no ckeditor.js in the ckeditor folder I downloaded. Drupal warns to have this ckeditor.js. Where can I download this missing file! Then my problem will be solved (wish wish).
Comment #48
mkesicki commented@misscosmic please open new ticket with your issue.
Comment #49
gaxze commentedGoing to throw my solution in - havent read all comments but as i had the same thing...
i previously enabled the php filter, this is the reason the filter is not showing for me.
solution for me:
goto: admin/config/content/ckeditor/edit/Full
ensure that which ever profile u use has php filter ticked in basic settings>import formats.
Comment #50
gusantor commentedEven when I can see the file, with 644 permission to it and ckeditor parent folder
sites/all/modules/ckeditor/ckeditor/ckeditor.jsI'm receiving a 404 error trying to get it
For me, the only way to get CKEditor working was to edit the global options at /admin/config/content/ckeditor/editg
there use the CDN option for CKEditor path field
cheers