I just figured it out, although I have not seen the 500 error.  I was
getting permission errors when I entered the file browser.

I had been putting in my little customizations (toolbars,
tableToggleBorders plugin, other stuff) and tackling the CF connector
last.  I decided to do the connector first instead and just install it
as they say to:  off the web root into a folder called /FCKEditor, so
that fckeditor.cfm is located at

http://127.0.0.1:8500/fckeditor/fckeditor.cfm

Then I created http://127.0.0.1:8500/test_fck.cfm that says

<CFAPPLICATION NAME="test_FCK_1235"
        SESSIONMANAGEMENT="Yes"
        clientmanagement="Yes"
        applicationtimeout="#CreateTimeSpan(0,0,30,0)#"
        SESSIONTIMEOUT="#CreateTimeSpan(0,0,30,0)#">
<cfparam name="form.FirstEditor" default="This is the first window"
type="string">
<html><head><title>Single Editor Test</title>
</head><body>
<cfform
        action="#cgi.script_name#"
        method="POST">
<cfmodule
        template="fckeditor/fckeditor.cfm"
        instanceName="FirstEditor"
        toolbarSet="Default"
        width="650"
        height="400"
        value="#form.FirstEditor#">
<p>
<input
        type="Submit"
        value="Submit">
</cfform>
</body></html>

Everything works perfectly.  A folder called /userfiles
(http://127.0.0.1:8500.userfiles) is demanded as the upload root, but
that should be easy to defeat.  The new CF guy on the project made
that foldername part of the config file, which hopefully is a global
setting.  I found by replacing the cfparam for url.type in
connector.cfm with <cfset url.type=session.thisfolder> (where the
session var is supplied externally from my CMS) then I am good to go
in terms of defeating FCK's imposed folder structure..

Try a service restart if you are getting 500's.

Anyway this worked for me to get the basic editor up.  Now that I have
the stupid thing working I bet I put it pretty much anywhere.  A great
testimonial to why you document code, preferably line by line.


--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221247
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to