it still does not help you in the long run you shouldnt have any such errors - either in debug 0 or in debug 2 especially because with cake1.3 all errors are usually logged this would flood your logs quite soon if you programmed this sloppy in your whole project...
On 11 Mai, 09:42, Sanfly <[email protected]> wrote: > Perfect, thank you :) > > On May 11, 7:17 pm, mike karthauser <[email protected]> wrote: > > > > > > > > > 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
