went from 7 to 9.  I have both request and exception but still doesn't work.  
just looking through my logs again... I haven't received an error email in a 
few days so not sure it's related to the upgrade.  I can't say my code is that 
solid, usually get a couple a day, so most likely this has not sent in a few 
days.  any other ideas??  I tried wrapping the error info into cfsavecontent 
and still shows the error info and doesn't send.

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


What CF version were you on before this recent upgrade to CF9? Try changing
the TYPE attribute in the CFError tag to type="exception", and see what
happens.



On Thu, Jan 28, 2010 at 2:41 PM, Tim Do <t...@wng.com> wrote:

>
> We just upgraded to cf9 and my error handling is no longer working the way
> it used to.  In my application.cfm I have:
>
> <cferror type="request"
>            template="errorPage.cfm"
>            mailto="webmas...@wng.com">
>
> and within errorPage.cfm I have:
> <cfmail to="webmas...@wng.com" from="webmas...@wng.com" subject="InSite
> Error Log" type="HTML" server="#Variables.sEmailServer#">
>    Error:<br>
>            <cfdump var="#error#" label="Error message">
>            Session:<br>
>    <cfdump var="#session#" label="Session scope"><br>
>            Client:<br>
>    <cfdump var="#client#" label="Client scope"><br>
>            Application:<br>
>            <cfdump var="#application#" label="Application scope"><br>
>            Request:<br>
>    <cfdump var="#request#" label="Request scope"><br>
>            Form:<br>
>    <cfdump var="#form#" label="Form scope"><br>
>            Url:<br>
>    <cfdump var="#url#" label="URL scope"><br>
>            Cookie:<br>
>    <cfdump var="#cookie#" label="Cookie scope"><br>
> </cfmail>
>
>
> The page error shows up fine with my error notice, BUT the cfmail section
> it just displays :
>
> Error:
> Session:
>
> Client:
>
> Application:
>
> Request:
>
> Form:
>
> Url:
>
> Cookie:
>
> Without the variables, and the email does not go out.  Why would it display
> the code inside of the cfmail tags instead of sending??  All other cfmail
> tags work fine throughout the site.
>
> Thanks!
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:330236
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to