I want to use my custom exception renderer to show 404 pages, I created
a AppExceptionRenderer class located in
app/Lib/Error/AppExceptionRenderer.php, and I changed exception config
to Configure::write('Exception.renderer', 'AppExceptionRenderer');
but when i open a non exist address, cake give this error

Fatal error: Class 'AppExceptionRenderer' not found in
> ......../lib/Cake/Error/ErrorHandler.php on line 126 Call Stack: 0.0161
> 4592240 1. ErrorHandler::handleException()
> ......./lib/Cake/Error/ErrorHandler.php:0


seems it can't locate the AppExceptionRenderer file, but according to the
manual, I do put it in app/Lib/Error, please help

-- 
Perry | 彭琪
http://pengqi.me

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to