RE: CFERROR Handler

2012-12-06 Thread DURETTE, STEVEN J
e- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, December 06, 2012 1:19 PM To: cf-talk Subject: Re: CFERROR Handler > Seems to me if it generates an error which looks like a ColdFusion error then > we should be able to display something > other than that error. That is just a c

RE: CFERROR Handler

2012-12-06 Thread Robert Harrison
Thank you all for the input. This was a simulation of the actual problem I'm trying to address and your help gave me what I needed. What I'm really trying to get fixed is server error that comes up in some situations; one of which is the sample "hard-error" page I posted. I just needed to give

Re: CFERROR Handler

2012-12-06 Thread Dave Watts
ould include multiple levels of error handling. Exception handling using CFTRY and the onError event handler can only trap runtime exceptions. If the program in question can't even compile, they do not have any effect. The CFERROR tag can handle compiler errors using TYPE="REQUEST"

RE: CFERROR Handler

2012-12-06 Thread Leigh
IIRC I think site wide error handlers can catch it. However, compile errors in prod applications is not the norm, since it would mean the code was never tested. -Leigh --- On Thu, 12/6/12, DURETTE, STEVEN J wrote: From: DURETTE, STEVEN J Subject: RE: CFERROR Handler To: "cf-talk&q

RE: CFERROR Handler

2012-12-06 Thread DURETTE, STEVEN J
Java? Steve -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Thursday, December 06, 2012 11:55 AM To: cf-talk Subject: Re: CFERROR Handler Search the HOF archives. I remember there is a thread about this topic. In brief, error handlers only capture runtime excep

RE: CFERROR Handler

2012-12-06 Thread Robert Harrison
1:55 AM To: cf-talk Subject: Re: CFERROR Handler Search the HOF archives. I remember there is a thread about this topic. In brief, error handlers only capture runtime exceptions. That is a compile error, which happens before the code ever executes. So standard cfm error handlers cannot captu

Re: CFERROR Handler

2012-12-06 Thread Leigh
Search the HOF archives. I remember there is a thread about this topic. In brief, error handlers only capture runtime exceptions. That is a compile error, which happens before the code ever executes. So standard cfm error handlers cannot capture it. -Leigh ~~

Re: CFERROR Handler

2012-12-06 Thread Carl Von Stetten
ColdFusion can only route runtime errors to an error handler (your soft error). Compile errors (such as invalid tag names) can't be interpreted by ColdFusion and cause a "hard error". Not much you can do about that. -Carl V. On 12/6/2012 8:39 AM, Robert Harrison wrote: > I have an exception

CFERROR Handler

2012-12-06 Thread Robert Harrison
I have an exception error handler - type="exception" error="any" It mostly works... see http://www.austin-williams.com/_soft_error.cfm - this a bad var name; works as it should and sends me a dump. Now look here: http://www.austin-williams.com/_hard_error.cfm - this is bad cftag name; sho

Re: cfmail doesn't work for cferror tag

2011-08-16 Thread Russ Michaels
haels [mailto:r...@michaels.me.uk] > Sent: Tuesday, August 16, 2011 2:44 PM > To: cf-talk > Subject: Re: cfmail doesn't work for cferror tag > > > I think cferror may be limited as to what you can put in the error > template, > my memory is quite rusty but I think this i

RE: cfmail doesn't work for cferror tag

2011-08-16 Thread Nathan Chen
ssage- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Tuesday, August 16, 2011 2:44 PM To: cf-talk Subject: Re: cfmail doesn't work for cferror tag I think cferror may be limited as to what you can put in the error template, my memory is quite rusty but I think this is to avoid y

Re: cfmail doesn't work for cferror tag

2011-08-16 Thread Russ Michaels
I think cferror may be limited as to what you can put in the error template, my memory is quite rusty but I think this is to avoid you causing an error in the error template. how about if you set error.cfm as the default error template in the cfadmin, does it work then ? I know this method has no

cfmail doesn't work for cferror tag

2011-08-16 Thread Nathan Chen
Hi, In my application.cfm I have: In my error.cfm page I have some friendly text for end users and plus this: Text for myself here. I haven't even placed any #error.variable# insde the cfmail yet but the result is that error.cfm gets displayed but wouldn't send out email to me,

Re: cferror tag with type exception not working

2011-04-04 Thread Russ Michaels
are you sure the error template you are pointing to exists at the path specified in the CFERROR tag, and does not contain any errors itself ? what happens if you browse directly to the error template ? On Mon, Apr 4, 2011 at 7:06 PM, Jay Pandya wrote: > > >trying setting the type t

Re: cferror tag with type exception not working

2011-04-04 Thread Jay Pandya
>trying setting the type to any and then it will show you the error and you >will be able to see what the error type is, maybe a different error is >occurring and it is not an exception type. > All ready tried with exception as any.But when i am using type as exception it is showing normal error

Re: cferror tag with type exception not working

2011-04-04 Thread Jay Pandya
>trying setting the type to any and then it will show you the error and you >will be able to see what the error type is, maybe a different error is >occurring and it is not an exception type. I all ready tried those things.If i put the type as exception and exception as any though,i am not getti

Re: cferror tag with type exception not working

2011-04-04 Thread Russ Michaels
trying setting the type to any and then it will show you the error and you will be able to see what the error type is, maybe a different error is occurring and it is not an exception type. On Mon, Apr 4, 2011 at 10:35 AM, Jay Pandya wrote: > > In my local when i am using cferror tag wit

cferror tag with type exception not working

2011-04-04 Thread Jay Pandya
In my local when i am using cferror tag with type as exception then it is showing proper error message etc but in production it is not working.type as request work there.But my goal of sending email to admin when error occurs is not full filling.I have searched on Google and every forum,though

RE: cferror / cfmail issue

2010-01-28 Thread Tim Do
-talk Subject: Re: cferror / cfmail issue Since you say that the E-mail does not get sent I would assume you have an error in your error handler. Try simplifying the error E-mail to send "hello world" to see if that works. If that works, build up the code incrementally until it breaks. Che

Re: cferror / cfmail issue

2010-01-28 Thread Mike Chabot
Since you say that the E-mail does not get sent I would assume you have an error in your error handler. Try simplifying the error E-mail to send "hello world" to see if that works. If that works, build up the code incrementally until it breaks. Check all your log files to get hints on what the se

Re: cferror / cfmail issue

2010-01-28 Thread Qing Xia
check your mail spool folder--has anything got stuck there? On Thu, Jan 28, 2010 at 4:09 PM, Tim Do wrote: > > so I put back both cferror tags one for request and one for exception. I > forced a db error and I see the dump from the sendError page, but when I > wrap a cfmail arou

RE: cferror / cfmail issue

2010-01-28 Thread Tim Do
so I put back both cferror tags one for request and one for exception. I forced a db error and I see the dump from the sendError page, but when I wrap a cfmail around it, I get nothing but the text from the errorPage. -Original Message- From: Qing Xia [mailto:txiasum...@gmail.com

RE: cferror / cfmail issue

2010-01-28 Thread Tim Do
so I put back both cferror tags one for request and one for exception. I forced a db error and I see the dump from the sendError page, but when I wrap a cfmail around it, I get nothing but the text from the errorPage. -Original Message- From: Qing Xia [mailto:txiasum...@gmail.com

RE: cferror / cfmail issue

2010-01-28 Thread Tim Do
so I put back both cferror tags one for request and one for exception. I forced a db error and I see the dump from the sendError page, but when I wrap a cfmail around it, I get nothing but the text from the errorPage. -Original Message- From: Qing Xia [mailto:txiasum...@gmail.com

Re: cferror / cfmail issue

2010-01-28 Thread Qing Xia
When type="request", the error template is not supposed to contain any CFML tags, and you may only refer to a handful of special variables in the error scope. When you said you have both and request and exception values... did you mean you have two CFError tags in application.cfm, one

RE: cferror / cfmail issue

2010-01-28 Thread Tim Do
most likely this has not sent in a few days. any other ideas?? I tried wrapping the error info into cfsavecontent and still shows the error info and doesn't send. -Original Message- From: Qing Xia [mailto:txiasum...@gmail.com] Sent: Thursday, January 28, 2010 11:53 AM To: cf-

Re: cferror / cfmail issue

2010-01-28 Thread Qing Xia
What CF version were you on before this recent upgrade to CF9? Try changing the TYPE attribute in the CFError tag to type="exception", and see what happens. On Thu, Jan 28, 2010 at 2:41 PM, Tim Do wrote: > > We just upgraded to cf9 and my error handling is no longer working t

cferror / cfmail issue

2010-01-28 Thread Tim Do
We just upgraded to cf9 and my error handling is no longer working the way it used to. In my application.cfm I have: and within errorPage.cfm I have: Error: Session: Client: Application: Request:

Re: cferror remove frames

2009-07-21 Thread Barney Boisvert
You can't remove the frames without a page referesh, but you should be able to pull them all to zero width/height with JS to give the appearance of a full page. However, I'd generally recommend redirecting to a dedicated error page rather than showing errors "inline". If you do that, jus

cferror remove frames

2009-07-21 Thread Mark McArthey
Hello all! I have a custom page for errors and would like to know if it's possible to remove all frames from the page prior to displaying the error page? Currently I have an example where the error is being displayed in the header of a page (with no scrollbars, of course). I'd like to remove

Re: cferror request and form.fieldnames

2009-07-17 Thread Dave Watts
> I'm trying to generate a custom error page of type "request" and still obtain > the > form.fieldnames.  Is it possible to get the information from the parent page > once the > error page has been called? No, the Form scope is unavailable in an error page when you use TYPE="REQUEST". I would r

cferror request and form.fieldnames

2009-07-17 Thread Mark McArthey
Hello all! I'm trying to generate a custom error page of type "request" and still obtain the form.fieldnames. Is it possible to get the information from the parent page once the error page has been called? Thanks! ~| Want to

RE: problem with cferror, trycatch and iis7

2009-03-02 Thread Pat Wenke
Root [mailto:rick.r...@webworksllc.com] Sent: Monday, March 02, 2009 3:17 PM To: cf-talk Subject: Re: problem with cferror, trycatch and iis7 On Mon, Mar 2, 2009 at 3:40 PM, Pat Wenke wrote: > > Either you don't have the tag installed / configured correctly, or it's the > fact that you

Re: problem with cferror, trycatch and iis7

2009-03-02 Thread Rick Root
It would appear that CF is unable to catch the error generated by the cfx tag. I tried something simpler, like this: file exists? #fileExists(source)# And it caught the error just fine. That makes me feel a li

Re: problem with cferror, trycatch and iis7

2009-03-02 Thread Rick Root
On Mon, Mar 2, 2009 at 3:40 PM, Pat Wenke wrote: > > Either you don't have the tag installed / configured correctly, or it's the > fact that you're running 64 bit.  The com/allaire/cfx/CustomTag null gives it > away. You seem to have misunderstood my problem. I'm not asking for help with why

RE: problem with cferror, trycatch and iis7

2009-03-02 Thread Pat Wenke
nder an account that has the appropriate permissions the files you'll be manipulating. -Original Message- From: Rick Root [mailto:rick.r...@webworksllc.com] Sent: Monday, March 02, 2009 11:21 AM To: cf-talk Subject: problem with cferror, trycatch and iis7 I have a couple issues w

Re: problem with cferror, trycatch and iis7

2009-03-02 Thread Rick Root
On Mon, Mar 2, 2009 at 12:57 PM, Pat Wenke wrote: > > CF Admin -> Server Settings -> Settings -> Enable HTTP status codes That tells CF to send 500 errors instead of 200s. But that doesn't have anything to do with why my cftry/cfcatch is being ignored. -- Rick Root New Brian Vander Ark Album,

RE: problem with cferror, trycatch and iis7

2009-03-02 Thread Pat Wenke
CF Admin -> Server Settings -> Settings -> Enable HTTP status codes -Original Message- From: Rick Root [mailto:rick.r...@webworksllc.com] Sent: Monday, March 02, 2009 11:21 AM To: cf-talk Subject: problem with cferror, trycatch and iis7 I have a couple issues with error tr

problem with cferror, trycatch and iis7

2009-03-02 Thread Rick Root
I have a couple issues with error trapping on our new server (CF801, x64 windows 2k8 and IIS7) Take a look at this code: file exists? #fileExists(source)# Pretty simple... it's not working, the cfx tag is causing an err

Re: cferror question

2009-01-07 Thread John P
Thanks G. >IIRC HTTPReferer is a CGI variable as in CGI.HTTPReferer check the docs on >what vars error returns. > >G! > > > >> ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Re: cferror question

2009-01-07 Thread Gerald Guido
IIRC HTTPReferer is a CGI variable as in CGI.HTTPReferer check the docs on what vars error returns. G! On Wed, Jan 7, 2009 at 2:49 PM, John P wrote: > I'm setting up a cferror template that collects the following info. > > INSERT INTO Errors(HTTPReferrer, Diags, Query,

cferror question

2009-01-07 Thread John P
I'm setting up a cferror template that collects the following info. INSERT INTO Errors(HTTPReferrer, Diags, Query, Page) VALUES ('#ERROR.HTTPReferer# ', '#Error.Diagnostics#', '#Error.QueryString#', '#ERROR.Template#') I'm getting a cf error

RE: cferror wont fire on syntax problems

2007-10-15 Thread Robert Rawlins - Think Blue
riginal Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: 15 October 2007 16:25 To: CF-Talk Subject: cferror wont fire on syntax problems I have the following catch-all cferror in place on my application.cfm: However, If I run my test page with a bad cf syntax #now(#, it

cferror wont fire on syntax problems

2007-10-15 Thread Michael E. Carluen
I have the following catch-all cferror in place on my application.cfm: However, If I run my test page with a bad cf syntax #now(#, it still displays the default error display thrown by CF, and not my specified template. Any ideas, suggestions anyone

CFERROR causing problem?

2007-09-05 Thread James Edmunds
; The line number referred to in the cfcatch.tagcontext dump in every case was the cfquery, and, when the query had a WHERE clause, the specific line number of the WHERE clause On those pages where the error was trapped by cferror, the error.Diagnosticsreported this: null null The error occurred on lin

Re: Overriding CFERROR on a Timeout

2007-02-20 Thread Rey Bango
ot sure if that may give you some more info to go on. > > OK, that's going to be a bit more difficult, I think. > > That's not really an exception. It's just taking a long time. That said, the > information here might let you catch an exception this way: > > h

RE: Overriding CFERROR on a Timeout

2007-02-20 Thread Dave Watts
really an exception. It's just taking a long time. That said, the information here might let you catch an exception this way: http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:31119#187058 In the code example there, the CFERROR tag is used to catch the timeout exception, and I do

Re: Overriding CFERROR on a Timeout

2007-02-20 Thread Rey Bango
The error is: "Error","jrpp-65","02/19/07","10:36:59","HBC","The request has exceeded the allowable time limit Tag: cfmail The error occurred on line 1346., /purchase.cfm" But the CFMail tag specified there isn't the culprit because I received the email alerts. Its the cfmail code thats inclu

RE: Overriding CFERROR on a Timeout

2007-02-20 Thread Dave Watts
> Let me be a bit more specific. In terms of a CF timeout, do > you (or anyone reading) happen to know what exception code CF > spits out? Is the page itself timing out, or something specific (like a CFHTTP call) timing out? I was assuming the latter - I honestly don't know how you'd deal with a

Re: Overriding CFERROR on a Timeout

2007-02-20 Thread Rey Bango
e to narrow that down so I can explicityly trap for the timeout. > That said, your exception handler should trap and dispatch your > exception before the CFERROR tag anyway. If it's not doing that, you > probably have a logical error in your exception handling code. To clarify, my page le

RE: Overriding CFERROR on a Timeout

2007-02-20 Thread Dave Watts
Perhaps I need to trap for a specific exception? You should certainly be as specific as possible within your exception handler. That said, your exception handler should trap and dispatch your exception before the CFERROR tag anyway. If it's not doing that, you probably have a logical error in y

Re: Overriding CFERROR on a Timeout

2007-02-20 Thread Rey Bango
Hi Dave, Thats exactly what I had before but the error.cfm template still caught the issue. What I'd like to do is somehow prevent the error.cfm page from kicking in so that the rest of the script can continue and the user is oblivious to the timeout. Perhaps I need to trap for a specific exc

RE: Overriding CFERROR on a Timeout

2007-02-20 Thread Dave Watts
> In this specific situation, ColdFusion timed out (not > Verisign) so the CF error trapper caught that exception and > presented the user with a nice error page. > > What I want to do is take it a step further so that if my > Verisign call times out, I can override the handling of the > ColdF

Overriding CFERROR on a Timeout

2007-02-20 Thread Rey Bango
As some other developers noted, Verisign went down over the weekend and at a VERY inopportune time. While the error script I had in place notified me of the issue and I was able to address it, I want to expand the site's capabilities to handle any future timeout and non-response issues when dea

RE: cferror on application.cfm not working (?)

2006-11-22 Thread Snake
:[EMAIL PROTECTED] Sent: 22 November 2006 22:15 To: CF-Talk Subject: RE: cferror on application.cfm not working (?) Thanks Ray, Will, Jon, For this app, I am currently using HMS on a shared server. This means I do not have access to the CF Administrator for setting the .cfm missing template handler

RE: cferror on application.cfm not working (?)

2006-11-22 Thread Michael E. Carluen
alk > Subject: Re: cferror on application.cfm not working (?) > > Unfortunately no. At least not as far as I know. > > On 11/22/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote: > > Thanks Ray, Will, Jon, > > > > For this app, I am currently using HMS on a shared

Re: cferror on application.cfm not working (?)

2006-11-22 Thread Josh Nathanson
"Raymond Camden" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Wednesday, November 22, 2006 2:32 PM Subject: Re: cferror on application.cfm not working (?) > Unfortunately no. At least not as far as I know. > > On 11/22/06, Michael E. Carluen <[EMAIL PROTECTED]> w

Re: cferror on application.cfm not working (?)

2006-11-22 Thread Raymond Camden
Unfortunately no. At least not as far as I know. On 11/22/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote: > Thanks Ray, Will, Jon, > > For this app, I am currently using HMS on a shared server. This means I do > not have access to the CF Administrator for setting the .cfm missing > template han

RE: cferror on application.cfm not working (?)

2006-11-22 Thread Michael E. Carluen
Thanks Ray, Will, Jon, For this app, I am currently using HMS on a shared server. This means I do not have access to the CF Administrator for setting the .cfm missing template handler. And HMS's (control panel) custom error template mgt only catches .htm missing templates. Can the missing templ

Re: cferror on application.cfm not working (?)

2006-11-22 Thread Jon Clausen
Oops didn't mean to dog pile on that response :-) I see Will and Ray already got it covered... On Nov 22, 2006, at 4:33 PM, Jon Clausen wrote: > Michael, > > A template error is thrown before anything else. You'll need to > handle those through your missing template handler - which you can > se

Re: cferror on application.cfm not working (?)

2006-11-22 Thread Jon Clausen
Michael, A template error is thrown before anything else. You'll need to handle those through your missing template handler - which you can set in the CFAdmin. Jon On Nov 22, 2006, at 3:58 PM, Michael E. Carluen wrote: > > > On testing it however (by using a .cfm file name that does not

Re: cferror on application.cfm not working (?)

2006-11-22 Thread Raymond Camden
cferror is for errors that occur within cfm files. To catch a 404 you are going to need to use your web server's error handling or use CF's Missing Template Handler. On 11/22/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote: > Hi everyone. > > > > I am currently a

Re: cferror on application.cfm not working (?)

2006-11-22 Thread Will Tomlinson
>On testing it however (by using a .cfm file name that does not exists), I >still see the usual debug page with "Error Occurred While Processing >Request" message and not the error.cfm. You'd need a missing template handler for that type of error. An error request template won't catch it. You'l

cferror on application.cfm not working (?)

2006-11-22 Thread Michael E. Carluen
Hi everyone. I am currently adding a basic custom error page on my app with the basic tags: on the application cfm On testing it however (by using a .cfm file name that does not exists), I still see the usual debug page with "Error Occurred While Processing Request" message and not the

Re: CFMail Throttling for CFerror handling

2006-07-18 Thread Scott Newsome
Thanks for the reply Matt. There are some useful nuggets of information the site you provided. Scott On 7/17/06, Matt Robertson <[EMAIL PROTECTED]> wrote: > > You can use cffile to store the error files to disk. > > I have a system that stores a small mountain of diagnostic info via > dumping all

Re: CFMail Throttling for CFerror handling

2006-07-17 Thread Matt Robertson
You can use cffile to store the error files to disk. I have a system that stores a small mountain of diagnostic info via dumping all existing scopes, but that has security implications. So instead I store the file to disk (as either a .cfm or a .html) where it can be viewed securely. For example

Re: CFMail Throttling for CFerror handling

2006-07-17 Thread Mike Chabot
You can have the error emails sent to a Gmail or Yahoo mail account, if you don't mind the security implications of doing that. Using an external monitoring probe could help address the issue of the database not being accessible, and can address the problem of other major errors that might have ev

Re: CFMail Throttling for CFerror handling

2006-07-17 Thread Scott Newsome
Terrence, You are absolutely correct! This is just a stop gap measure till the larger problems with infrastructure, network or exchange can be addressed. Unfortunately, the newspaper I work for is very cash strapped and slow to a address these issues. I have reservations about using the serve

RE: CFMail Throttling for CFerror handling

2006-07-17 Thread Ryan, Terrence
You could add code to all of your error trapping that specifically traps database errors. Then in the handling for that check for the existence of a application or server scope (depending on how many applications you have on the server) variable like say "server.dberrorReported." If it does not exi

Re: CFMail Throttling for CFerror handling

2006-07-17 Thread Mingo Hagen
Instead of a database, you could use a plain text file or an xml file. Mingo. Scott Newsome wrote: > Mike thanks for your reply. > > The database option is not workable because if the database fails (which in > the past has been our biggest headache). We wouldn't get any emails. I could > see chec

Re: CFMail Throttling for CFerror handling

2006-07-17 Thread Scott Newsome
Mike thanks for your reply. The database option is not workable because if the database fails (which in the past has been our biggest headache). We wouldn't get any emails. I could see checking for the database first, and if it's up, doing as you said. But if it's down I still need to be able to t

Re: CFMail Throttling for CFerror handling

2006-07-17 Thread Mike Chabot
You could log errors into a database table and have a scheduled task E-mail them out in a controlled way. I find it helps to send errors to a dedicated error E-mail account so my real accounts do not get flooded when something bad happens. -Mike Chabot On 7/17/06, Scott Newsome <[EMAIL PROTECTED]

CFMail Throttling for CFerror handling

2006-07-17 Thread Scott Newsome
Thanks in advance for any assistance. I am researching away to throttle the creation of email messages used to notify system admins when ColdFusion throws an error. We have had a problem of over-loading our exchange server when there is a database failure or some other error that effects a lot of

RE: Cferror and the site wide handler

2006-05-11 Thread Plunkett, Matthew
Thanks very much for clearing this up Matt and Dave, I was using type="request". -Original Message- From: Dave Watts Sent: Wednesday, May 10, 2006 6:21 PM To: CF-Talk Subject: RE: Cferror and the site wide handler If I recall correctly, this is the execution order for erro

Re: Cferror and the site wide handler

2006-05-10 Thread Matt Robertson
On 5/10/06, Plunkett, Matthew wrote: > My problem is that I have both 2 and 3 implemented. It seems that 2 never > hits unless I turn off 3. Is that expected, or is there a way around it? That ain't right. Are you sure you are using type="EXCEPTION" in the cferror state

RE: Cferror and the site wide handler

2006-05-10 Thread Dave Watts
> Is it possible to use both cferror and the site wide handler > in MX 6.1? > > My tests indicate that it is not possible, which is > unfortunate. It seems that the site wide will always take > precedence. Is there a way around that? > My guess is no, but thought I&#

RE: Cferror and the site wide handler

2006-05-10 Thread Snake
: 10 May 2006 19:45 To: CF-Talk Subject: RE: Cferror and the site wide handler Yes, I know where it is set. Thanks for confirming the order that they are processed. Now we have to find a new way to be secure (by hiding all the junk that default errors reveal), but let the developers see what is

RE: Cferror and the site wide handler

2006-05-10 Thread Plunkett, Matthew
Robertson Sent: Wednesday, May 10, 2006 4:23 PM To: CF-Talk Subject: Re: Cferror and the site wide handler Best way to look at error handling: 1. try/catch blocks are for situations where you have an expected potential error (i.e. a mime type failure on a file upload) and you want to handle this known

Re: Cferror and the site wide handler

2006-05-10 Thread Matt Robertson
click here try again."). You typically surround portions of code but not entire templates in try/catch blocks, as you need a try/catch block per template otherwise. 2. The cferror tag, specifically this variant of it: should be used to house your application-wide error handler, which

RE: Cferror and the site wide handler

2006-05-10 Thread Plunkett, Matthew
Thanks, I will look at this details.cfm. -Original Message- From: Steve Brownlee Sent: Wednesday, May 10, 2006 3:01 PM To: CF-Talk Subject: RE: Cferror and the site wide handler Matt, I was responding to Ben there. Didn't intend to oversimplify for you since you obviously knew abo

RE: Cferror and the site wide handler

2006-05-10 Thread Steve Brownlee
cfm). -Original Message- From: Plunkett, Matthew [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 2:45 PM To: CF-Talk Subject: RE: Cferror and the site wide handler Yes, I know where it is set. Thanks for confirming the order that they are processed. Now we have to find a new way to

RE: Cferror and the site wide handler

2006-05-10 Thread Steve Brownlee
It's only advantage, IMHO, is ease of deployment. It's certainly not useful for detailed error reporting like Matt needs. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 2:50 PM To: CF-Talk Subject: RE: Cferror and the site wide han

RE: Cferror and the site wide handler

2006-05-10 Thread Ben Nadel
Ahhh, gotcha... That would explain my confusion... I have never used the error handler in the Admin. Does it have any advantage to the CFError tag defined on a per-application level? ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001

RE: Cferror and the site wide handler

2006-05-10 Thread Plunkett, Matthew
. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 2:42 PM To: CF-Talk Subject: RE: Cferror and the site wide handler No, the site wide error handler is specified in the CF Admin under the Server Settings > Settings section. That will ca

RE: Cferror and the site wide handler

2006-05-10 Thread Steve Brownlee
No, the site wide error handler is specified in the CF Admin under the Server Settings > Settings section. That will catch any error produced by your site, and the processing will never make it to a page with CFERROR on it. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTEC

RE: Cferror and the site wide handler

2006-05-10 Thread Ben Nadel
I am a bit confused as to the difference? When I use CFERror, I am using it as a site-wide handler? Then, I can use CFTRY/CFCATCH on individual pages. Are you talking about 404 handlers?? ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY

Cferror and the site wide handler

2006-05-10 Thread Plunkett, Matthew
Is it possible to use both cferror and the site wide handler in MX 6.1? My tests indicate that it is not possible, which is unfortunate. It seems that the site wide will always take precedence. Is there a way around that? My guess is no, but thought I'd check anyway. I care because as s

Re: query data in cferror dump

2006-02-28 Thread Duncan
> > query that occurred with all the values in place. I have implemented a > > cferror page to handle these things and it doesnt show that > > information. Where would I find it in the context of the cferror? > > > > Usign MX 6.1 on Windows 2000 server >

Re: query data in cferror dump

2006-02-28 Thread Michael Traher
try On 2/28/06, Duncan <[EMAIL PROTECTED]> wrote: > > In the standard grey CF error dump on screen it contains a dump of the > query that occurred with all the values in place. I have implemented a > cferror page to handle these things and it doesnt show that > information.

query data in cferror dump

2006-02-27 Thread Duncan
In the standard grey CF error dump on screen it contains a dump of the query that occurred with all the values in place. I have implemented a cferror page to handle these things and it doesnt show that information. Where would I find it in the context of the cferror? Usign MX 6.1 on Windows 2000

RE: CF performance tuning: CFTRY/CFCATCH vs CFERROR? What about e xcessive CFOUTPUTs?

2005-12-29 Thread Dave Watts
> Actually you can nest try/catch (wrap whole page, with individual code > blocks wrapped inside of that) and its not a problem, although as you > say its a dumb thing to do, once you know better. Sure, you can do that. But it adds unnecessary complication to error handling, and can cause some odd

Re: CF performance tuning: CFTRY/CFCATCH vs CFERROR? What about e xcessive CFOUTPUTs?

2005-12-29 Thread Matt Robertson
On 12/29/05, Dave Watts <[EMAIL PROTECTED]> wrote: > However, > wrapping a CFTRY around a page is bad, bad, bad! That's not what it's for - > that's why we have CFERROR. As obsessed as I am about error handling, it unfortunately took me a long time to learn this, an

Re: CF performance tuning: CFTRY/CFCATCH vs CFERROR? What about excessive CFOUTPUTs?

2005-12-29 Thread John Paul Ashenfelter
a > CFCATCH at the end to trap errors, or to simply have a CFERROR page > specified in application.cfm (and only use CFTRY/CFCATCH in specific pieces > of code that might need special error handling procedures)? In other words, > what is the performance cost for code that is executing

RE: CF performance tuning: CFTRY/CFCATCH vs CFERROR? What about e xcessive CFOUTPUTs?

2005-12-29 Thread Dave Watts
> Is there any definitive info on whether it is more efficient > to put a CFTRY around an entire page's contents, with a > CFCATCH at the end to trap errors, or to simply have a CFERROR > page specified in application.cfm (and only use CFTRY/CFCATCH in > specific pieces of

Re: CF performance tuning: CFTRY/CFCATCH vs CFERROR? What about excessive CFOUTPUTs?

2005-12-29 Thread Nathan Strutz
The try/catch vs cferror page - it's really about what works best for you, what is more manageable, and what gives the best results for you. Try/catch isn't really made for wrapping whole pages, but it won't cause errors or problems. It's just not as manageable as cferror.

CF performance tuning: CFTRY/CFCATCH vs CFERROR? What about excessive CFOUTPUTs?

2005-12-29 Thread Reed Powell
Hello all - I've googled the heck out of this topic, and there are more opinions than I can count! Is there any definitive info on whether it is more efficient to put a CFTRY around an entire page's contents, with a CFCATCH at the end to trap errors, or to simply have a CFERROR page sp

Re: cferror problem

2005-10-14 Thread Sam Farmer
Most likely you have an error in CustomError.cfm. If CF can't call the error template page it gives the error of the original page. Cheers, Sam On 10/14/05, Chad McCue <[EMAIL PROTECTED]> wrote: > > I am running CF7on windows 2003. > > I am trying to use in my application.cfm file and it never

cferror problem

2005-10-14 Thread Chad McCue
I am running CF7on windows 2003. I am trying to use in my application.cfm file and it never calls my template I give it. here is my call. Here is the error the page has. 13:00:28.028 - Expression Exception - in D:\Inetpub\wwwroot\AgentSite\FunctionPages\AccountFunctions.cfc : line 841

Using cferror

2005-10-13 Thread Chad McCue
I am running CF7on windows 2003. I am trying to use in my application.cfm file and it never calls my template I give it. here is my call. Here is the error the page has. 13:00:28.028 - Expression Exception - in D:\Inetpub\wwwroot\AgentSite\FunctionPages\AccountFunctions.cfc : line 841

CFERROR

2005-10-13 Thread Chad McCue
I am running CF7on windows 2003. I am trying to use in my application.cfm file and it never calls my template I give it. here is my call. Here is the error the page has. 13:00:28.028 - Expression Exception - in D:\Inetpub\wwwroot\AgentSite\FunctionPages\AccountFunctions.cfc : line 841

  1   2   3   4   >