After upgrading from CKEditor 6.x-1.3 to 6.x-1.4, fields I would usually edit with CKEditor disappear altogether (when editing nodes). I switched back to 6.X-1.3 and everything is working fine again.

I'm using Drupal 6.22, CKEditor plugin version 3.6, PHP 5.2.17 and MySQL database 5.1.53.

Comments

wiifm’s picture

Having the same issue with:
* ckeditor 1.4
* ckeditor lib 3.6.1

There is a javascript error in ckeditor.js (in the lib)

x is undefined
[Break On This Error] t.push(u?'>':' style="display:none">')...ownFn)e.removeFunction(v.keyDownFn);
ckeditor.js?I (line 92)

Reverting back to ckeditor 1.3 fixed the issue

iNade’s picture

Subscribing here, same as others. D20, ckeditor 1-4 & lib 3.6.1

rkolech’s picture

Same issue here, no editor when editing or creating new content. Started after the 6.x.1.4 upgrade. I am running:
* Drupal 6.22
* Ckeditor lib 3.6.1
* PHP 5.2.17
* MySQL 5.0.91

dczepierga’s picture

Hi,

Could you try go to Global config and save it...
Try to do this with all other profiles, this should help...

Greetings

mkesicki’s picture

Please clear drupal cache after update CKEditor module to new version.

iantresman’s picture

Can anyone else confirm that clearing the Drupal Cache at /admin/settings/performance will solve this?

mkesicki’s picture

I have no problems with new version and can't reproduce this issue. I have no js error or something like that after upgrade. Maybe you guys write what modules do you have installed , what errors in Firebug do you see and your OS, server version browser and so on.

drupalsteve’s picture

After updating to 6.x.1.4, I flushed all caches, and it's working.

vstmusic’s picture

Same problem here (after the upgrade to 6.x.1.4) :

-Drupal 6.20,
- MAC OS Snow leopard
- Chrome

1. Caches have been cleared;
2. CKeditor Profiles have been re-saved.

Please, what is the problem ?

rkolech’s picture

I can confirm that clearing the cache resolved the issue for me.

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

@vstmusic, could u check this on Firefox with Firebug installed and paste here all errors which u see there?
It will help us, and we try faster find solution for you...

Greetings

paultk’s picture

Version: 6.x-1.4 » 6.x-1.5

Also happened to me. Drupal 6.22 ckeditor 6.x-1.5
For me it turned out to be global settings forcing a simplified toolbar which didn't exist in my setup. I assume it could generalise to other problems with config.js.

Hacker’s picture

Also happening to me - after Drupal update to 6.22 and with 6.x-1.5, the edit fields depending on ckeditor are just blank. Occasionally, when a page is loading, there is a very brief flash of text in the area of the box, it might be the real content but it disappears too fast to be sure. Don't think there is any sign of the toolbars or anything during these flashes.

Clearing cache did not help, neither did checking/changing/re-saving a number of ckeditor config settings (only through Drupal, no direct editing of any config file).

Firebug gives the error below on any page load containing a ckedit box.

Any other ideas on how to fix this problem? Don't want to update other sites to 6.22 and not update other modules at the same time if I can avoid it (assuming that it was a 6.22 or ckeditor update that may have broken it) until I know how to fix it.

I had several other problems during the overall updates related to the Superfish update, and there were lots of jquery installs/disables/reinstalls to fix that, so it's quite possible I broke something along the way (though Superfish is now happy, and there are no status problems reported by Drupal). I have not yet tried downgrading ckeditor.

Thanks for any and all suggestions!

Added more information:
- Downgraded to 1.3, still same symptoms (including quick flash of editor text in place sometimes)
- Perhaps problem with jquery? Current version of jquery update is 6.x-2.0-alpha1, this was also upgraded at the time the editor stopped working (don't think I can downgrade because of other dependencies)
- Assume only option is to temporarily disable ckeditor module and revert to plain text editor until I find a workable combination?

Firebug Error on Page Load
====================

m.lang.contextmenu is undefined
init(m=Object { _={...}, elementMode=1, more...})ckeditor.js?I (line 49)
init(m=Object { _={...}, elementMode=1, more...})ckeditor.js?I (line 49)
t()ckeditor.js?I (line 25)
focusManager(y=true)ckeditor.js?I (line 22)
focusManager(l=[], m=function(), n=Object { timestamp="B5GJ5GG", version="3.6.1", more...}, o=undefined)ckeditor.js?I (line 22)
t(D=Object { about={...}, a11yhelp={...}, more...})ckeditor.js?I (line 25)
add(r=Object { dialogui={...}, panel={...}, listblock={...}})ckeditor.js?I (line 23)
add(u=[], v=[])ckeditor.js?I (line 23)
focusManager(y=true)ckeditor.js?I (line 22)
focusManager(l=[], m=function(), n=Object { basePath="plugins/", fileName="plugin", more...}, o=undefined)ckeditor.js?I (line 22)
add(j=["dialogui", "panel", "listblock"], k=function(), l=Object { basePath="plugins/", fileName="plugin", more...})ckeditor.js?I (line 23)
add(q=["dialogui", "panel", "listblock"])ckeditor.js?I (line 23)
add(r=Object { dialog={...}, styles={...}, more...})ckeditor.js?I (line 23)
add(u=[], v=[])ckeditor.js?I (line 23)
focusManager(y=true)ckeditor.js?I (line 22)
focusManager(l=[], m=function(), n=Object { basePath="plugins/", fileName="plugin", more...}, o=undefined)ckeditor.js?I (line 22)
add(j=["dialog", "styles", "styles", 36 more...], k=function(), l=Object { basePath="plugins/", fileName="plugin", more...})ckeditor.js?I (line 23)
add(q=["dialog", "styles", "styles", 36 more...])ckeditor.js?I (line 23)
add(r=Object { about={...}, a11yhelp={...}, more...})ckeditor.js?I (line 23)
add(u=[], v=[])ckeditor.js?I (line 23)
focusManager(y=true)ckeditor.js?I (line 22)
focusManager(l=[], m=function(), n=Object { basePath="plugins/", fileName="plugin", more...}, o=undefined)ckeditor.js?I (line 22)
add(j=["about", "a11yhelp", "basicstyles", 54 more...], k=function(), l=Object { basePath="plugins/", fileName="plugin", more...})ckeditor.js?I (line 23)
add(q=["about", "a11yhelp", "basicstyles", 54 more...])ckeditor.js?I (line 23)
add(l=["about", "a11yhelp", "basicstyles", 54 more...], m=function(), n=undefined)ckeditor.js?I (line 23)
add(x=Object { _={...}, elementMode=1, more...})ckeditor.js?I (line 25)
add(y="en", z=undefined)ckeditor.js?I (line 24)
focusManager()ckeditor.js?I (line 22)
focusManager(y=false)ckeditor.js?I (line 22)
focusManager(y="http://deosound.org/sit...or/lang/en.js?t=B5GJ5GG", z=false)ckeditor.js?I (line 22)
focusManager(y="http://deosound.org/sit...or/lang/en.js?t=B5GJ5GG", z=false)ckeditor.js?I (line 22)
focusManager()ckeditor.js?I (line 22)
[Break On This Error] w.push('< /tr>< /table>');return w.join(...Attribute(p)&&o.getAttribute(p)||'';

(Note the spaces between the tag open brackets and slashes for 'tr' and 'table' above were needed to allow the tags to display on this site, they are not there in real life.)

mkesicki’s picture

@Hacker can you check in Firebug net tab if all request are correct ?
I tested CKEditor library with Superfish module and there is no problem on my host.

caktux’s picture

Re-saving all profiles worked for me...

mkesicki’s picture

Problem with re-saving profiles should be fixed in latest DEV version please try it.

ZeiP’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

I'm having the same problem as previous writers: After upgrading from ckeditor-6.x-1.3 to 6.x-1.6 (and since then also to the latest 6.x-dev), the editor doesn't show up. All the resources load up fine according to the Firebug Net panel (including the CKeditor JS files), but in Console there is one error:
”x is undefined
/sites/all/libraries/ckeditor/ckeditor.js?P
Line 92”

The SW versions I'm using:

* Drupal 6.22
* CKeditor module 1.6 and dev
* CKeditor library (installed in all/libraries) 3.6.1

I have tried clearing the caches quite a many times, and have also re-saved the Global Profile.

Any ideas what could cause this?

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

@ZeiP have you run update.php (drupal script) after upgrade to new version of CKEditor module ?
After run this script clear all drupal cache. Do you have javascript, css files optimized or cache enabled in drupal ?

ZeiP’s picture

Status: Postponed (maintainer needs more info) » Active

I have run the DB updates (drush updb), and cleared the caches (drush cc all) multiple times. I had only site cache enabled. Disabling it and clearing the cache after that twice did not change the situation.

ZeiP’s picture

Removing ckeditor.config.js from the theme helped. Thanks for the replies!

ZeiP’s picture

I thought it might be about the clauses in the config, but it seems it isn't.

If I remove the ckeditor.config.js from the theme directory, the editor appears – If I have an empty file in the theme folder with the aforementioned name, it stops working. If I disable the ”Load ckeditor.config.js from theme path” option, it once again appears. So it seems that something about any existing custom config breaks it – this probably isn't normal? Can someone provide some pointers on what this kind of bug / feature might be about?

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

@ZeiP when you have this "Load ckeditor.config.js from theme path" option enabled do you see any errors in firebug console (Firefox add-on) ? Are all request correct (you can check this in firebug's net tab) ?

ZeiP’s picture

If the option ”Load ckeditor.config.js from theme path” is enabled but there is no ckeditor.config.js, no JS error shows up on Firebug console. But if ckeditor.config.js exists, Console shows the abovementioned error – no matter the content. Firebug Net tab shows no errors, all the loaded resources (including ckeditor.config.js) show up as 200 OK.

cduwe’s picture

The same issue: Drupal 6.22, CKeditor 1.6 (haven't tried dev).
In FF + Firebug, the net reports a 404 on plugin.js (it is also correctly captured in the Drupal Error Log) the issue is the path generated by CKEditor. My path should be
http://www.example.com/effectsdrop_dev/sites/all/libraries/ckeditor/plug...
but instead, the path generated by the module is:
http://www.example.com/effectsdrop_dev/effectsdrop_dev/effectsdrop_dev/e...

I've tried going to admin/settings/ckeditor/editg and modifying the values there and resaving but that has no effect. (w/ a drush cc all afterwards)

I've tried going to admin/settings/ckeditor/edit/Default and resaving, clearing cache but no change.

mkesicki’s picture

Status: Postponed (maintainer needs more info) » Needs work
mericone’s picture

Updated from 1.3 to 1.4 and had the same problem.
Went to general settings (admin/settings/ckeditor) and saved each profile again while defining the editor appearance worked perfect for me.
Of course I cleared all caches before. You don't need ckeditor.config.js anymore as you can set it with a new drag and drop feature in ckeditor's settings (editor appearance).

avner’s picture

same problem her,
d6 with latest dev version problem remains the same, no ckeditor,
tried saving profiles with no luck

seems this problem is permissions related since when logged in as uid 1 there is no problem

avner’s picture

Priority: Normal » Major

changing priority to major since this bug makes the module unusable

avner’s picture

not sure why but it seems that this issue is resolved if more than on text area is present,
as a workaround for now i added a textarea field and hid it with CSS