If this line ever errors on AppStart:

<cfset application.page = createObject("component", "com.testSite.pages")>

The cart won't get created and the app will have started.

Adrian
Building a database of ColdFusion errors at http://cferror.org/

-----Original Message-----
From: Chad Gray
Sent: 17 November 2008 18:41
To: cf-talk
Subject: RE: application.cfc error


Seems like kind of a hack eh'?  

It probably would work though.



> -----Original Message-----
> From: Alan Rother
> Sent: Monday, November 17, 2008 1:20 PM
> To: cf-talk
> Subject: Re: application.cfc error
> 
> Off hand I'm not sure what is causing it, but this may help
> 
>                <cfif (isdefined("URL.reinit")) OR (NOT
> IsDefined("Application.Cart")) OR (NOT IsDefined("Application.Page"))>
>                        <cfset onApplicationStart() />
>                </cfif>
> 
> 
> =]
> 
> 
> --
> Alan Rother

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315377
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