> I am trying to write a simple error page that will get called on any > CF errors. When an error occurs, I want to write the error > information to a log file using cflog. Currently, I am > testing this by killing my database and loading pages. I get > the error page I created, but I the logging doesn't seem to > work. If I call the page directly, the logging works like I expect. > > This is what I have in the application.cfm <cferror > type="request" template="/development/cditty/mac/error.cfm">
You can't use any CFML in your CFERROR page when you set TYPE="REQUEST". CFML can be used in TYPE="EXCEPTION". Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276747 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

