Welcome Guest, Not a member yet? Register   Sign In
URL shows error 404 instead of default controller
#2

Hi,

Not sure if this is the cause of your problem, but your controllers directory can only have files or one sub level of folders. So a controller called login can be in controllers/login.php or controllers/members/login.php but not controllers/another/members/login.php as CI will assume 'members' is the class name in that case.

I hope that makes sense and might be of some help,

Best wishes,

Paul.
Reply


Messages In This Thread
RE: URL shows error 404 instead of default controller - by PaulD - 04-10-2016, 09:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB