I was surprised and happy to discover in the CF 8.0.1 release notes
that the file upload ability in FCKEditor can now be enabled with a
couple of flags in the js config file. I tried it out (by modifying
the global fckconfig.js in the CFIDE folder) and it works great. Yay
for reading the release notes :)

However, if I copy the entire CFIDE/scripts/ajax/fckeditor folder to a
location under my local web root (in my example, /jscripts/fckeditor/)
and use the basepath attribute of the CFTEXTAREA tag to specify my
local version, launching the file browser brings up an error:
XML request error: Not Found (404)
Requested URL:
http://localhost/jscripts/fckeditor/editor/filemanager/browser/default/../../connectors/cfm/connector.cfm?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F&uuid=1209024604473
// usual error formatting snipped
Response text:
File not found: /jscripts/fckeditor/editor/filemanager/connectors/cfm/index.cfm

This file does not exist in that location, and there is no equivalent
file in the CFIDE folder, nor in the standalone FCKEditor package that
I downloaded to double-check. The referrer is listed as
http://localhost/jscripts/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=../../connectors/cfm/connector.cfm

I tried leaving off leading and trailing slashes in the basepath
attribute and even specifying the full http address in there, but no
dice. In order to use this, I need to get it working with a local
version of the FCKEditor files as I will be deploying to shared
hosting.

Anyone got any ideas? I think I'm going to try decrypting
connector.cfm next to see what it's doing...

Cheers,
K.

-- 
Kay Smoljak
business: www.cleverstarfish.com
coldfusion: kay.smoljak.com
personal: goatlady.wordpress.com | heapsbad.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304134
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to