Uau! I didn't know that we can create an AppError class.
Just another question: this apply in what versions of CakePHP? Because we still use the 1.1.10, because of an error in the Session component generated after the 1.1.11 version. Anyway, this will help us. AD7six, ianh an all, very thanks for the help. cya On Mar 31, 5:23 pm, "AD7six" <[EMAIL PROTECTED]> wrote: > On Mar 31, 11:12 am, "AD7six" <[EMAIL PROTECTED]> wrote: > > > > > On Mar 31, 11:02 am, "ianh" <[EMAIL PROTECTED]> wrote: > > > > I don't think there is any way to make Cake do detailed logs of errors > > > internal to the framework. > > > O contrare. Make use of the app_error class, and you can do what you > > like. If you have one and it's in the right place (or you include it > > manually) it handles all your error processing. here's a (very simple) > > example: > > > if (!class_exists('AppError')) { > > uses('error'); > > class AppError extends ErrorHandler { > > > function error($params) { > > print_r($params); > > } > > > function error404($params) { > > print_r($params); > > } > > > } > > } > > > HTH, > > > AD > > For further comment.http://www.noswad.me.uk/MiBlog/EmailMeErrors > > Cheers, > > AD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---