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.
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
It's easiest to create a mapping in the CF Admin for your error template
folder, make sure the template is in there, go to the settings panel, and
use the mapping 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,
I just figured that out heheheh. Thanks Joe!
On Tue, May 19, 2009 at 4:05 PM, Joe Kelly joekell...@gmail.com wrote:
It's easiest to create a mapping in the CF Admin for your error template
folder, make sure the template is in there, go to the settings panel, and
use the mapping to
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
yeah...I have multiple sites on my laptop for testing...so i don't have /
defined. I did just creat a mapping ot that directory and CF admin took the
values. Is there anything else that needs to be set up? I have the
files...yet to be coded...but the files are there. I try to pull up a page
yeah...I have multiple sites on my laptop for testing...so i don't have /
defined. I did just creat a mapping ot that directory and CF admin took the
values. Is there anything else that needs to be set up? I have the
files...yet to be coded...but the files are there. I try to pull up a
I recently wrote an exception handling service that uses the onError
in Applicaiton.cfc (or vice-versa).
I like it, because I'm trapping 404 errors the same way I would any
other error (I do special stuff if it's a 404), so there's only one
place to configure exception handling.
The error
I'll have to think about that one...thanks!
Dave...I also have the missing page template set...
Eric
On Tue, May 19, 2009 at 6:35 PM, denstar valliants...@gmail.com wrote:
I recently wrote an exception handling service that uses the onError
in Applicaiton.cfc (or vice-versa).
I like it,
Chad Gray wrote:
Where do I put the file and how to I format the path?
There is a little understood weirdness to the MX generation of
ColdFusion. It has two web roots in which it will look for CFM files.
The first is the web root defined in the web server, IIS in your case.
The second is
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
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
?
-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
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
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
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
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
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
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
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
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
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
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.
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
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
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]
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
is there a CF Mapping setup to point to c:\cftools ?
the change between cf5 and MX means that instead of passing and absolute
path you need to put a relative path to a CF mapping (not an IIS mapping)
if your error template is set to c:\cftools\systemerror.cfm then add a
mapping called
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 statement that there has been some error and that email is
being sent to
, 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
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
: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
I think that is different to what Mahmut is looking for
Look in the /wwwroot/WEB_INF/web.xml
where you can specify handlers
eg
error-page
error-code500/error-code
location/WEB-INF/exception/java/lang/Exception.cfm/location
/error-page
I think that's
: site-wide error handler
I think that is different to what Mahmut is looking for
Look in the /wwwroot/WEB_INF/web.xml
where you can specify handlers
eg
error-page
error-code500/error-code
location/WEB-INF/exception/java/lang/Exception.cfm/location
/error-page
I think that's
34 matches
Mail list logo