No prob -- William E. Seiter Web Developer http://William.Seiter.com -----Original Message----- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 9:50 PM To: CF-Talk Subject: RE: Site wide error handlers
Thanks, William. I was hoping someone would confirm that order and you did. I have not used cferror, but have used cftry extensively. I just want to make sure that nothing breaks if I slide in cferror on the application.cfm on a working app. Again, I appreciate the response, William. > -----Original Message----- > From: William Seiter [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 30, 2007 9:40 PM > To: CF-Talk > Subject: RE: Site wide error handlers > > Michael, > > There is an 'order of presedence' with error control. > CFTRY/CFCATCH - priority over all > CFERROR is 2nd priority > Site wide Custom Template is the 3rd priority (this is set in the > Administrator pages) > System error Handling (also in the Administrator pages, involving the > debug) > > Basically, when an error occurs, CF looks for the resolution through that > list, and in that order. > Eg. an error is thrown but it was not in a CFTRY/CFCATCH, then it will > send > the error to the appropriate CFERROR setting (unless there isn't one then > it > will go to the Site-Wide, otherwise it will display the error 'on-page' > using the debug settings from your admin settings.) > > Hope this helps, > William > > -- > William E. Seiter > > Web Developer > http://William.Seiter.com > -----Original Message----- > From: Michael E. Carluen [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 30, 2007 7:04 PM > To: CF-Talk > Subject: RE: Site wide error handlers > > What does cferror do if cftry-cfthrow-cfcatch is already in place? > > > > > -----Original Message----- > > From: ColdFusion [mailto:[EMAIL PROTECTED] > > Sent: Sunday, September 30, 2007 6:30 PM > > To: CF-Talk > > Subject: RE: Site wide error handlers > > > > What I have is in my Application.cfm file: > > > > <cferror type="EXCEPTION" template="error/error.cfm"> > > <cferror type="REQUEST" template="error/error.cfm"> > > > > Then within the error.cfm file, I display an error message to the user > and > > then have a CFMAIL tag to send me all the information (cfdump of > request, > > session, request, etc) > > > > -----Original Message----- > > From: Richard White [mailto:[EMAIL PROTECTED] > > Sent: Sunday, September 30, 2007 10:15 PM > > To: CF-Talk > > Subject: Site wide error handlers > > > > Hi, > > > > i have just set up a hosting package with a cf host. it is on a shared > > server and they are telling me that they do not allow me to have access > to > > the cf administrator and therefore i cannot set a site wide error > handler > > or > > a missing template handler. i was told that i couldn't set a site wide > > error > > handler at all. > > > > i was even told that i should test it at home before i upload it - lol, > im > > sure it would be great if we could all develop 100% error free software > > and > > anticipate everything that may happen. > > > > is there a way that i can set the site wide and missing template error > > handlers in the code > > > > thanks > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289840 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

