Hi,

When i moved my site from localhost to server, ckeditor wasn't showing anymore.

I had an installation at:
http://localhost/my-site
and moved to:
http://www.my-site.com

so...

ckeditor drupal modules puts the url from the chosen plugin at the database!

When i noticed that the javascript from ckeditor wasn't find the plug-in i found that it was looking for the subdirectory.

so i'm writing this issue, because at drupal module ckeditor
/admin/config/content/ckeditor/edit/Full
Editor appearance / plugins

is saving at database the path, and even cleaning the cache doesn't update it.

i save it again and it worked.

i'm writing this if someone is having the same problem with ckeditor not showing up from one install to other.

bye

Comments

dczepierga’s picture

Status: Active » Postponed

Really thx for notice this...
I will try to do something with it asap...

Greetings

donwinchell’s picture

I am getting a very similar problem. Have spent over 5 hours installing, re-installing, checking, checking again. I have CKeditor running on many sites, no problem. I installed on green geeks and have one site running successfully but have two other sites that I simply can not get ckeditor to show up. So I tarballed the folder, and saved the database and moved them both to my local home server. un-tar and load the database and it works perfectly. I have tried it with version 7.x-1.2 and version 7.x-1.x-dev (latest as of Jul 15). So:
ckeditor DOES run on green geeks as I have on site instance running.
ckeditor DOES run fine on my local dev server (over 5 instances are running great)
if I tarball a an instance from my dev server up to green geeks it will not show up at all but all other components of the site work just fine.
I have tried putting the ckeditor in libraries/ckeditor as well as putting it in modules/ckeditor/ckeditor. The configuration screen shows it being detected correctly in both instances.
I have tried with and without a path in "Local path to CKEditor " (I normally just leave it blank).
I am totally, 100% stumped !
I hope this information may help, I can't believe many others are not finding this issue.

Gemini Lights’s picture

I can't get CKEditor to load either. I've tried everything. It's not the theme either.

carvalhar’s picture

i could save my problem by saving the configuration at ckeditor settings again.

i think the solution would be avoid saving to the database the plugin path and use it by drupal path (module) functions.

valante’s picture

Confirming #4.

Moved site to another location and all CKEditor textareas were set to invisible. Went to CKEditor configuration page and hit save (without changing any selections). Solved.

A pity I found this thread only *after* I dicked around with this bug for five hours and finally found the solution on my own :-)

Gemini Lights’s picture

I figured out my problem. Can anyone confirm if CKEditor fails to load when Overlay module is disabled?

valante’s picture

Sorry, no. I always disable the Overlay module almost as soon as I set up a new site, and CKEditor works just fine. (CKEditor installed after disabling Overlay.)

But now that you mention it, I did *uninstall* overlay at a later point. Can't confirm if that's when the trouble began, though.

mkesicki’s picture

@valante I checked disabling Overlay module after enabling CKEditor module and it works fine for me.

valante’s picture

@michal_cksource My point exactly. Combining #7 and #8 suggests it's not about disabling the Overlay module either before or after enabling CKEditor.

Seems like most people ran into this problem after moving their site to a new location. I've no idea what happens there to upset CKEditor, though.

valante’s picture

Ran into this again. Here's a confirmation on the exact details:

1. Worked perfectly on a site.
2. Migrated said site to a new location.
3. CKEditor disappeared.
4. Went to configuration, edit CKEditor profile, and SAVE (without any changes).
5. Everything's good again.

Has nothing to do with overlay etc..

wernerglinka’s picture

I upgraded an installation with latest CKEditor and afterwards all edit windows disappeared. I followed carvalhar's suggestion (comment #4) and voila, all is good again.

jimbaer’s picture

Twice my edit windows disappeared after I synchronised my test site database from the operational database. On the operational site, the edit window remained working properly.

On the test site, I restored the edit window by dis-abling CKeditor, saving, then re-enabling the editor and saving. All the editor settings were correctly remembered.

Looking at #4 and #5, it sounds as though just "saving" would have corrected the error.

In each of the cases quoted, it sounds as though some link is broken when a database change occurs through moving locations or through synchronising. I'm no expert, but any clues here?

mkesicki’s picture

@jimbaer we try fix issue with necessity of 'saving' CKEditor's profile ASAP but we need some time to do this.
Please be patient.

jimbaer’s picture

Hi Michal, many thanks! No hurry, since I've got a work-around.

schultetwin’s picture

Subscribing.

This is an issue with ckeditor 6.x-1.5 (should I create another issue?) as well, which is causing issues with features. (Same idea, moving the feature to a new site requires saving the profile again, as the plugin location was being stored in the feature.)

dczepierga’s picture

Title: ckeditor doesn't show from one install to another » [D7] Static paths to plugins in database
Status: Postponed » Fixed

Hi,

I make fix for it and commit to GIT.

Pls update to last DEV version and launch update.php from Drupal, because one big update is needed in database which convert old statis paths to dynamic paths.

If after update u still have problem with it pls reopen this issue.

Greetings

dczepierga’s picture

I add one more fix to GIT.

Greetings

dczepierga’s picture

And one more fix for reading plugins from plugin directory :)

Greetings

mkesicki’s picture

Status: Fixed » Closed (fixed)
mkesicki’s picture

Title: [D7] Static paths to plugins in database » [D7] Replace static paths to plugins in the database with dynamic paths
valante’s picture

Works like a charm, thanks!

valante’s picture

Issue summary: View changes

typos