Updating to the new version available today seems to have broken my installation of CKEditor. It gives me the error:
CKEditor was not found in ./modules/ckeditor/ckeditor/
If I copy the files into that folder, it says:
CKEditor was not found in ./modules/ckeditor/ckeditor/ckeditor/
And so on. I tried copying them into Modules, Sites/All/Modules... Nothing seems to matter. It just says it can't find it, even though it picks up the version number and everything. The interface no longer shows up when creating content.
I tried rolling back to the previous version, but now that gives the same error as well.
Comments
Comment #1
wwalc CreditAttribution: wwalc commentedWhat is your path to CKEditor in the Global profile?
admin/config/content/ckeditor/editg -> "Path to CKEditor"
Write what do you have in the textfield and what is written in the description below (Current path: xyz)
Also let me know if "Local path to CKEditor" is empty in your case or if you have set anything there.
Helper questions: did you remove the old module together with CKEditor (the editor) while updating? I want to understand how did that happen.
Comment #2
Caldrumr CreditAttribution: Caldrumr commentedPath to CKEditor: %m/ckeditor
Right now, it says Current Path: /modules/ckeditor/ckeditor/ckeditor because I was copying it into the folder, as I mentioned in my ticket. Before, it has always been under Modules/CKEditor. Now it seems to want it under Sites/All/Modules/CKEditor? I tried copying it there, with the same result.
I just did a simple update from the Update tab, under Reports, Available Updates. After the update, it stopped working. I've never had any issues with it before.
Thanks.
Edit: Yes, Local Path is empty.
Comment #3
thanasis57 CreditAttribution: thanasis57 commentedI installed CKeditor as described in http://docs.cksource.com/CKEditor_for_Drupal/Open_Source/Drupal_7/Instal...
According to the process we get the ckeditor container module from Drupal site (e.g.
drush en -y ckeditor
) and we get the editor itself from the developer site at http://ckeditor.com/download.That zip file is to be unpacked at
sites/all/modules/ckeditor/ckeditor
, i.e. in a subdirectory of the module directory.During update of the module the ckeditor subdir is deleted.
After update I had the same problem. I downloaded the zip file of the ckeditor, (re)unpacked at it at the ckeditor/ckeditor subdir and everything works just fine (so far).
Comment #4
Caldrumr CreditAttribution: Caldrumr commentedThanks Thanasis! You got me on the right track there. I re-downloaded that package, and installed it to modules/ckeditor/ckeditor and it works now. Odd how an update deleted critical data. Thanks again!
Comment #5
Caldrumr CreditAttribution: Caldrumr commentedComment #6
thanasis57 CreditAttribution: thanasis57 commented@Caldrumr
Don't mention it!
Actually, thanks to your question I realized that it was actually my (our) fault and that that the designers of the module took that into account.
As you can see at
admin/config/content/ckeditor/editg
, there are options for the ckeditor library path:So we should move the ckeditor library directory to
sites/all/libraries
, set the path at%l/ckeditor
and updates should no longer bother us!