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 saying that httpreferrer is undefined in error. Is
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 phasereve...@gmail.com wrote:
I'm setting up a cferror template that collects the following info.
INSERT INTO Errors(HTTPReferrer, Diags, Query,
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 Trial
You can use the Missing Template Handler in CFMX Admin.
Chris
-- Original Message --
From: Will Tomlinson [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date: Wed, 30 Mar 2005 20:40:29 -0400
cferror DEFINITELY will not catch missing file errors. I
Darn. You can use cftry/catch, with a catch type of missinginclude, but this
requires cftry/catch on the page, and can't be implemented globally (it's
intended for fine-grain exception handling)
Chris Norloff
-- Original Message --
From: Will Tomlinson
cferror DEFINITELY will not catch missing file errors. I just
had that one happen on my site, still trying to figure out a
way around it. :)
Did you set the missing template handler within the CF Administrator?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software
Did you set the missing template handler within the CF Administrator?
I'm using Shared Hosting - No access.
Thanks,
Will
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
30, 2005 9:36 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: cferror question
Did you set the missing template handler within the CF Administrator?
I'm using Shared Hosting - No access.
Thanks,
Will
~|
Logware
Hi all
I can't get this to work and I've tried livedocs but I don't see
anything that says that I shouldn't be able to do this
!--- cferrror ---
cferror type=exception exception=com.whatever
template=error_comwhatever.cfm
cferror type=exception exception=com.whatever.validation
Looks okay to me. The next thing I'd do is put cfdump var=#cferror# in the
exception handling template to see the cferror scope variables - maybe
something's not exactly as you expect (and you might check the cfcatch scope,
too).
Chris Norloff
-- Original Message
Hi Chris
I can see that when you dump out cferror, the thrown exception is stated
in the structure, my problem lies in that I can't seem to get Cold
Fusion to go to the correct template... The two scenarios are below and
it goes against what my thinking was...
- SCENARIO ONE TEMPLATE
cferror
Hello all.
Anyone know if I can use CFERROR when I get
HTTP/1.0 404 Object Not Found
or for this matter I set up my IIS to display another error page to the user?
Thanks.
WJunior
__
This list and all House of Fusion
PROTECTED]]
Sent: Thursday, July 11, 2002 2:29 PM
To: CF-Talk
Subject: CFERROR Question
Hello all.
Anyone know if I can use CFERROR when I get
HTTP/1.0 404 Object Not Found
or for this matter I set up my IIS to display another error page to the
user?
Thanks.
WJunior
Good Morning,
I have been trying to utilize my global error template processing, It does
bring up the error page, but not the images if the error is not in the same
directory as the error page. Both the application and error page are in the
root of my directory. Could someone help me?
Here is
ot; [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 5:39 PM
Subject: CFERROR Question
Good Morning,
I have been trying to utilize my global error template processing, It does
bring up the error page, but not the images if the error is not in the
same
dire
15 matches
Mail list logo