Tuesday, 15 September 2015

php - Page not found after update to Codeigniter 3 -


I am trying to get rid of the 404 page not found error when updating in Codeigniter 3.0

I am using Ion Auth and HMVC libraries I have fixed the problem of ion ath and I believe (not so) that I have also fixed the issues of HMVC. If this is not known by debugging then ^ _ ^ but I have updated my libraries with my latest reports from the latest update.

I have logged in successfully, but when the system tries to load the first page after login, it is giving a 404 error and these are logs

  - 2015-03-17 10:51:51 - & gt; UTF-8 support was enabled DEBUG - 2015-03-17 10:51:51 - & gt; Global Post, GET and Cookie data cleaned error - 2015-03-17 10:51:51 - & gt; 404 Page not found: ../modules/admin/controllers/dashboard/index  

Notice: Dual slashes in the URI before the last segment (index). Is not it weird?

I wonder what's wrong here. Tried to set uri_protocol to auto and REQUEST_URI , but none of them work.

  $ config ['Uri_protocol'] = 'auto';  

and

  $ config ['uri_protocol'] = 'REQUEST_URI';  

Now, my development is completely trapped. Can anyone help me get rid of this issue? Thanks a lot!!

Route information

application / config / routes.php

  $ route [ 'Default_controller'] = "user / login"; $ Route ['404_override'] = '';  

Application / module / user / configuration / route Php for this ion proof

  $ route ['user / (: any)'] = "author / $ 1";  

I get my 404 redirect problem by capitalizing all my class file names in the controller Fixed folder and model folder.

Hope that helps someone get from CI2 to CI 3.0


No comments:

Post a Comment