Wednesday, May 11, 2011

Debug Errors in Cakephp 1.3

Hi

In my old Cakephp (I think 1.1?) I could hide all errors by heading
into my core.php file and setting

define('DEBUG', 0);

However, this doesnt appear to be in the core.php file in my 1.3
version I have been working with.

I want to be able to hide errors for production mode eg:

Notice (8): Undefined variable: agreeError [APP\views\members
\signup.ctp, line 149]

Can anyone point me in the right direction?

Cheers

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate