Re: How to extend CakePHP Debugger class

2008-06-23 Thread AD7six
On Jun 19, 1:22 am, Rahul J [EMAIL PROTECTED] wrote: :( I'll simplify: I want to have the ability to CATCH sql errors (in my error handler) irrespective of DEBUG levels. Currently the only way this happens is in showQuery (trigger_error in dbo_source.php) and that too when DEBUG 1. This

Re: How to extend CakePHP Debugger class

2008-06-23 Thread AD7six
On Jun 23, 12:50 pm, AD7six [EMAIL PROTECTED] wrote: On Jun 19, 1:22 am, Rahul J [EMAIL PROTECTED] wrote: :( I'll simplify: I want to have the ability to CATCH sql errors (in my error handler) irrespective of DEBUG levels. Currently the only way this happens is in showQuery

Re: How to extend CakePHP Debugger class

2008-06-23 Thread Marc MENDEZ
Hi, I think that if you use the query method, the onError is not called : override showquery is better. AD7six a écrit : PS Model::onError --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: How to extend CakePHP Debugger class

2008-06-18 Thread Rahul J
:( I'll simplify: I want to have the ability to CATCH sql errors (in my error handler) irrespective of DEBUG levels. Currently the only way this happens is in showQuery (trigger_error in dbo_source.php) and that too when DEBUG 1. This is my opinion should be triggered along with rest of PHP

How to extend CakePHP Debugger class

2008-06-16 Thread Rahul J
Hi, I am trying to extend Debugger class (cake/libs/debugger.php) in my app directory in similar way as AppModel/Controller. class AppDebugger extends Debugger I've even tried renaming the file debugger.php and app_debugger.php but without luck. Its not working! I guess its something to do

Re: How to extend CakePHP Debugger class

2008-06-16 Thread AD7six
On Jun 16, 4:06 pm, Rahul J [EMAIL PROTECTED] wrote: Hi, I am trying to extend Debugger class (cake/libs/debugger.php) in my app directory in similar way as AppModel/Controller. class AppDebugger extends Debugger I've even tried renaming the file debugger.php and app_debugger.php but