RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
Dave,

There is nothing else in the application happening, as far as I know.
It's literally the Application.cfm file and the index file and all index
is doing is dumping out APPLICATION.

I just put a CFFILE/APPEND in every Application event handler and this
is what I get:

OnApplicationStart
OnSessionStart
OnRequestStart
OnRequest
OnRequestEnd
OnSessionEnd : [ID - 43666] [TOKEN - 32723233]
OnError : [Event Handler Exception. - Expression] An exception occurred
when invoking a event handler method from Application.cfc The method
name is: onSessionEnd.
OnApplicationEnd : [NAME - App Event Testing]
OnError : [Event Handler Exception. - Expression] An exception occurred
when invoking a event handler method from Application.cfc The method
name is: onApplicationEnd.


As you can see, ALL of the events are firing. The OnsessionEnd fires and
correctly references the Session scope info. The OnApplicationEnd fires
and correctly references the Application scope info. But, both session
and app end also generated an OnError event. Very strange. And still
nothing showing up in the Application.log file or anything (even if I
take out the OnError handler).


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

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 11:00 AM
To: CF-Talk
Subject: RE: PLEASE HELP! Why is this application.cfc erroring out?

> I can't "Read" the OnError since it is firing for onSessionEnd and 
> OnApplicationEnd, which are not visible to the browser... However, I 
> have noticed that when I pull out the OnError method, nothing get's 
> written to the log files!
> What's up with that??? Shouldn't that be showing up in the 
> Application.log?

Do you have another error handler elsewhere that is catching things?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta, Chicago,
Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
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:257203
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Dave Watts
> I can't "Read" the OnError since it is firing for 
> onSessionEnd and OnApplicationEnd, which are not visible to 
> the browser... However, I have noticed that when I pull out 
> the OnError method, nothing get's written to the log files! 
> What's up with that??? Shouldn't that be showing up in the 
> Application.log? 

Do you have another error handler elsewhere that is catching things?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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:257192
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
Tom C.,

I can't "Read" the OnError since it is firing for onSessionEnd and
OnApplicationEnd, which are not visible to the browser... However, I
have noticed that when I pull out the OnError method, nothing get's
written to the log files! What's up with that??? Shouldn't that be
showing up in the Application.log? 


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

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

On Wednesday 18 October 2006 14:30, Ben Nadel wrote:
> 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:

If you take out onError, do you get an error you can read ?

--
Tom Chiverton
Helping to simultaneously transition strategic IPOs



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.




~|
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:257189
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Tom Chiverton
On Wednesday 18 October 2006 14:30, Ben Nadel wrote:
> 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:

If you take out onError, do you get an error you can read ?

-- 
Tom Chiverton
Helping to simultaneously transition strategic IPOs



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
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:257186
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
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


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
 
Just tried restarting the CF machine... Still same errors :(


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

~|
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:257168
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
 
Hmmm, good to know it works somewhere. Thanks for the help Tom.

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

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

Nothing is being written to error.htm, and the application struct is
being dumped into the page successfully.
T


~|
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:257163
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Tom King
Nothing is being written to error.htm, and the application struct is  
being dumped into the page successfully.
T


On 18 Oct 2006, at 14:11, Ben Nadel wrote:

> Tom,
>
> Just to be clear, you cannot see the error on the page... It only  
> get's
> written to that HTML file. Are you not seeing the error on page or  
> is it
> not writing any HTML file?
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer
> www.bennadel.com
>
>
> -Original Message-
> From: Tom King [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 9:06 AM
> To: CF-Talk
> Subject: Re: PLEASE HELP! Why is this application.cfc erroring out?
>
> I've just run your application.cfc on my dev machine and can't get an
> error
>
> just thought you'd like to know that it does work for some people!
>
> T
>
>
> 

~|
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:257162
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Tom Chiverton
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



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
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:257161
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
Tom,

Just to be clear, you cannot see the error on the page... It only get's
written to that HTML file. Are you not seeing the error on page or is it
not writing any HTML file?

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

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

I've just run your application.cfc on my dev machine and can't get an
error

just thought you'd like to know that it does work for some people!

T


~|
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:257160
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Tom King
I've just run your application.cfc on my dev machine and can't get an  
error

just thought you'd like to know that it does work for some people!

T

On 18 Oct 2006, at 13:56, Ben Nadel wrote:

> Tom,
>
> I see what you are saying, but two issues:
>
> 1. My code does not have any CFAbort tags, just the Application.cfc  
> and
> the index.cfm.
>
> 2. You are checking for the EventName in the OnError method, which  
> means
> that the OnError event has already fired when you are performing the
> check. I am not concerned with stuff inside the OnError method. I am
> concerned as to why the OnError even is being fired in the first  
> place.
>
>
> Thanks for the suggestions,
> Ben
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer
> www.bennadel.com
>
>
> -Original Message-
> From: Tom King [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 8:52 AM
> To: CF-Talk
> Subject: Re: PLEASE HELP! Why is this application.cfc erroring out?
>
> Here is my error handling function: I think I'm right in saying that
> without those additional lines, cfabort (if it's anywhere in your
> script) will set off an error, and this way, ending the session or
> application won't trigger said script either..
> T
> ps - I'm a complete newbie, so I may be way off mark with this...
>
>
> 
>  
>   required="yes"/>
>   StructKeyExists(arguments.exception.RootCause,"type") AND
> arguments.exception.RootCause.type EQ
> "coldfusion.runtime.AbortException">
>  
>  
>   EventName NEQ "onSessionEnd">
>   from="Oxalto Error Handling"  subject="Error: Brabant Ensemble"
> type="html">
>   IsDefined("variables.error")> label="Error
> Variables"/>   var="#arguments.exception#" label="Exception Variables"/>
>   label="CGI Variables"/>  label="Application">
> 
>
>  
>   W3C// DTD
> XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>   xmlns="http://www.w3.org/1999/xhtml"; lang="en">
> 
>   content="text/html; charset=ISO-8859-1" />
>   media="all">
>  body {font:75%/140%
> Arial, Helvetica, sans-serif;text-align:center;}
>  h1 {font-
> weight:normal;}
>  a {color:##39c;
> text-decoration:none;}
>  a:hover
> {text-decoration:underline;}
>  ##container  
> {margin:20%
> auto;width: 50%;   text-align:left;}
>  
>  Fooe
>
>  
>
>  
>
>  
>
>  An
> Error has Occured
>
>  
>
>  If  
> this
> problem persists, please contact our  href="mailto:[EMAIL PROTECTED]">Webmaster.
>                     
>      
>  
>  
>  
>  
>
> On 18 Oct 2006, at 13:39, Ben Nadel wrote:
>
>> Maybe I do? Please explain?
>>
>>
>> ..
>> Ben Nadel
>> Certified Advanced ColdFusion Developer www.bennadel.com
>>
>>
>> -Original Message-
>> From: Tom King [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, October 18, 2006 8:37 AM
>> To: CF-Talk
>> Subject: Re: PLEASE HELP! Why is this application.cfc erroring out?
>>
>> Don'

RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
Tom,

I see what you are saying, but two issues:

1. My code does not have any CFAbort tags, just the Application.cfc and
the index.cfm.

2. You are checking for the EventName in the OnError method, which means
that the OnError event has already fired when you are performing the
check. I am not concerned with stuff inside the OnError method. I am
concerned as to why the OnError even is being fired in the first place. 


Thanks for the suggestions,
Ben

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

~|
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:257158
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
Tom,

I see what you are saying, but two issues:

1. My code does not have any CFAbort tags, just the Application.cfc and
the index.cfm.

2. You are checking for the EventName in the OnError method, which means
that the OnError event has already fired when you are performing the
check. I am not concerned with stuff inside the OnError method. I am
concerned as to why the OnError even is being fired in the first place. 


Thanks for the suggestions,
Ben

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

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

Here is my error handling function: I think I'm right in saying that
without those additional lines, cfabort (if it's anywhere in your
script) will set off an error, and this way, ending the session or
application won't trigger said script either..
T
ps - I'm a complete newbie, so I may be way off mark with this...



 
 
 
 
 
 
 
   
  

   
 
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 http://www.w3.org/1999/xhtml"; lang="en">

 
 
 body {font:75%/140%
Arial, Helvetica, sans-serif;text-align:center;}
 h1 {font-
weight:normal;}
 a {color:##39c;
text-decoration:none;}
 a:hover
{text-decoration:underline;}
 ##container {margin:20%
auto;width: 50%;   text-align:left;}
 
 Fooe

 

 

 

 An
Error has Occured

 

 If this
problem persists, please contact our mailto:[EMAIL PROTECTED]">Webmaster.

 
 
 
 
 

On 18 Oct 2006, at 13:39, Ben Nadel wrote:

> Maybe I do? Please explain?
>
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer www.bennadel.com
>
>
> -Original Message-
> From: Tom King [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 8:37 AM
> To: CF-Talk
> Subject: Re: PLEASE HELP! Why is this application.cfc erroring out?
>
> Don't you need
>
>  "onSessionEnd">
>
> in the OnError Function?
>
> T
> On 18 Oct 2006, at 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.
>>
>> Code:
>> http://bennadel.com/index.cfm?dax=blog:354.view
>>
>> Thanks so much!
>> Ben
>>
>> ..
>> Ben Nadel
>> Certified Advanced ColdFusion Developer www.bennadel.com
>>
>>
>>
>
>
>
> 



~|
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:257157
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Tom King
Here is my error handling function: I think I'm right in saying that  
without those additional lines, cfabort (if it's anywhere in your  
script) will set off an error, and this way, ending the session or  
application won't trigger said script either..
T
ps - I'm a complete newbie, so I may be way off mark with this...



 
 
 
 
 
 
 
   
  

   
 
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 http://www.w3.org/1999/xhtml"; lang="en">

 
 
 body {font:75%/140%  
Arial,
Helvetica, sans-serif;text-align:center;}
 h1 {font- 
weight:normal;}
 a {color:##39c;
text-decoration:none;}
 a:hover
{text-decoration:underline;}
 ##container {margin:20%
auto;width: 50%;   text-align:left;}
 
 Fooe

 

 

 

 An  
Error has
Occured

 

 If this
problem persists, please contact our mailto:[EMAIL PROTECTED]">Webmaster.

 
 
 
 
 

On 18 Oct 2006, at 13:39, Ben Nadel wrote:

> Maybe I do? Please explain?
>
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer
> www.bennadel.com
>
>
> -Original Message-
> From: Tom King [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 8:37 AM
> To: CF-Talk
> Subject: Re: PLEASE HELP! Why is this application.cfc erroring out?
>
> Don't you need
>
>  "onSessionEnd">
>
> in the OnError Function?
>
> T
> On 18 Oct 2006, at 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.
>>
>> Code:
>> http://bennadel.com/index.cfm?dax=blog:354.view
>>
>> Thanks so much!
>> Ben
>>
>> ..
>> Ben Nadel
>> Certified Advanced ColdFusion Developer www.bennadel.com
>>
>>
>>
>
>
>
> 

~|
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:257155
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
Maybe I do? Please explain?


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

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

Don't you need



in the OnError Function?

T
On 18 Oct 2006, at 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.
>
> Code:
> http://bennadel.com/index.cfm?dax=blog:354.view
>
> Thanks so much!
> Ben
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer www.bennadel.com
>
>
> 



~|
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:257153
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Tom King
Don't you need



in the OnError Function?

T
On 18 Oct 2006, at 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.
>
> Code:
> http://bennadel.com/index.cfm?dax=blog:354.view
>
> Thanks so much!
> Ben
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer
> www.bennadel.com
>
>
> 

~|
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:257152
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


PLEASE HELP! Why is this application.cfc erroring out?

2006-10-18 Thread Ben Nadel
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.
 
Code:
http://bennadel.com/index.cfm?dax=blog:354.view
 
Thanks so much!
Ben

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


~|
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:257150
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4