Reputation: 2848
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:
and on localhost the error is shown properly like as follows:
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.?
Upvotes: 0
Views: 552
Reputation: 1421
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.
Upvotes: 2