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 McClure <ben.mcclure@gmail.com> wrote:
> 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
> call Configure::write('debug', 0); ? If so, try calling it earlier in your
> code.
> Or perhaps something else is changing the value of debug back to 1 or
> greater?
> You could echo something from inside that if() block to make sure it is
> actually hitting the code which sets the debug value to 0.
> Beyond that, I don't know what else to have you try :)
> Ben
>
> --
> 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 related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php
>
--
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 related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment