Have a look here: http://teknoid.wordpress.com/2008/08/29/dealing-with-errors-in-cakephp/
But, if you're running into fatal errors, you'd be wise to deal with that before setting your debug to 0. On Tue, Mar 24, 2009 at 7:41 AM, Henrik Gemal <[email protected]> wrote: > > if I'm running debug=0 and get a: > "Fatal error: Call to undefined method" > I get a blank page. > > Can I somehow show an error page instead? > > I've tried using > ErrorDocument 500 /error/ > > but that doesn't work. > > My site seems to return a "200 OK" with the "fatal error" > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
