views:

33

answers:

1

I have created a custom page for error messages in my web application.

I have created these two files in the views/errors/ directory named 'missing_action.ctp' and 'missing_controller.ctp'.


On server the error message is shown as follows:
alt text


and on localhost the error is shown properly like as follows:
alt text

I want to show the error messages exactly as that of on localhost but it is not appearing on server. What can be the problem.?

+2  A: 

Glad this worked out for you. :)

Is it safe to assume those file were put in the app/ directory? Is the code EXACTLY the same on both installations?

Something to remember: CakePHP might have cached the previous page. Make sure your debug value is set to 1 or 2 in app/config/core.php to disable caching.

Michael