Opened 10 years ago

Closed 10 years ago

#665 closed Bug (invalid)

CF: CustomConfigurationsPath won't load on Windows/IIS

Reported by: anonymous Owned by:
Priority: Normal Milestone:
Component: Server : ColdFusion Version:
Keywords: Pending WorksForMe Cc: Frederico Caldeira Knabben

Description

This bug report refers to fckEditor version 2.0 FINAL RELEASE.

fckEditor doesn't load the customconfigurationspath file specified when the server platform is Windows with IIS. The file is never requested - no entries appear in the log files. I've tested it on two seperate Windows/IIS servers, and one Linux server.

I've tried clearing my cache and everything, but the file is simply never requested.

The exact same code works flawlessly when installed on a Linux server with Apache.

Here's part of my implementation code:

<cfset fckEditor.config.CustomConfigurationsPath = "/fck_toolbarSet.js"> <cfset fckEditor.toolbarSet = "BlogCFMDefault"> <cfset fckEditor.create()>

Here is my /fck_toolbarSet.js file:

FCKConfig.ToolbarSets["BlogCFMDefault"] = [
['Source','-'],
['Cut','Copy','Paste','PasteText','PasteWord','-
','SpellCheck'],
['Undo','Redo','-','Find','Replace','-
','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-
','Subscript','Superscript'],
['OrderedList','UnorderedList','-
','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','Justif
yFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialC
har','UniversalKey'],
['Form','Checkbox','Radio','TextField','Textarea'
,'Select','Button','ImageButton','HiddenField'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;

alert('Loaded');

In the version I have installed on my Linux server, when I load the page with the editor, the alert box displays and the toolbar displays.

The same code when run on Windows/IIS generates no alert, and and the toolbar doesn't display. A javascript popup says there is no such toolbar set (obviously, because it didn't load the configuration file!)

This isn't critical, but it forces me to edit the actual configuration file, which I'd rather not do.

What's wrong?


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1241329&group_id=75348&atid=543653

Change History (4)

comment:1 Changed 10 years ago by Martin Kou

Reporter: changed from Martin Kou to anonymous

This is happening to me as well, and also works for me fine on Tomcat. I am running IIS 6 on W2k3 Web edition.


Moved from SF. Original poster: Anonymous

It seams to be a localized problem with ColdFusion for Windows. Further investigation is needed.


Moved from SF. Original poster: fredck

comment:2 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Component: GeneralServer : ColdFusion

comment:3 Changed 10 years ago by Wojciech Olchawa

Keywords: Pending WorksForMe added; SF removed

Hi!

Could you please check if the bug still occurs in version 2.5.1

Thanks

comment:4 Changed 10 years ago by Wojciech Olchawa

Resolution: invalid
Status: newclosed

Ticket expired.

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