Can someone please re-post the original attachment.
Thanks Terry
> -----Original Message-----
> From: Felix Huber [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 03, 2000 10:34 AM
> To: Fusebox
> Subject: Re: trap all errors (v1.1)
>
>
> Hi Steve,
>
> a little suggestion for the act_error.cfm....
>
> I use following code in my index.cfm:
>
> <cfcatch type="any">
> Es ist ein interner Fehler aufgetreten!<br>
>
> <cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]"
> subject="Fehler" type="HTML">
>
> <table>
> <cfset err_vars =
> "attributes.fuseaction,client.user_id,cgi.content_length,cgi.http_
> accept,cgi.http_referer,cgi.http_user_agent,cgi.path_info,cgi.path
> _translated,cgi.query_string,cgi.remote_addr,cgi.remote_host,cgi.r
> emote_ident,cgi.remote_user,cgi.script_name,cgi.server_port,cfcatc
> h.detail,cfcatch.errnumber,cfcatch.lockname,cfcatch.lockoperation,
> cfcatch.message,cfcatch.missingfilename,cfcatch.nativeerrorcode,cf
> catch.sqlstate,cfcatch.type,server.coldfusion.productname,server.c
> oldfusion.productversion,server.os.name,server.os.version,server.o
> s.buildnumber">
>
> <cfloop index="err_var" list="#err_vars#" delimiters=",">
>
> <cftry><tr><td>#err_var#</td><td>#evaluate(err_var)#</td></tr><cfc
> atch></cfcatch></cftry>
> </cfloop>
> </table>
>
> </cfmail>
>
> </cfcatch>
> </cftry>
>
> All important Vars in a nice HTML Table....
>
> --
> MfG
> Felix Huber
>
>
> -------------------------------------------------------
> Felix Huber, Web Application Programmer, Webtopia
> Guendlinger Str.2, 79241 Ihringen - Germany
> [EMAIL PROTECTED] (07668) 951 156 (phone)
> http://www.webtopia.de (07668) 951 157 (fax)
> (01792) 205 724 (mobile)
> -------------------------------------------------------
>
>
>
>
>
> >
> > If you're running cf 4.5+ i'd highly recommend looking at <cferror
> > type="exception">, it's much cleaner than putting a <cftry> around EVERY
> > index.cfm file.
> >
> > try this, put this in your app_globals.cfm:
> >
> > <cfif not request.testmode>
> > <CFERROR TYPE="EXCEPTION" EXCEPTION="any"
> TEMPLATE="act_error.cfm">
> > </cfif>
> >
> > And put the attached act_error.cfm in the same directory as your
> > app_globals, then any time you get an error on your live site you will
> > be emailed the error report.
> >
> > The server logging doesn't store all the form variables, plus who looks
> > at their logs anyway? :-)
> >
> > Steve
> >
>
> ------------------------------------------------------------------
> ------------
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fu
sebox or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.