Re: bypassing the site-wide error handler

2014-12-10 Thread Chris
On Mon, Dec 8, 2014 at 10:02 PM, Rodney Enke renk...@gmail.com wrote: The site wide error handler will not run if there is a local error handler, such as CFTRY/CFCATCH or CFERROR, unless the CFTRY/CFCATCH block rethrows the error. - Rodney On Mon, Dec 8, 2014 at 8:52 PM, Dave Watts dwa

bypassing the site-wide error handler

2014-12-08 Thread Chris Norloff
Hi, when can an application bypass the CF v9 site-wide error handler? We host an app, that uses cftry/catch, but that appears to not handle the errors correctly. The errors do not trigger the site-wide error handler, and the errors are displayed to the users. The site-wide error handler works

Re: bypassing the site-wide error handler

2014-12-08 Thread Dave Watts
Hi, when can an application bypass the CF v9 site-wide error handler? We host an app, that uses cftry/catch, but that appears to not handle the errors correctly. The errors do not trigger the site-wide error handler, and the errors are displayed to the users. The site-wide error handler

Re: bypassing the site-wide error handler

2014-12-08 Thread Rodney Enke
The site wide error handler will not run if there is a local error handler, such as CFTRY/CFCATCH or CFERROR, unless the CFTRY/CFCATCH block rethrows the error. - Rodney On Mon, Dec 8, 2014 at 8:52 PM, Dave Watts dwa...@figleaf.com wrote: Hi, when can an application bypass the CF v9 site

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Not sure where this goes in CF5.5. Place it in your error handler. !---if the request is ajax, throw an error that can be returned to the client in a basic string and then log the error as usual--- cfset requestHeaders = getHTTPRequestData().headers

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Thanks Tony! Will the cfheader statusCode=500 work with the site-wide error handler on? I tried adding this tag to my ajax code, but it is still returning as success. Thanks, Donnie ~| Order the Adobe Coldfusion Anthology

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
statusCode=500 work with the site-wide error handler on? I tried adding this tag to my ajax code, but it is still returning as success. Thanks, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Hi Tony, Thanks again. I should mention that I want the site-wide error handler to run. It writes to log files, sends email notification as well as some other bug tracking pieces we have in place. If I put a cfabort in the code, the site-wide error handler won't run. Are you suggesting

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Hi Tony, I just realized you were intending for the code to go in the site-wide error handler and not the custom error handling of the AJAX code. I got it working. This was a great help!! Thanks again, Donnie Check firebug (how many times do people say this?) If you throw a 500

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Nice work! - Tony Bentley (sent from iPhone) On Nov 11, 2010, at 11:06 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Hi Tony, I just realized you were intending for the code to go in the site-wide error handler and not the custom error handling of the AJAX code. I got

JQuery Ajax Error issue with Site-wide Error Handler

2010-11-10 Thread Donnie Carvajal
I have some Ajax running via jQuery and I also have a site-wide error handler running for ColdFusion. When the coldfusion template is called via ajax and an error is thrown via cfthrow, the ajax error handler is not triggered, instead the ajax success handler is. If I remove the site-wide

RE: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-10 Thread Brook Davies
-Original Message- From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: November-10-10 10:47 AM To: cf-talk Subject: JQuery Ajax Error issue with Site-wide Error Handler I have some Ajax running via jQuery and I also have a site-wide error handler running for ColdFusion. When

Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
Is there some way to introspect settings like the Site Wide Error Handler using something like the Service factory? I don't have access to the CF Administrator on CF8 but there are times when I need to figure out basic settings. Thanks! Warren

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Tony Bentley
In your applicaiton.cfc, you can do something like the following: cffunction name=OnError access=public output=true cfargument name=Exception type=any required=true / cfargument name=EventName type=string required=false default= / cftry !--- log

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
Good idea but. I am already using the Site-wide error handler to invoke a template. Problem is I can't remember what template it was set to on various CF instances I run. Since I don't have access to CF Admin, I'd like some sort of way to introspect the instance and find out what

RE: Determine Site-Wide Error Handler

2010-01-26 Thread Jacob
AM To: cf-talk Subject: Re: Determine Site-Wide Error Handler Good idea but. I am already using the Site-wide error handler to invoke a template. Problem is I can't remember what template it was set to on various CF instances I run. Since I don't have access to CF Admin, I'd like some sort

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
Sorry. I meant I have a bunch of separate CF8 installations on different physical servers. We do one cf install per base application URL here so one server can have a lot of CF installs. I guess I have a dozen different installs to keep track of. I would love to be able to read the

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Tony Bentley
How about if you customize the degugging template? C:\ColdFusion8\wwwroot\WEB-INF\debug\classic.cfm Add a cffile action=write to the classic.cfm and dump out all of the debugging somewhere. This is of course if debugging is turned on. Otherwise, I think you need a Java guy.

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Qing Xia
Assuming the language in the error template are not dynamically generated by pulling some database record, could you do a global search among your CF templates for the language used in the error template? Like, search for the phrase We are awfully sorry but you've hit an error on Orange Whip

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
I can manually figure it out as suggested by sweeping for recognizeable text. I was hoping for something simpler and more powerful that would tell me that parameter and others on the Server Settings page, giving me tool for future use. I'd really thought there would be some sore of Java

Re: CF5 Site-wide Error Handler

2009-12-16 Thread Donnie Carvajal
I wanted to repost this. See below. Any help is appreciated. I have a site-wide error handler setup for a CF 5 server. I also have one setup for an MX7 server. The MX7 server will still display the standard debug information even if the site-wide error handler is triggered. The CF 5

CF5 Site-wide Error Handler

2009-12-10 Thread Donnie Carvajal
I have a site-wide error handler setup for a CF 5 server. I also have one setup for an MX7 server. The MX7 server will still display the standard debug information even if the site-wide error handler is triggered. The CF 5 server will not. Is this a limitation with CF 5 or am I missing

Re: Site-wide error handler

2009-05-20 Thread Al Musella, DPM
At 07:35 PM 5/19/2009, you wrote: The error logging throttle needs some work (tries to prevent duplicate error emails, etc.), but overall, I'm liking this approach mucho. I gave up on emailing myself every error message. I use gmail and it was refusing mail because I was getting too many.

Re: Site-wide error handler

2009-05-20 Thread denstar
On Wed, May 20, 2009 at 7:46 AM, Al Musella, DPM wrote: At 07:35 PM 5/19/2009, you wrote: The error logging throttle needs some work (tries to prevent duplicate error emails, etc.), but overall, I'm liking this approach mucho.   I gave up on emailing myself every error message.  I use gmail

Site-wide error handler

2009-05-19 Thread Eric Roberts
I have a bit of a silly question here. I have never used the site-wide error handler before. Assuing the error template is in a folder called misc in the webroot, I should only have to enter /misc/displayerror.cfm in cf admin, right? It doesn't seem to like that. Am I doing something wrong

Re: Site-wide error handler

2009-05-19 Thread Joe Kelly
, Eric Roberts ow...@threeravensconsulting.com wrote: I have a bit of a silly question here. I have never used the site-wide error handler before. Assuing the error template is in a folder called misc in the webroot, I should only have to enter /misc/displayerror.cfm in cf admin, right

Re: Site-wide error handler

2009-05-19 Thread Eric Roberts
to reference your template in the site wide template field. Well, it was for me HTH Joe Kelly On Tue, May 19, 2009 at 3:57 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have a bit of a silly question here. I have never used the site-wide error handler before. Assuing the error

Re: Site-wide error handler

2009-05-19 Thread Dave Watts
I have a bit of a silly question here.  I have never used the site-wide error handler before.  Assuing the error template is in a folder called misc in the webroot, I should only have to enter /misc/displayerror.cfm in cf admin, right?  It doesn't seem to like that.  Am I doing something

Re: Site-wide error handler

2009-05-19 Thread Eric Roberts
that doesn't exist and I still get the standard cf error page. Eric On Tue, May 19, 2009 at 4:29 PM, Dave Watts dwa...@figleaf.com wrote: I have a bit of a silly question here. I have never used the site-wide error handler before. Assuing the error template is in a folder called misc

Re: Site-wide error handler

2009-05-19 Thread Dave Watts
a page that doesn't exist and I still get the standard cf error page. The site-wide error handler doesn't apply to pages that don't exist. There's a 404 handler for that, if I recall correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

Re: Site-wide error handler

2009-05-19 Thread denstar
to be set up?  I have the files...yet to be coded...but the files are there.  I try to pull up a page that doesn't exist and I still get the standard cf error page. The site-wide error handler doesn't apply to pages that don't exist. There's a 404 handler for that, if I recall correctly. Dave

Re: Site-wide error handler

2009-05-19 Thread Eric Roberts
a page that doesn't exist and I still get the standard cf error page. The site-wide error handler doesn't apply to pages that don't exist. There's a 404 handler for that, if I recall correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf

Site-wide Error Handler

2008-11-19 Thread Chad Gray
In the CFAdmin it says to put the relative path to the template. Where do I put the file and how to I format the path? I have tried many combinations and it keeps saying it cannot find the file. We use IIS if this helps. Chad

Re: Site-wide Error Handler

2008-11-19 Thread Ian Skinner
is in the Java server root. It is only in the latter that I have ever successfully used the site wide error handler. On my system this root folder is drive:\JRun4\servers\cfusion\cfusion-ear\cfusion-war, but this will very greatly depending on what version, flavor and configuration choices

RE: Site-wide Error Handler

2008-11-19 Thread Chad Gray
even if I do http://localhost/errors/404.cfm i get IIS's 404 page. Shouldn't the mapping deliver the 404.cfm page? -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 3:06 PM To: cf-talk Subject: Re: Site-wide Error Handler Chad Gray

RE: Site-wide Error Handler

2008-11-19 Thread Chad Gray
Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 3:55 PM To: cf-talk Subject: RE: Site-wide Error Handler Hmm ya I made a mapping to a folder called errors and put my 404 page and error page in it. Then I used /errors/404.cfm in the cfadmin and it says

Re: Site-wide Error Handler

2008-11-19 Thread Azadi Saryev
? -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 3:55 PM To: cf-talk Subject: RE: Site-wide Error Handler Hmm ya I made a mapping to a folder called errors and put my 404 page and error page in it. Then I used /errors/404.cfm

post limit and site wide error handler

2008-07-01 Thread Rick Root
Can anyone verify for me that CF *does* or *does not* handle POST size errors with a site wide error handler? Mine does not. instead of a normal CF error I get one of them ugly jrun 500 errors that looks like this: 500 coldfusion.filter.RequestThrottleFilter$PostSizeLimitExceededException: Post

Re: post limit and site wide error handler

2008-07-01 Thread Rick Root
(oh ... 8.0.1 with the latest cumulative hot fix, on windows.. cf standard) On Tue, Jul 1, 2008 at 10:17 AM, Rick Root [EMAIL PROTECTED] wrote: Can anyone verify for me that CF *does* or *does not* handle POST size errors with a site wide error handler? Mine does not. instead of a normal CF

RE: post limit and site wide error handler

2008-07-01 Thread Dave Watts
Can anyone verify for me that CF *does* or *does not* handle POST size errors with a site wide error handler? It does not. I think you can use the JRun web server error handler for this; with IIS, you'd specify an errorurl entry in wsconfig\1\jrun.ini (assuming that IIS is the first web server

Re: post limit and site wide error handler

2008-07-01 Thread Rick Root
On Tue, Jul 1, 2008 at 11:32 AM, Dave Watts [EMAIL PROTECTED] wrote: Can anyone verify for me that CF *does* or *does not* handle POST size errors with a site wide error handler? It does not. I think you can use the JRun web server error handler for this; with IIS, you'd specify an errorurl

RE: post limit and site wide error handler

2008-07-01 Thread Dave Watts
as instructed here? http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19300 Yes. But that would have to be a very generic error page for any jrun error right, I couldn't perform CF processing and display a friendly error message based on the actual error that occurred

Site-wide Error Handler

2007-12-10 Thread James Smith
Is there a way to override the Site-wide Error Handler for a specific template? I ask because I need to test some code on our production server due to some third party licensing issues but my errors are of course obscured by our error handler. I don't want to turn it off globally as that would

re: Site-wide Error Handler

2007-12-10 Thread Jake Churchill
I support a site where we do this based on client IP: cfset unblockedIPs = 'xx.xx.xxx.xx,yy.yy.yyy.yy' cfif NOT ListFind(unblockedIPs, cgi.remote_addr) cferror... /cfif So, it makes sense to me that you could override the site-wide error handler in the same way by changing the if to cfif

RE: Site-wide Error Handler

2007-12-10 Thread James Smith
How could I use this to disable the Site-wide Error Handler (set in the administrator) though? -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: 10 December 2007 13:28 To: CF-Talk Subject: re: Site-wide Error Handler I support a site where we do this based

RE: Site-wide Error Handler

2007-12-10 Thread Jake Churchill
to mind. _ Jake Churchill Team Leader 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 8:03 AM To: CF-Talk Subject: RE: Site-wide Error Handler How

RE: Site-wide Error Handler

2007-12-10 Thread James Smith
I was unaware of that, just setting a couple of cferror tags worked a treat, cheers. -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: 10 December 2007 14:25 To: CF-Talk Subject: RE: Site-wide Error Handler Using CFERROR tags inside the application.cfm file should

RE: Site-wide error handler?

2005-09-19 Thread Andy McShane
I will try to locate that. -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: 16 September 2005 21:59 To: CF-Talk Subject: Re: Site-wide error handler? Hi Andy, I wrote that handler, and it runs on a bunch of CF 6.1 servers and on some others I manage

RE: Site-wide error handler?

2005-09-19 Thread Andy McShane
Good call, I will try that also. -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: 19 September 2005 00:49 To: CF-Talk Subject: Re: Site-wide error handler? The problem is my pretty error page does not get display, the egenric ugly coldfusion page always

RE: Site-wide error handler?

2005-09-19 Thread Andy McShane
2005 10:10 To: CF-Talk Subject: RE: Site-wide error handler? Thanks for sharing that code Matt, it is exactly what I have been looking for so I will continue to search for what I have done wrong to stop it working. I do have the other templates inside of the same directory so I think that I must

RE: Site-wide error handler?

2005-09-19 Thread Andy McShane
More info, tries it on an MX server, same result. I am forcing an error by trying to output a variable from a query that does not exist. If my only have my standard error page that I use now in the ErrorHandler directory everything is displayed correctly, it only goes wrong when I try to use the

Re: Site-wide error handler?

2005-09-19 Thread Matt Robertson
Since you can reproduce the problem on different servers and vers it sounds very much like you have something funky in the code. If CF detects an error in your error handler it will default to raw handling. I've never thought to try it before, but maybe you can wrap your error handler in the

Re: Site-wide error handler?

2005-09-18 Thread Mary Jo Sminkey
The problem is my pretty error page does not get display, the egenric ugly coldfusion page always appears and I do not know why. Have you tried using a cferror tag in your application.cfm page? That will also help isolate whether the problem is the error handler, or the call to it.

Site-wide error handler?

2005-09-16 Thread Andy Mcshane
Hi I am trying to implement a site-wide error handler for a dedicated server running only 2 related aplications on a Coldfusion 7/Win2k3 setup. I have been trying to use the code I found at 'http://mysecretbase.com/building_a_coldfusion_error_handler.cfm'. All works fine up to a point

Re: Site-wide error handler?

2005-09-16 Thread Matt Robertson
Hi Andy, I wrote that handler, and it runs on a bunch of CF 6.1 servers and on some others I manage that are on CF5. I just looked at my own server's code and it follows that model pretty much exactly. Are you putting your included display pages in the same folder as the site-wide error

Re: Site-wide error handler?

2005-09-16 Thread Matt Robertson
Another thing, is the dumper doing its job? You stated you can execute it, but didn't state if it did what you expected. Do you maybe have cffile locked down? If I were debugging this I would stick something like cfoutput#now()#/cfoutputcfdump var=#error#cfabort into your dumper and move it

Got a nice site-wide error handler for CFMX?

2005-01-28 Thread Gaulin, Mark
Hi Anybody want to share their code for a site-wide error handler for CFMX? I have one from CF5 that emails me the details of the error and shows the user a nice message, but the new error details in cfmx are very nice, and I'd like to get at them. cfdump'ing the error struct shows what's

Re: Got a nice site-wide error handler for CFMX?

2005-01-28 Thread Matt Robertson
http://mysecretbase.com/Building_A_ColdFusion_Error_Handler.cfm Works for multiple sites in that you can set them to email errors, or just store them to disk (if they contain sensitive info that you don't want going out over email) or both, and has a viewer that lets you see the .html error files

Site-wide Error Handler Template for CFMX

2004-09-21 Thread Ketan Patel
Hi All, Does anybody have a good Site-wide Error Handler Template? Would like to share with me. If yes please email me off the list. I want to give a user-friendly message on the screen when there is a CF error. Ketan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe

Re: Site-wide Error Handler Template for CFMX

2004-09-21 Thread Matt Robertson
part or all of this might be what you want.Its a handler and a viewer as well (If data is marked sensitive it doesn't email it). http://mysecretbase.com/Building_A_ColdFusion_Error_Handler.cfm -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message]

Re: Site-wide error handler code

2004-08-17 Thread Matt Robertson
Howie Hamlin wrote: Does anyone have a good site-wide error handler template that I can use?I would like to log error details and optionally email the errors at the same time. Here's one I'm playing around with right now.I'm curious if anyone knows if this would work in CF5? It determines

Site-wide error handler code

2004-08-15 Thread Howie Hamlin
Does anyone have a good site-wide error handler template that I can use?I would like to log error details and optionally email the errors at the same time. Thanks, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award

Site-wide Error Handler in CFMX Admin

2003-12-30 Thread Ketan Patel
Hi All, Does anybody have Site-wide Error Handler working in CFMX admin. I have a script which works on CF5.0 but doe snot work on CFMX. Also I am confused with this explainiation. Specify the relative path to a template to execute when the ColdFusion Application Server encounters errors while

RE: Site-wide Error Handler in CFMX Admin

2003-12-30 Thread Mike Townend
something like cftools pointing to c:\cftools\ then use /cftools/systemerror.cfm as the error path HTH -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 14:32 To: CF-Talk Subject: Site-wide Error Handler in CFMX Admin Hi All, Does anybody have

CFlocation in a Site-wide Error Handler with CFMX and caffeine

2003-02-18 Thread Mark W. Breneman
and simply CFlocation off to the correct display error page. I do not seem to be able to use a CFlocation in the .cfm file that have defined as a Site-wide Error Handler in the CF admin. Does anyone know if one of the other methods will work? cfoutput scriptlocation='#myURL#';/script /cfoutput

Re: CFlocation in a Site-wide Error Handler with CFMX and caffeine

2003-02-18 Thread Jochem van Dieten
Mark W. Breneman wrote: cfheader statuscode=301 cfheader name=Location value=http://domain/; I am not familiar with your problem, but *don't* use a 301 for an error- redirect. A 301 is a permanent redirect which a browser is allowed to cache. Use a 302 or if a change from POST to GET is

site-wide error handler

2003-01-10 Thread Mahmut Basaran
Hi All, I'm trying to implement a site-wide error handler. Although it works with a static page (an error occured etc..), I had no luck with putting cf logic into the error handler (cfmail). Has anyone successfuly implemented this in cf mx ? Thank you, Mahmut

Re: site-wide error handler

2003-01-10 Thread E. Keith Dodd
: Friday, January 10, 2003 8:17 PM Subject: site-wide error handler Hi All, I'm trying to implement a site-wide error handler. Although it works with a static page (an error occured etc..), I had no luck with putting cf logic into the error handler (cfmail). Has anyone successfuly implemented

RE: site-wide error handler

2003-01-10 Thread Tim Do
, January 10, 2003 7:45 AM To: CF-Talk Subject: Re: site-wide error handler Mahmut I have site-wide error on all my sites, MX included. Not sure what you have, but here is what I do: 1. In Application.cfm: CFERROR type=EXCEPTION template=ErrorTemplate.cfm 2. Then on ErrorTemplate: a. Just a general

RE: site-wide error handler

2003-01-10 Thread webguy
Message- From: E. Keith Dodd [mailto:[EMAIL PROTECTED]] Sent: 10 January 2003 15:45 To: CF-Talk Subject: Re: site-wide error handler Mahmut I have site-wide error on all my sites, MX included. Not sure what you have, but here is what I do: 1. In Application.cfm: CFERROR type=EXCEPTION

Re: site-wide error handler

2003-01-10 Thread E. Keith Dodd
:54 AM Subject: RE: site-wide error handler Does your #CFError.Diagnostics# in the email show what included template that the error occurred in? I just get this: ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either: You have

RE: site-wide error handler

2003-01-10 Thread Dave Watts
also different from what Mahmut is looking for! Within the CF Administrator, you can specify a site-wide error handler on the Settings page. That's not the same as changing the path to default error handlers in the web.xml file. The files specified in web.xml will be used if there's an error in your

Re: site-wide error handler

2003-01-10 Thread Mahmut Basaran
Hi All, I'm sorry for the confusion, I was trying to setup a site-wide error handler in cf administration. I did but it doesn't work. This is what did: 1) made a template called handleOurErrors.cfm in /sitewide 2) put /sitewide/handleOurErrors.cfm in cfadmin - settings - sitewide box 3) call