Steve,
Did a quick test. 1) Created a mapping in CFIDE /coldfusionErrorHandling and pointed it to a directory I created 2) Enter that info into the admin section, /coldfusionErrorHandling/andrewError.cfm 3) Run 3 sites on different ports 4) Create an index.cfm that will throw an error 5) Sit back and watch the error template get executed Was that what you were trying to do? Notice I ran this on 3 sites, running on different ports and even though YOU and CF claim sitewide, the Administrator as indicated runs when ColdFusion throws an exception. Hope that helps anyone else understand this as well. -- Senior Coldfusion Developer Aegeon Pty. Ltd. <http://www.aegeon.com.au/> www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Friday, 12 September 2008 12:48 PM To: [email protected] Subject: [cfaussie] Re: default missing template error file See the dumb thing is when you set the setting in the CF admin, when it check to see if the file exists it checks the relative path of where you are accessing the cfadmin, which is not normally where the sites are set up, so that makes it even more confusing because you may set it up but then you need to copy the template you are using into every site for it to work. _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Friday, 12 September 2008 12:44 PM To: [email protected] Subject: [cfaussie] Re: default missing template error file Well that's why I got confused, I read the settings and the title says site wide. Yet the descriptive text mentions a relative path to the template. And even though you may be right, with the mapping may not evaluate at that point. However, if you have 10 sites running on the instance of ColdFusion the description would indicate to me that as it states ColdFusion uses this when an error occurs. Not the site, but ColdFusion. But I have never played or had to play with those settings. That's why I got curious. -- Senior Coldfusion Developer Aegeon Pty. Ltd. <http://www.aegeon.com.au/> www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Friday, 12 September 2008 12:31 PM To: [email protected] Subject: [cfaussie] Re: default missing template error file Andrew "Site Wide" means for that site. If you were going to do something like you are suggesting you would need a "Server Wide" mapping, which i guess would be handy for other things like frameworks and stuff that need a mapping to work. Also from what i have seen, the site wide templates in the admin dont work with mappings as it tries to find the file (although i havent tried it) _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Friday, 12 September 2008 12:26 PM To: [email protected] Subject: [cfaussie] Re: default missing template error file I was thinking of a site wide mapping though, which would be available to all straight away. But there is obviously something that I am still not considering. No big deal... -- Senior Coldfusion Developer Aegeon Pty. Ltd. <http://www.aegeon.com.au/> www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Friday, 12 September 2008 12:19 PM To: [email protected] Subject: [cfaussie] Re: default missing template error file Wouldnt i then need to make sure every site has the mapping available to it? <BR <BR --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
