Ticket #3470 (closed Bug: invalid)

Opened 6 years ago

Last modified 6 years ago

"File Not Found" error when loading editor

Reported by: paulha Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


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.

Change History

comment:1 Changed 6 years ago by alfonsoml

  • Status changed from new to closed
  • Keywords 404 "File Not Found" BasePath removed
  • Resolution set to invalid

If you change the default location, then you must state it when you create the object in the BasePath property so it can know where to look for the rest of the files.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy