Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
game_on #1
CFERROR
Hi. I am just testing a simple site to try cf. The header is in application.cfm
and the fotter in OnRequestEnd.cfm
The main page is the requested file. Eg: test.cfm
If I delete test.cfm, it still loads a page but the following error is there
(as expected):
File not found: /moo.cfm
coldfusion.runtime.TemplateNotFoundException - in : line -1
In these instances - I wanted to keep the content from application.cfm and
OnRequestEnd.cfm but just include a default page.
I thought that the following would sort it:
<cferror type = "EXCEPTION"
template = "standardcontent.cfm"
EXCEPTION="coldfusion.runtime.TemplateNotFoundExce ption">
What am I doing wrong?
M@)
game_on Guest
-
CFError and Email Report
I want an email to be triggered with details of any errors a customer has whilst on our website. Running CFMX 7. I have read that CFML will only... -
cferror and Server Name
Hello All, We have an exception handler page that will email us the page the user was on and the page the user was trying to get to. My question... -
cferror question??
Hi all... I am using cferror to catch errors in our site and am able to catch every type of error except for a "database" error. Here is what our... -
CFERROR and logging
I cannot get errors to be logged when using the cferror tag. When I add the cflog to the errorhandling file, it displays the output of the cflog... -
cferror woes
Hello, I currently have cferror catching errors on a clients website which is running from our staging server. The client also has their own UAT... -
Stressed_Simon #2
Re: CFERROR
Read here:-
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p24.htm#wp2022557[/url]
That will tell you what is allowed. To do what you are trying to do, I think
you need to edit your .htaccess file (if you are on Apache?).
Stressed_Simon Guest



Reply With Quote

