I can't browse for images with the Coldfusion connector. I got the PHP connector to work, and it works on the demo application on fckeditors web site.
In IE i get this javascript error when the browse server page first comes up:
Line: 118
Char: 2
Error: Object Required
Code: 0
URL: http://sitename/fckeditor/editor/filema ... slist.html
I can upload files and create folders with the buttons on the browse server page, but the display on the browse server page never displays what is in the UserFiles folder.
If i try it with Fire Fox i get no error message and it does not display the files. I can also upload and create folders in Fire Fox.
I am using 2.0 RC3
Thu, 04/14/2005 - 08:46
#1
RE: CF and browsing for images SOLUTION
I set them back to the default security settings and everything works.
RE: Coldfusion and browsing for images Ooops
I relized that i had the server setup to use the PHP connector.
Once i switched it back to the CF Connector it does not work anymore. I still get the same errors that i reported in the first message.
Sorry for the confusion...
RE: CF and browsing for images SOLUTION
I had a onrequestend.cfm file with some debugging information in it.
This file was basically being passed in with the XML the CF connector was generating.
RE: Coldfusion and browsing for images
I have this problem but there is nothing being appended to the xml output . .
cf mx (6.0)
works in asp and aspx . . but i get the javascript error when opening the file browser. .
Line: 118
Char: 2
Error: Object Required
Code: 0
URL: http://sitename/fckeditor/editor/filema ... slist.html
RE: Coldfusion and browsing for images
RE: Coldfusion and browsing for images
Also if you application.cfm file has any output that will interfer with the XML also.
Run the connector with enough URL variables to get it to output XML and see if it is malformed by anything.
That is how i figured out my problem.
RE: Coldfusion and browsing for images
however that is not the problem here as far as i can tell . . i removed the cfheader tags that supress caching and viewed the source of the connector.cfm from the test page in the connectors folder and all that is generated is the proper xml . .
so unless the implementation is generating something different than the fcke test.html page . . i am at a loss . . is there a way to see what the connector.cfm is generating? from the perspective of the fcke instance?
RE: Coldfusion and browsing for images
The only way i have seen the XML output is to hit the connector directly.
i.e.
http://sitename/fckeditor/editor/filema ... ntFolder=/
You should bet back XML similar to this:
<Connector command="GetFoldersAndFiles" resourceType="Image">
<CurrentFolder path="/" url="/UserFiles/Image/"/>
<Folders>
<Folder name="logos"/>
</Folders>
<Files>
<File name="about.gif" size="1"/>
<File name="panels_hand.jpg" size="9"/>
<File name="panels_tower.jpg" size="8"/>
<File name="temp.jpg" size="16"/>
</Files>
</Connector>
You have the application variable userFilesPath defined?
<cfset APPLICATION.userFilesPath = "/UserFiles/">