On 11 May 2011, at 08:03, Sanfly wrote:
> 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?
its there but changed its syntax
just look for
Configure::write('debug', 2);
around line 36
in core.php
--
Mike Karthäuser
Managing Director - Brightstorm Ltd
Email: [email protected]
Web: http://www.brightstorm.co.uk
Tel: 07939 252144
Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php