EllisLab text mark
Advanced Search
     
Error Controller instead of brutal show_404()
Posted: 10 January 2010 04:38 PM   [ Ignore ]
Joined: 2007-03-14
43 posts

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.

 
Posted: 10 January 2010 04:40 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2007-06-26
23 posts

I second the motion.

 
Posted: 11 January 2010 09:48 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2007-04-27
169 posts

+1

 
Posted: 11 January 2010 12:26 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2008-05-06
5 posts

I agree. I would like more freedom in my error pages.

 
Posted: 15 January 2010 12:23 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2007-05-21
340 posts

Would be great to see something happend with the error handling i agree too.


+1 on that one.

 Signature 

-> None official irc channel [ irc.freenode.net #codeigniter ]

 
Posted: 15 January 2010 01:44 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Joined: 2008-11-06
315 posts

+1 from me:)