CodeIgniter Forums
Error Controller instead of brutal show_404() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Error Controller instead of brutal show_404() (/showthread.php?tid=26284)



Error Controller instead of brutal show_404() - El Forum - 01-10-2010

[eluser]Spockz[/eluser]
As many of you might have encountered. The way how CI handles it's not found error leaves the developer little choice on how to handle these errors. Especially in customizing the output if you need some more variables than commonly available.

I therefore propose this patch: http://pastie.org/772747

This is a suggestion on how to maybe handle 404 ways in the future. I can see that this will break some (if not a lot stuff) but it will benificial to a lot of us.


Error Controller instead of brutal show_404() - El Forum - 01-10-2010

[eluser]David Cassidy[/eluser]
I second the motion.


Error Controller instead of brutal show_404() - El Forum - 01-11-2010

[eluser]quasiperfect[/eluser]
+1


Error Controller instead of brutal show_404() - El Forum - 01-11-2010

[eluser]danolsen[/eluser]
I agree. I would like more freedom in my error pages.


Error Controller instead of brutal show_404() - El Forum - 01-15-2010

[eluser]sikkle[/eluser]
Would be great to see something happend with the error handling i agree too.


+1 on that one.


Error Controller instead of brutal show_404() - El Forum - 01-15-2010

[eluser]hugle[/eluser]
+1 from meSmile