Re: How to store error messages in variables?

2010-02-01 Thread Howard Lince
I don't know of something off hand - but warnings and errors should be
cleared before going into production. Also when going into production
you should set your /app/config/core.php file's debug value to 0.

Just look for the line that says Configure::write('debug',2); and
change the 2 to 0

Best of luck.

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


How to store error messages in variables?

2010-02-01 Thread gautam lakum
Hi All,

I am trying to get all the errors in a variable. The problem is that I
can get missing controller and missing method or error404 like errors.
But I want to get warnings and notice errors in variable. How to do
this. I am just trying to make site error free. So that if someone is
using site, he/she will not be able to see errors and the actual error
will be send to me in email.

So please help me. How to get notice and warning errors like missing
value, divide by 0, missing arguments, etc. like errors.

Is there ant component or helper for that?

Thank You.

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