If you are setting debug to 0 in core.php then you must have overwritten the value somewhere in your controller or model, in order to turn those notices off you may do it manually in your controller by Configure::write('debug', 0)
On Tue, Sep 21, 2010 at 1:37 PM, euromark <dereurom...@googlemail.com>wrote: > there are no notices in production mode... > you must have debug > 0 SOMEWHERE > otherwise they would be turned off > > > On 21 Sep., 19:04, Miles J <mileswjohn...@gmail.com> wrote: > > You can overwrite it yourself in bootstrap.php. > > > > error_reporting(0); > > > > But this is a last case. You should really investigate why errors are > > showing and if debug is really being set. > > > > On Sep 21, 9:53 am, Alex Bovey <a...@bovey.co.uk> wrote: > > > > > Hi all, > > > > > I'm sure a few versions ago, PHP notices were never displayed when in > > > production mode (debug 0) but now they are being shown. > > > > > What's the best way of turning off notices when in production mode? > > > > > Thanks all, > > > > > Alex > > > > > -- > > > Alex Bovey > > > Web Developer | Alex Bovey Consultancy Ltd > > > Registered in England & Wales no. 6471391 | VAT no. 934 8959 65 > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en