Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2005 at 15:40 UTC
Updated:
7 Feb 2005 at 14:40 UTC
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
Comment #1
bryan kennedy commentedI 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.
Comment #2
bryan kennedy commentedI 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?
Comment #3
slower commentedYep, 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.
Comment #4
GeckoBlue commentedAre 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.
Comment #5
slower commentedThat fixed it. Simply prepending "/" was the ticket. I ended up with "/content/modules/fckeditor/lib/". Thanks.