so I put back both cferror tags one for request and one for exception.  I 
forced a db error and I see the dump from the sendError page, but when I wrap a 
cfmail around it, I get nothing but the text from the errorPage.

-----Original Message-----
From: Qing Xia [mailto:txiasum...@gmail.com] 
Sent: Thursday, January 28, 2010 12:21 PM
To: cf-talk
Subject: Re: cferror / cfmail issue


When type="request", the error template is not supposed to contain any CFML
tags, and you may only refer to a handful of special variables in the error
scope.

When you said you have both and request and exception values... did you mean
you have two CFError tags in application.cfm, one with type="request" and
the other with type="exception"?

Maybe the type="exception" template itself contained an error and never got
to the mail generation part. To be sure, in your development environment:

   1. Purposefully put in some wacky code to generate errors
   2. For now, comment out the <cferror type="request"...>
   3. Try cfdump and cfabort in the type="exception" error template, from
   top down, until you get to the CFMail tag.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330242
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to