Re: custom error handler

2013-12-11 Thread Russ Michaels

what web server are you running ?


On Thu, Dec 12, 2013 at 12:22 AM, Rob Voyle robvo...@voyle.com wrote:


 Hi folks

 I have installed a custom error handler at the root of my vps that directs
 errors
 to each domain.

 At the domain level I have a custom error page that is accessed from
 cferror tag

 cferror type=exception template=errorpage.cfm exception=any

 works fine for missing variables however is there a way to identify context
 validation errors such as missing /cfif etc.
 These just get handled by the vps error handler.

 Thanks
 Rob
 Robert J. Voyle, Psy.D.
 Director, Clergy Leadership Institute
 For Coaching and Training in Appreciative Inquiry
 Author: Restoring Hope: Appreciative Strategies
 to Resolve Grief and Resentment
 http://www.appreciativeway.com/
 503-647-2378 or 503-647-2382



 

~|
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:357345
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: custom error handler

2013-12-11 Thread Rob Voyle

Russ Michaels r...@michaels.me.uk,

On 12 Dec 2013 at 0:25, Russ Michaels wrote:

 
 what web server are you running ?
 
 
 On Thu, Dec 12, 2013 at 12:22 AM, Rob Voyle robvo...@voyle.com
 wrote:
 
 



~|
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:357346
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: custom error handler

2013-12-11 Thread Claude Schnéegans

 works fine for missing variables however is there a way to identify context
validation errors such as missing /cfif etc.

missig variables are execution time errors, but missing /CFIF are syntax 
errors.
CFERROR can trap execution errors, but not syntax errors since they happen 
during compilation and execution is never started.

Anyway, I'm pretty sure somebody here will tell you that syntax errors should 
never happen on a production server, all your templates should be tested on 
your development plateform first.



~|
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:357347
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm