• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$route['404_override'] - why don't random URLs generate 404's ?

#1
[eluser]stormbytes[/eluser]
I'm using the 'new' routing feature - $route['404_override'].

If I understand correctly, this should re-route any request that's returned 404 to the state URL.

But when I enter some address...

http://site-root/some/made/up/url

I get an error page like this:

Code:
An Error Was Encountered

Unable to load your default controller. Please make sure the controller
specified in your Routes.php file is valid.

#2
[eluser]toopay[/eluser]
What CI version you are using?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.