Monday, February 1, 2010

How to store error messages in variables?

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: