After updating to 2.x, I'm finding that ckeditor isn't loading/displaying anymore. Upon inspecting things in the console, I found these errors:
- [CKEDITOR.resourceManager.add] The resource name "default" is already registered.
- plugin.jsFailed to load resource: the server responded with a status of 404 (Not Found)
- [CKEDITOR.resourceManager.load] Resource name "picture_ckeditor" was not found at "/sites/all/modules/picture/plugins/plugin.js?t=E3OD".
http://domainhere.com/sites/all/modules/picture/plugins/plugin.js?t=XXXX
The path is incorrect based on the current version 2 module folder structure which has a "ckeditor" folder and no "plugins" folder in the modules' main folder level. The correct path would be:
http://domainhere.com/sites/all/modules/picture/ckeditor/plugins/plugin.js?t=XXXX
Disabling Picture and first Flexslider Picture worked to bring back poor CKEditor. This error and the Colorbox Node error are killing my ability to implement Picture in a few sites I'm working on now.
Thanks for your time!
A few keywords to help people debugging ckeditor:
ckeditor disappeared
ckeditor disappears
ckeditor is gone
where did ckeditor go
I lost my ckeditor
ckeditor not working
ckeditor won't work
ckeditor won't show up
ckeditor picture error
Comments
Comment #1
deanflory commentedComment #2
deanflory commentedComment #3
attiks commentedComment #4
greenskin commentedIt looks like the path defined in picture_ckeditor_plugin() needs to include the base_path().
Comment #5
mgwisni commentedHaving the same problem after updating from Picture 1.5 to 2.0. I'm guessing it has something to do with this:
The code there looks correct, but CKEditor is still looking for where the plugin used to be in version 1.5 (plugins/plugin.js).
EDIT: Short term solution for me was just copying the plugins folder into the Picture directory.
Comment #6
attiks commentedI'll ask Jelle to have a look, I assume you're using the latest version of ckeditor with wysiwyg api?
Comment #7
deanflory commentedIf you're asking me, I'm not using the WYSIWYG module if that's what you're referring to, but I am using what was the latest version of the CKEditor library at the time of the original post.
Comment #9
jelle_sFixed in latest dev (run update.php)
Comment #10
deanflory commentedThanks for your time and effort Jelle_S!