Tom C.,

There is nothing to be done another way, as the application pretty much
does nothing. All it does is define the Application events and writes
errors to file. That's it. 

I can't tell what to remove. I can't remove the OnError method,
obviously, or I wouldn't be able to get at the errors. When I comment
out every method BUT the OnError method, get:

An exception occurred when invoking a event handler method from
Application.cfc The method name is: onSessionEnd.
The method 'onSessionEnd' could not be found in component 

**** Exception Type: Application

Then, I think , ok maybe it needs to have the method defined, so then I
put back in JUST the onSessionEnd method and run again. I get the same
error:

An exception occurred when invoking a event handler method from
Application.cfc The method name is: onSessionEnd.

But this time the detailed message is "EMPTY STRING" AND, the exception
type has changed from application:

**** Exception Type: Expression


After fooling around, it seems if OnApplicationEnd or OnSessionEnd is
NOT defined, they throw erorrs of type APPLICATION. However, if they are
defined, they are throwing errors of type EXPRESSION.

No idea what is going on.

......................
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
 

-----Original Message-----
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 8:49 AM
To: CF-Talk
Subject: Re: PLEASE HELP! Why is this application.cfc erroring out?

On Wednesday 18 October 2006 13:26, Ben Nadel wrote:
> Can someone please help me out here. My Application.cfc is throwing 
> errors on OnApplicationEnd method. I am banging my head against the 
> wall here. No idea what is going on and the debugging is not useful at
all.
> The error get's written to the file error.htm. If anyone can lend a 
> hand, that would be AWESOME.

Remove the offending method.
What happens ?
Could you do it another way ?

--
Tom Chiverton
Helping to heterogeneously drive professional markets

****************************************************

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257165
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