Hi Guys,
I'm just new to the FCKeditor, and i am having some problems getting it off the ground. I've made the appropriate changes to get the editor to work using sample02_mx.cfm.
Unfortunately, when i try to upload files, such as images, I can open the Image Properties window, but when i click on "Browse Server", the window opens, and i get the error "XML request error: Internal Server Error(500).
I've tried creating the Application.cfm file with the lines:
<cfset request.FCKeditor = StructNew()>
<cfset request.FCKeditor.userFilesPath = "./cfm/UserFiles/">
and i also tried setting the cfapplication as well as outlined in the setup manual on:
http://wiki.fckeditor.net/Developer%27s ... ColdFusion
We are hoping to get this up and running in coldfusion because our alternative that we have been using "ActivEdit" is driving us nuts.
I did notive that in the fckconfig.js file that there is no .cfm upload files for links, images and Flash. Is this a draw back in this software at the time being that it's just not capable of handling uploads? Will we need to invest time in creating these upload files or am i doing something wrong?
Any Help would be greatly appreaciated
Thanks you!!!
Wed, 12/21/2005 - 07:57
#1
RE: Coldfusion XML request error 500
The userFilesPath setting has to be an absolute path, starting at your webroot, so "/cfm/UserFiles/".
Another possibility is that you have a Unix server, and the access rights for the UserFiles folder are not set correct.
Let me know!
RE: Coldfusion XML request error 500
I tried replacing the dot(.) and still nothing. Let me post a few more details here to see if we can figure this out.

I went ahead and reverted my application.cfm file to read:
<cfapplication name="FCKeditor_samples">
<cfset APPLICATION.userFilesPath = "/UserFiles/">
I am currently running coldfusion on a Windows based system.
The current location of my sample02_mx.cfm file is:
".../defaultsite/intern/Testing/Test_Editor/cfm/"
The location of my fckeditor.cfc file is actually one directory up at:
".../Testing/Test_Editor/"
Within the Sample02_mx.cfm file i currently have my fckEditor.basePath set to:
"../../Test_Editor"
I believe i've set everything properly, cuz as i said the editor itself works and most of the functions work, it's just when i open up a window to insert say an image or a flash document, i get the XML error, but the window still appears and i can still browse for files if i click the browse button.
If more clarification is needed please let me know
RE: Coldfusion XML request error 500
You didn't follow the instructions on the Wiki completely.
You didn't just extract the FCKeditor zip file, you also renamed the folders.
The samples02_mx.cfm expects the fckeditor.cfc file 2 paths higher than the sample file, as you can see here (extract from samples02_mx.cfm:
mappings['/fckeditor2'] = expandPath("../.."); // fckeditor.cfc resides two paths higher than this sample file.
You can try changing the mapping, but I suggest that you just extract the zip file to a directory without changing the directory names.
RE: Coldfusion XML request error 500
Actually, i believe i now found my error, and you are right, i had the Base Path mixed up, and then i stumbled across the image uploading problem because i didn't have a proper variable set that pointed to the point where i wanted to upload my images.

In my Application.cfm file i created the variable APPLICATION.userFilesPath and now it seems to work like a charm.
However, playing around with it i noticed a few things i find concerning, such as the fact that i have to download a 3rd party spell checker to spell check my documents. I hope future versions of this editor will come with a built in editor