How to change the 'Unexpected Error' page?

Permalink
I can't find how to provide an error page of my choice for the 'Unexpected error has occurred' page.

I read that creating /core/error.php under your themes dir works but not for me, not in a package themes dir at least.

So how do we provide a non-ugly and non-terryfing-to-site-visitors error page?

surefyre
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi surefyre,

Overriding the core theme error.php page works within application.
application\themes\core\error.php

I am not sure if or how to override it in a package.
surefyre replied on at Permalink Reply
surefyre
OK, thanks, I'll verify it works in application then try again in package.

If package still doesn't work would that be a bug?
MrKDilkington replied on at Permalink Reply
MrKDilkington
@surefyre

I am not sure if it is a bug. The intention may be to prevent packages from overriding certain core files.