I tried to change the default directory of CKEditor, instead of sites/all/modules/ckeditor/ckeditor to /sites/all/libraries/ckeditor.

I've changed the configuration at admin/settings/ckeditor/editg, to new paths as following:

Path to CKEditor: %l/ckeditor

and

Path to CKEditor plugins dir: %l/ckeditor/plugins

Flushed the cache (drupal and browser), reinstalled the module and i tried to edit a node, but... no editor for me :(

It's seems that CKEditor path is working, but the path to plugins is not. Looking at errors at firefox, i'm getting the following error:

Erro: uncaught exception: [CKEDITOR.resourceManager.load] Resource name "tableresize" was not found at "/sites/all/modules/ckeditor/ckeditor/plugins/tableresize/plugin.js?t=B5GJ5GG".

The error above is pointing the old path, not the new, it's seems that the path to plugins was not updated even with the new configuration.

I tried to update 6.x-1.5 to 6.x-1.x-dev but i'm getting the same error.

Comments

ssphinx’s picture

Well, i already corrected this mysterious error, after reading:

To "fix" the problem on my production server, I went to "Admin / CKEditor" and then clicked "Edit" to edit my profile (e.g. "Advanced") and then clicked "Save" at the bottom. Now CKEditor will display on my production server as expected.

From: http://drupal.org/node/1196956#comment-4655446

BTW, i beg to avoid issues like that, please check my feature request at:

http://drupal.org/node/1248522

Morten Najbjerg’s picture

I can confirm this. Edit Profile and save without changing anything works for me.

bkosborne’s picture

Same for me - had to save the global profile

dczepierga’s picture

Title: Problem with CKEditor plugins placed at libraries » [D6] Static paths to plugins in database
Status: Active » Fixed

I make a little fix for it and commit to GIT.
Pls update to last DEV and launch Drupal update (update.php). After that all static paths to plugins in database should be converted to dynamic paths which are generated when CKEditor is attached.

Greetings

mkesicki’s picture

Title: [D6] Static paths to plugins in database » Replace static paths to plugins in the database with dynamic paths
Status: Fixed » Closed (fixed)