#3470: "File Not Found" error when loading editor
-------------------------------------------+--------------------------------
Reporter: paulha | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version:
Keywords: 404 "File Not Found" BasePath |
-------------------------------------------+--------------------------------
When the fckeditor package is not installed at the root of the web server,
"File Not Found" displays instead of the editor. (However, the sample
programs all work as expected.)
Diagnosis: The problem is that fckeditor.js:50 BasePath is set to
"/fckeditor/" rather than "fckeditor/", making the path to the
installation absolute rather than relative to the calling file; this
doesn't work well if the files are not being served from a web server.
Making the file path relative doesn't work very well either, as all
references then become relative to the source html file.
Ultimately, BasePath should be set only in the installation configuration
file, and examples should not set BasePath at all.
Best of all would be for the fckeditor.js file to automatically figure out
what its base path must be.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3470>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac