Welcome Guest, Not a member yet? Register   Sign In
SOLVED: Default Controller always loads instead of everything else
#1

[eluser]MCrittenden[/eluser]
I've been running a site under CI for a couple weeks now with no problems. I guess I must have screwed something up on the last couple days.

No matter which page you try to load, the default_controller loads. If I change the default_controller, then the new one will load in place of all of the other controllers.

For example, I have a "photo" controller. If I go to mywebsite.com/photo (I have index.php taken out via .htaccess), the URL stays at /photo, but the home page loads because "home" is the default controller.

I'll be happy to post any code that might help you guys. The routes.php and config.php files all look right to me. I rechecked .htaccess and it's still the same.

Thanks a lot in advance.


Messages In This Thread
SOLVED: Default Controller always loads instead of everything else - by El Forum - 06-10-2008, 09:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB