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

wwalc’s picture

What 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.

Caldrumr’s picture

Path 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.

thanasis57’s picture

I 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).

Caldrumr’s picture

Thanks 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!

Caldrumr’s picture

Status: Active » Closed (fixed)
thanasis57’s picture

@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:

Available placeholders:
%b – path of the Drupal installation ()
%m – path where the CKEditor module is stored (/sites/all/modules/ckeditor).
%l – path to the libraries directory (/sites/all/libraries).

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!