Hey guys,

I'm still having an issue with Reactor in my application.cfc, which sometimes can cause an error stating Invalid Path To Config if the home page is not activated first. Brian graciously suggested the problem was using the relative instead of absolute path to Reactor, so here's what I've placed in my application.cfc, and a little more info in case I'm missing something. Wouldn't expandPath do the trick?

<!---main application.cfc--->
onApplicationStart

<CFSET Application.Reactor = CreateObject("Component", "reactor.reactorFactory").init(expandPath("reactor.xml")) />

My application.cfc, reactor.xml file, and Reactor folder are in the web root, so we can use it site wide.

The error always states something like The path E:\Websites\encfsa\calendars\reactor.xml does not exist. Is it the onApplicationStart causing the problem?

When I used application.cfm, it was never a problem.

I really appreciate your help!! I'm sure I'm missing something...

Thank you,

Hoz

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to