This module will only function properly if Drupal is installed in the root of the website -- I have two installations which are in a subdirectory such as http://www.mysite.com/drupal, and no matter how I change the "Base Path" variable on the FCKeditor settings page, it will not load. Stripping the leading slash simply causes a 404 error within the editor space.

Comments

bryan kennedy’s picture

I am having this same problem. If you have drupal installed in a subdirectory you also have to modify the default FCK editor path for it to not return a 404 within you page.

bryan kennedy’s picture

I get a bunch of 404 errors for the images that look like this:

404 error: modules/fckeditor/lib//editor/modules/fckeditor/lib/editor/skins/default/images/toolbar.end.gif not found

For some reason it is printing the module path twice?

slower’s picture

Yep, that's the other half of the problem. The 404 for the entire iFrame occurs with the leading slash being removed, and the broken images and CSS occur when the iFrame actually loads.

GeckoBlue’s picture

Are you prepending /drupal/ ?

My site has drupal loaded un /drupal/ just like yours, and I got 404 errors until I added /drupal/ to the beginning of the base path. The trailing slash isn't the problem. Works fine now.

Hope this helps.

slower’s picture

That fixed it. Simply prepending "/" was the ticket. I ended up with "/content/modules/fckeditor/lib/". Thanks.