I have setup <cferror> my application.cfm, with a type of REQUEST that
calls a local CF page. For some reason, when a syntax error occurs, the
tag does not get called, and the standard error code shows. Any Ideas? I
have included the code.
Code within application.cfm
<!---Request Error Code --->
<cferror type="Request" template="error_request.cfm">
Error_Request.cfm
<!---
---Page......: error_request.cfm
---Date......: 09/12/2003
---Author....: Dave Sueltenfuss
---Desc......: Displays error message
---Called By.:
---Calls.....:
---************************************Modifications********************
*******************************
---
--- Editor Date Description
---Dave Sueltenfuss 08/29/03 Created as new
--->
<html>
<!---Defines style sheet--->
<STYLE TYPE="text/css">
BODY {
background : #7690C3;
color:black;
}
A {
color: #0017D1;
font: Latha;
}
table{
background-color : #DDE5CD;
}
</STYLE>
<body>
<div align=center>
<img src="images/hrmslogo.gif"></br>
The system has encountered an error while processing
this page.<br>
Please go <a href="javascript:history.go(-1)">back</a>,
and try again.<br>
If you still encounter this message, please contact <a
href="mailto:[EMAIL PROTECTED]"
onmouseover="window.status='';return true">HRMS Technical
Support</a>,<br> with the information located below<br>
Error:#error.message#<br>
Template:#error.template#<br>
</div>
</body>
</html>
Thanks
Dave Sueltenfuss
Application Developer
Certified ColdFusion MX Developer
Arch Wireless
Phone: 508-870-6711
Fax: 508-836-2760
Email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm