Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
Is there some way to introspect settings like the Site Wide Error Handler using something like the Service factory? I don't have access to the CF Administrator on CF8 but there are times when I need to figure out basic settings. Thanks! Warren

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Tony Bentley
In your applicaiton.cfc, you can do something like the following: cffunction name=OnError access=public output=true cfargument name=Exception type=any required=true / cfargument name=EventName type=string required=false default= / cftry !--- log

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
Good idea but. I am already using the Site-wide error handler to invoke a template. Problem is I can't remember what template it was set to on various CF instances I run. Since I don't have access to CF Admin, I'd like some sort of way to introspect the instance and find out what that

RE: Determine Site-Wide Error Handler

2010-01-26 Thread Jacob
AM To: cf-talk Subject: Re: Determine Site-Wide Error Handler Good idea but. I am already using the Site-wide error handler to invoke a template. Problem is I can't remember what template it was set to on various CF instances I run. Since I don't have access to CF Admin, I'd like some sort

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
Sorry. I meant I have a bunch of separate CF8 installations on different physical servers. We do one cf install per base application URL here so one server can have a lot of CF installs. I guess I have a dozen different installs to keep track of. I would love to be able to read the

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Tony Bentley
How about if you customize the degugging template? C:\ColdFusion8\wwwroot\WEB-INF\debug\classic.cfm Add a cffile action=write to the classic.cfm and dump out all of the debugging somewhere. This is of course if debugging is turned on. Otherwise, I think you need a Java guy.

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Qing Xia
Assuming the language in the error template are not dynamically generated by pulling some database record, could you do a global search among your CF templates for the language used in the error template? Like, search for the phrase We are awfully sorry but you've hit an error on Orange Whip

Re: Determine Site-Wide Error Handler

2010-01-26 Thread Craigsell
I can manually figure it out as suggested by sweeping for recognizeable text. I was hoping for something simpler and more powerful that would tell me that parameter and others on the Server Settings page, giving me tool for future use. I'd really thought there would be some sore of Java