Welcome Guest, Not a member yet? Register   Sign In
handle 500 error
#1

[eluser]Unknown[/eluser]
Hi,
I have just added a custom 400 error page to my codeigniter project using the 404_override feature.
Is there a way to do the same thing for others errors (like 500)?

thanks,
Davide
#2

[eluser]Unknown[/eluser]
The third parameter for the show_error() method (of the CI_Exceptions class) specifies a template to use. By default it is "error_general", but you could make a helper function to call a 500 error and specify your own template.




Theme © iAndrew 2016 - Forum software by © MyBB