Paste to http://bin.cakephp.org/
your error handler

On Jan 5, 4:25 pm, "Mike Bernat" <[email protected]> wrote:
> At second glance.. it looks like you might want to be using flash messages
> that contain your error messages rather than cake's built-in error handling.
>
> On Mon, Jan 5, 2009 at 10:24 AM, Mike Bernat <[email protected]> wrote:
> > You normally don't want that type of verbose error message presented to any
> > old user. However, you can enable the debug behavior on an ad-hoc basis by
> > using Configure::write('debug', 2);
>
> > On Mon, Jan 5, 2009 at 10:17 AM, Aidan Lister <[email protected]>wrote:
>
> >> I've spent some time creating meaningful error pages for my users (a
> >> selection of my users have access to advanced tools like pdf
> >> generation). Each error page was a custom error handler, called by
> >> $this->cakeError('foo'); as defined in /app/app_error.php
>
> >> I was quite shocked to discover that once debug = 0 was set, all my
> >> nice error pages were replaced by a 404 page.
>
> >> Is this really the desired behavior? It doesn't seem to be documented?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to