further reading
http://cakephp.lighthouseapp.com/projects/42648/tickets/1941-changing-debug-level-on-runtime
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP r
thanks this is a good point. i think it is a problem in generally, not
only on ajax requests...
if (isset($config['debug']) || isset($config['log'])) {
$reporting = 0;
if ($_this->debug) {
this lines from configure config['debug'] is
oops. it's not on boot strap only. my bad.
On Thu, Aug 25, 2011 at 12:47 PM, stas kim
wrote:
> it's probably because of this line
> https://github.com/cakephp/cakephp/blob/master/cake/libs/configure.php#L119
> which is executed on bootstrap. meaning even if you change debug level
> later in your
it's probably because of this line
https://github.com/cakephp/cakephp/blob/master/cake/libs/configure.php#L119
which is executed on bootstrap. meaning even if you change debug level
later in your controller it will only effect Debugger class behavior
cheers
On Wed, Aug 24, 2011 at 11:21 AM, Ben
Fixing warnings and notices is not the answer to his question--With debug
mode off, he should not be getting such messages displayed. At worse, he
should be seeing formatted Cake errors or simply a blank page if something
is wrong.
Perhaps the warnings/notices/errors are being thrown before you
yes you're right. but the debug mode is for developing purposes and my
question belongs to control the debug mode in app controller.
On 22 Aug., 10:28, "Dr. Loboto" wrote:
> The best way is to fix that warnings and notices. Good app never
> throws this kind of shit.
>
> On 18 авг, 20:18, p r
The best way is to fix that warnings and notices. Good app never
throws this kind of shit.
On 18 авг, 20:18, p r wrote:
> yes the Requesthandler is in use and the debug level is set correctly
> to 0 but errors and notices doesn't care.
> It seems the backtrace is added before the debug level is s
yes the Requesthandler is in use and the debug level is set correctly
to 0 but errors and notices doesn't care.
It seems the backtrace is added before the debug level is set in
AppController? When i set the debug level in core.php it works as i
desired.
On 18 Aug., 15:06, mi...@brightstorm.co.uk
> Hello,
>
> could anybody explain this behavior? i set in my app controller
>
> if($this->RequestHandler->isAjax()) {
> $this->layout = 'ajax';
> $this->autoRender = false;
> Configure::write('debug', 0);
> }
>
> but notices and err
> Hello,
>
> could anybody explain this behavior? i set in my app controller
>
> if($this->RequestHandler->isAjax()) {
> $this->layout = 'ajax';
> $this->autoRender = false;
> Configure::write('debug', 0);
> }
>
> but notices and err
Hello,
could anybody explain this behavior? i set in my app controller
if($this->RequestHandler->isAjax()) {
$this->layout = 'ajax';
$this->autoRender = false;
Configure::write('debug', 0);
}
but notices and errors are even
11 matches
Mail list logo