Your code is most likely throwing an exception error, after which no CFML
can be processed. There are multiple error types which may be thrown
(exception, request, monitor and some other I can't remember).
Though you did not say it, I bet your <cfmail> tag is getting processed some
times (like when a request error is thrown), leading you to believe the
code in the error template is buggy.
Use multiple error handling templates (in your application.cfm), something
like this:
<cfparam name="ExceptionHandling" default="1">
<cfif ExceptionHandling eq 1>
<cferror type="request" template="errorrequest.cfm"
mailto="#variables.ErrorEmail#">
<cferror type="exception" template="errorexception.cfm"
mailto="#variables.ErrorEmail#">
</cfif>
Forta's CF5 WACK book covers this in detail- HTH.
-Craig
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists