Welcome Guest, Not a member yet? Register   Sign In
Updating CI 2.2.1 to 3.0 404 Not Found issue
#1

Hello,

This is my fist issue have on the board. Hope I will get some guidance to resolve it. Thanks

I have updated Codeigniter from 2.2.1 to 3.0 (current version). So here Most things are working fine. However, I have to resolved some libraries and issue for customized devs.

Now, when I tried to access the page it is giving me 404 Not found error. I checked logs and found strange double slashes in the log path.

Code:
DEBUG - 2015-03-18 09:07:23 --> UTF-8 Support Enabled
DEBUG - 2015-03-18 09:07:23 --> Global POST, GET and COOKIE data sanitized
ERROR - 2015-03-18 09:07:23 --> 404 Page Not Found: ../modules/admin/controllers/dashboard//index

Please see list line of log ERROR just before index you will find double slashes.

Libraries I am using is HMVC and Ion Auth

Since I am using HMVC, I have moved and renamed the Ion Auth under application/modules folder. So finally it is like
Code:
application/modules/users/

Rest of my application is under modules/respective_sections. For example

Code:
Models
=====
application/modules/admin/

application/modules/admin/models/dashboard/Dashboard_model.php
application/modules/admin/models/hr/HR_model.php

Controllers
=======
application/modules/admin/controllers/dashboard/Dashboard.php
application/modules/admin/controllers/hr/HR.php

Views
====
application/modules/admin/views/dashboard/index.php
application/modules/admin/views/hr/index.php

Important:

I am able to access Ion Auth (users) pages without any error and also able to login, logout etc.. but it is just when try to access any admin section it is giving 404 error.

The system was working fine with CI earlier versions.
Thanks,
Jatin Soni
Reply


Messages In This Thread
Updating CI 2.2.1 to 3.0 404 Not Found issue - by jatinsoni - 03-17-2015, 10:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB