Opened 8 years ago

Closed 8 years ago

#3470 closed Bug (invalid)

"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 (1)

comment:1 Changed 8 years ago by alfonsoml

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

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 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy