Every thing works ok till I upload a file or an image. After I save the node, if I try to edit it, the ckeditor doesn't show.
I've installed the version 7.x - 1.2 previously and this issue happend, and now that switched to version 7.x-1.x-dev still ocurrs.
Any idea?

#2 error.PNG34.03 KBKardinal7


mkesicki’s picture

Status:Active» Postponed (maintainer needs more info)

do you see any errors in Firebug console (Firefox add-on) when editor doesn't show up ?
Please write us what other modules do you have installed and what theme do you use ?
In which browser do you have this problem or maybe ckeditor doesn't show up in all your browsers?

Kardinal7’s picture

new34.03 KB

I've installed these extra modules:
Google Analytics
SMTP Authentication Support
Nice Menus
Site Verification
And the error's that appear are these ones:

"NetworkError: 404 Not Found - http://my-syte.com/misc/jquery.cookie.js?v=1.0"
uncaught exception: script.aculo.us requires the Prototype JavaScript framework >= 1.6.0
a()jquery.js?v=1.4.4 (linha 43)
a = Document edit?destination=admin%2Fcontent&render=overlay
b = undefined
d = undefined
add()jquery.js?v=1.4.4 (linha 57)
a = Document edit?destination=admin%2Fcontent&render=overlay
b = "state:disabled"
d = function()
e = undefined
unbind()jquery.js?v=1.4.4 (linha 74)
d = "state:disabled"
e = undefined
f = function()
(?)()states.js?v=7.4 (linha 349)
$ = function()
states.js?v=7.4()states.js?v=7.4 (linha 416)
[Parar Neste Erro] "none"});a=function(r){var A=t.createE...e=a.nodeType,f=e?a[c.expando]:null,h=
jquery.js?v=1.4.4 (linha 43)
$.cookie is not a function
anonymous()jquery.js?v=1.4.4 (linha 34)
anonymous()jquery.js?v=1.4.4 (linha 27)
anonymous()jquery.js?v=1.4.4 (linha 75)
anonymous()overla...s?v=1.0 (linha 299)
anonymous()jquery.js?v=1.4.4 (linha 36)
anonymous()jquery.js?v=1.4.4 (linha 64)
anonymous()jquery.js?v=1.4.4 (linha 58)
[Parar Neste Erro] z,j[z])===false)break}else for(v=j[0];...)return v;return-1},merge:function(j,
jquery.js?v=1.4.4 (linha 34)

mkesicki’s picture

You can try disable your module one by one and check when CKEditor stop working. I think this is conflict between CKEditor and one of your modules.

Kardinal7’s picture

At this point I believe I'm in a worst position than before. Now the ckeditor doesn't load at any time. I've updated to drupal 7.7, updated to ckeditor 7.x-1.x-dev, and installed the version 3.5.2 of ckeditor package.

In the source file it shows the editor script:

<div class="form-textarea-wrapper resizable"><textarea class="text-full ckeditor-mod form-textarea" id="edit-body-und-0-value" name="body[und][0][value]" cols="60" rows="20"></textarea></div>

<a class="ckeditor_links" style="display:none" href="javascript:void(0);" onclick="javascript:Drupal.ckeditorToggle(['edit-body-und-0-value','edit-body-und-0-summary'],'Switch to plain text editor','Switch to rich text editor',0);" id="switch_edit-body-und-0-value">Switch to plain text editor</a><fieldset class="filter-wrapper form-wrapper" id="edit-body-und-0-format"><div class="fieldset-wrapper"><div class="filter-help form-wrapper" id="edit-body-und-0-format-help"><p><a href="/filter/tips">Mais informação acerca de formatos de texto</a></p></div><div class="form-item form-type-select form-item-body-und-0-format">

  <script type="text/javascript" src="http://www.my-site.com/sites/all/modules/ckeditor/includes/ckeditor.utils.js?lppa0r"></script>
<script type="text/javascript" src="http://www.my-site.com/sites/all/modules/ckeditor/ckeditor/ckeditor_basic.js?lppa0r"></script>
<script type="text/javascript">
CKEDITOR.loadFullCoreTimeout = 0;

At this point I really don't know more what to do.

mkesicki’s picture

I think that your issue is related with other module that you have installed. You probably have some conflict between some modules. Try use CKEditor module on fresh drupal installation and after this add modules which you need one by one.
In you previous post there is an error

NetworkError: 404 Not Found - http://my-syte.com/misc/jquery.cookie.js?v=1.0"
uncaught exception: script.aculo.us requires the Prototype JavaScript framework >= 1.6.0
a()jquery.js?v=1.4.4 (linha 43)

This looks like problem with jquery and jquery.cookie plugin. Please check this and give us an info.

jimbaer’s picture

I had a number of jquery cookie loading failures, traced to my host, who was using Apache Mod_security. This blocked loading of files containing the word "cookie". Removing the security module cured the problem.

As a temporary fix, in "performance", aggregate the js files - then there's no cookie name!

If this fixes it, you have your answer.

jooblay.me’s picture

Hey Drupal
Ok we have the same issue stated here and here it looks the Apache Mod_security could be a fix.

Is anyone having any luck with this?

Next step for us is to start looking one by one through the hay stack of modules to find a conflict.

mkesicki’s picture

Status:Postponed (maintainer needs more info)» Needs review

@lesseen thx for notice this.
Guys please check this and give a note here.

jooblay.me’s picture

Here is more information on what we have done on ckeditor and the Admin Bar disappearing.

1. Under edit tab on book page drupal 7.8 {note this also happened since drupal 7.4} the following happens.
A. Administration bar breaks {disappears.}
B. Ckeditor disapears. {CKEditor 7.x-1.3} under both Body and Summary.
aa. Note this is only on book pages that have file or image attachments to them.
C. File Attachment works. Though we have had issues with the AJAXs cannot 'call' method.
aa. Note this is a file attachment that we added in the books content type.
ab. The source of these symptoms only show up after uploading a file or image as noted above.
D. Drupal does not throw any error at any point and or in any location such an error may show up.
Notes: This appears only as we can see on the edit page [Tab] of books. Both ckeditor and our Admin Bar work normally on all other content types.

Fix Attempts:
1. At this point we have disabled as many modules as we can with out causing major functionality issues and the site not working at all.
2. We have un-installed ckeditor in many forms and different ways.
3. Cache and update.php have been run and cleared multiple times both while enabling modules and disabling them.

Current status:
The books are still not able to be edited using ckeditor and the Admin bar is still broke on the edit tab of any book with a file attached.

blasthaus’s picture

just to note that I was having a similar problem using 7.x-1.1 version of ckeditor on a drupal 7.0 site:
clicking to UPLOAD a custom file field made ckeditor disappear temporarily, drop all its content, and then reappear completely empty once the file showed up on the node edit page.

i'm not using a whole lot of modules here but i was able to get it to work by upgrading to the 7.x-1.3 version of ckeditor. additionally i was not encountering the problem on a localhost using 7.x-1.2 and drupal 7.0

i might add that in both my cases online and localhost, the editor does infact disappear for a brief moment when uploading or removing a file within the node edit screen and changes to html markup and the standard body field, however the editor comes back on and all content remains and is not lost.

jooblay.me’s picture

We are getting all these same symptoms on all product pages as well using UberCart, Anyone else getting these?

DrupalUP Nasty 4sure:)

jooblay.me’s picture


Ok Drupal Crew we may have this one.

We fixed this issue by enabling /box/ Aggregate JavaScript files]. This is done in the admin/configuration/development/performance then scroll to the bottom and select both of those boxes and then "save". For good measure we then cleared the "cache".

This has cleared all symptoms on ckeditor and the admin bar in both books and products of ubercart. See #10 for more info on how nasty drupal got.

In closing we are still testing this but it seems to be cleared up. This also includes attaching files and images to books and other content types.

DrupalUP Clear

genox’s picture

In my case, LinkIt was the culprit. Firefox console shows this after uploading a file:

settings.linkit is undefined:

In general, I think this isn't related to JS aggregation but generally to a module's JS throwing errors while the editor refreshes after a file upload or mod_security related issues. This could be the new "Error: 0".. ;-)

edit: upgrading to the latest 2.x-dev of link it solved that for me.

SharonD214’s picture

Awesome - #13 fixed it for me!


greatdane’s picture

Thanks lesseen! (#13) this fixed CkEditor 1.6 which kept disappearing when a file or image was uploaded. It's been working fine for 4 or 5 weeks now.

mkesicki’s picture

Status:Needs review» Needs work
cachacundi’s picture

I Found this page that resolve my problem :


The page says :
1. change the file name jquery.cookie.js to jquery_cookie.js
2. modify : modules/system/system.module file replacing in the code misc/jquery.cookie.js to misc/jquery_cookie.js

Well i know is not good practice hacking core, but worked for me
I hope is usefull

rintoug’s picture

Many Thanks @jimbaer , it was pulling my leg for a while. I resolved this issue with aggregating css and js files. But I don't think its permanent solution. Yea really this server always showing errors for cookie related things

Anybody have an idea how to solve this ?