Tag Archive for exceptions

CodeIgniter’s 404 Override Problem

The CodeIgniter 404 Override problem is one of the biggest annoyances I’ve got with the otherwise fantabulous CodeIgniter.  For those of you unaware of the problem (and haven’t seen this forum post), in a nutshell the problem is this.  If you go to a URL where the controller doesn’t exist, it works fine and loads up the override controller and method.  However, if you go to a URL that contains a controller that does exist, it fails to load everything in the $this object correctly.  And worse, if you’ve got a directory, it just throws a complete wobbly, loads nothing at all and goes running off to mummy.

Read more