The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
how to catch this error using
<cferror type="exception" template="CustomError.cfm">
<cferror type="request" template="CustomError.cfm">
in Application.cfm
Pugal
error catch in cfmlhow to catch Error Occurred While Processing Request
Page 1 of 1
2 Replies - 909 Views - Last Post: 07 April 2010 - 07:13 AM
Replies To: error catch in cfml
#2
Re: error catch in cfml
Posted 07 April 2010 - 06:07 AM
What I would suggest is using an Application.cfc file and use the onerror and onMissingMethod methods. Those let you better able to catch errors, and application.cfm which seems to be what you are using is a bit out-dated nowadays. Check out the Livedocs for ColdFusion to learn more about Application.cfc
#3
Re: error catch in cfml
Posted 07 April 2010 - 07:13 AM
Pugal, what you posted looks to be something you saw pop up on the monitor as though it were an app error message. It actually tells you all you need to know about how to remedy the problem (or at least catch the error). Since it explicitly says "in Application.cfm" it would appear you're using an older version of CF. The last CF version to not have Application.cfc was MX6.1. If you're using anything later that MX6.1 then xheartonfire43x's suggestion is entirely the way to go. Application.cfc is the better way to deal with your application setup and error handling methods.
If you are using 6.1 or an earlier CF version then the link you need is this: Adobe LiveDocs entry for CFERROR.
Good luck!
If you are using 6.1 or an earlier CF version then the link you need is this: Adobe LiveDocs entry for CFERROR.
Good luck!
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|