Welcome Guest, Not a member yet? Register   Sign In
Routing issue with 404_override
#1

[eluser]sehummel[/eluser]
I'm having an issue with 404_override in CI 2.02. Here is my default controller and override:

Code:
$route['default_controller'] = "home/index_controller";    
$route['404_override'] = "misc/site_map";

This line uncommented gives me this error:

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

But commented, I get a 404 error. So something in the override is causing the problem. I just don't know what. I've tried various MY_Router files and they don't help. Anyone have any suggestions about how I can fix this?

I've eliminated my .htaccess file as the problem by deleting it from the server and then trying to access a controller that doesn't exist like this: http://domain.com/index.php/doesnotexist. I still get the error.




Theme © iAndrew 2016 - Forum software by © MyBB