Welcome Guest, Not a member yet? Register   Sign In
404_Override but for php and general errors
#1

ok so this is something i just thought of wanting to put into my apps.

We all know the 404_override option allows us to redirect 404 errors to a controller.

If there a solution for doing the same thing but for php errors and general errors?

preferably with out having to hack the system, but will if it turns out to be more 'elegant'.

the idea is just like the 404_override config to have config items so that it works the same but :

phperror_override
generalerror_override

ideas?
"I reject your reality and substitute my own" - Adam Savage, M5 Inc.
Reply
#2

A blank page is the most elegant thing that the end-user could see. No information should be shown for security reason. Actually, these errors should not happen at all in a finished product.
Reply
#3

well in my project say for example a php error happens, they will be shown a page that is blended into the front end theme, it will show the member that a error occurred, but will not know anything other than that. so no security issue here.
"I reject your reality and substitute my own" - Adam Savage, M5 Inc.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB