I am trying to implement site-wide error handling on a fusebox 3 site and am
having a problem.  The site is working just fine.  However, I am "simulating"
the database being down by turning off execute rights to a stored procedure on
MSSQL.  This throws an error a nice error against which I can test.  When I
place the following in my application.cfm...

<cferror template="error/error.cfm" type="exception">

I get a blank page.  No error.  Nothing.  error.cfm contains some dummy code at
the moment:

Error!
<cfoutput>
#cferror#
</cfoutput>

What I eventually intend to do with this is show a generic message to the user,
write the error info to a database, and email the webmaster email.  

Has anyone seen this blank page issue before?  How are others dealing with
site-wide errors?  I also tried cftry/cfcatch, but I ran into problems with my
sidebars (which were not throwing errors) still showing up and I do not want
that.

Any insight will be much appreciated.

--Jeff

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to