also note the following. the templates must exist in the wbesite from where you running the cfadmin or the settings wont save (pointless really and rather annoying) The templates must also exist in each website you want them to be used. If you make the template path relative (e.g. somepath/error.cfm) then CF will look for the relative to the page that caused the error, which can result in it not being found when errors occur in in sub-directrories. So it is best to always make it relative the root (e.g. /error.cfm)
On Mon, May 14, 2012 at 4:28 PM, Dave Watts <[email protected]> wrote: > > > I was trying to execute an example of error handling using coldfusion > > administrator. > > (missing error template and Syntax error template) > > > > Missing Include template = \lakshmitest\missingtemp.cfm > > The missing template error handler doesn't handle missing includes. It > just handles requests to .cfm and .cfc files that don't exist, like a > 404 handler for a web server. > > Also, your file paths should use slashes instead of backslashes, just > as a side point. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsit > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351134 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

