Ask a Question related to Macromedia ColdFusion, Design and Development.
-
patb96 #1
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 application page
looks like.
<!---Handle Database Exceptions--->
<cferror type="exception" exception="Database" mailto="webmaster@domain.com"
template="_common/errors/exceptionhandler.cfm">
<!---Handle Expression Errors--->
<cferror type="exception" exception="Expression" mailto="webmaster@domain.com"
template="_common/errors/exceptionhandler.cfm">
<!---Handle Lock Errors--->
<cferror type="exception" exception="MissingInclude"
mailto="webmaster@domain.com" template="_common/errors/exceptionhandler.cfm">
<!---Handle Template Errors--->
<cferror type="exception" exception="Template" mailto="webmaster@domain.com"
template="_common/errors/exceptionhandler.cfm">
<!---Handle Exception Errors--->
<cferror type="exception" exception="Any" mailto="webmaster@domain.com"
template="_common/errors/exceptionhandler.cfm">
<cfapplication name="Enable_Session" clientmanagement="no"
sessionmanagement="yes" setclientcookies="yes"
setdomaincookies="no">
<cfparam name="APPLICATION.temp_file_name" type="string" default="">
<!--- Reset the CFID and CFToken cookies to expire session and client
variables after the user's browser closes. --->
<cfif IsDefined("cookie.CFID") AND IsDefined("cookie.CFToken")>
<cfcookie name="CFID" value="#cookie.CFID#">
<cfcookie name="CFToken" value="#cookie.CFToken#">
</cfif>
The server we use internally for testing runs on coldfusion MX and the
"database" error page works, but when we push our site to the live server
which runs a previous version of coldfusion we cannot get the error page to
work. Just wondering if this error type was exclusive to coldfusion MX or
not? If anyone can let me know something that i might be doing wrong it would
be greatly appreciated.
Thank,
Pat B
patb96 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 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
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... -
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...



Reply With Quote

