Opened 17 years ago

Closed 17 years ago

#295 closed Bug (fixed)

Images saved in wrong location

Reported by: Charles Fahey Owned by:
Priority: Normal Milestone: FCKeditor 2.4.3
Component: Server : ColdFusion Version:
Keywords: Cc:


This bug exists in the 2.4.1 version on ColdFusion MX 7.

We upgraded to version 2.4.1 and discovered a new directory was being created on the root directory of the server (outside the web accessible directory structure) and our images were being loaded into that new directory. As a result we were always displaying broken image links in our content.

Per the documentation we were using the application variable perfectly to set the userFilesPath (we used <cfset application.userFilesPath = "/FCKeditorUserFiles/">).

After studying the code we were able to perform the following correction:

File: fckeditor/editor/filemanager/browser/default/connectors/cfm/connector.cfm

Approximate Line: 82

Changed content from: userFilesServerPath = serverPath & url.type & replace(url.currentFolder,"/",fs,"all")

Changed content to: userFilesServerPath = serverPath & replace(userFilesPath,"/",fs,"all") & url.type

Please let me know if you need any more detail. And thank you for this fantastic product and all your hard work!


Charles Fahey

Change History (3)

comment:1 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Component: GeneralServer : ColdFusion

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.4.3

Maybe related to #510.

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

It seams that [350] fixed it with a different implementation.

If you still have problems with it, please reopen this bug with more info.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy