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 <[email protected]> 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="[email protected]">
>
> and within errorPage.cfm I have:
> <cfmail to="[email protected]" from="[email protected]" 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:330235
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