Categories

Updated: 12/16/2003

AB Cold Fusion Error Notification

This tag allows the developer to easily pin point errors before the client or user. In addition if you don''t have access to the ColdFusion Administrator (if another company is hosting the site), you also don''t have acess to see the DEBUG output generated since it is set in the CF ADMIN. Therefore, the work around is to place this tag within the Applicaiton.cfm at which time you will be emailed along with the error being displayed to a specified list of IP''s. Usage: 1. Unzip the error.cfm and place in the same directory as your Application.cfm file. Then place the &<cferror type=&"Exception&" template=&"error.cfm&" mailto=&"[email protected]&"&> within your Application.cfm file (see the attached Application.cfm file for the example). 2. Modify the &<cfset EMAILADDRESSTONOTIFY=&"[email protected],[email protected]&"&> to match the email addresses you want the error to be sent to. 3. Modify the &<cfset ERRORIPS=&"&"&> to add the IP''s which will be able to see the erro on the page along with the error being emailed to the developer. FULL EXAMPLE. 1. Application.cfm: Add the following line &<cferror type=&"Exception&" template=&"error.cfm&" mailto=&"you...
©2019 A--9.com