Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3 URL Error
#1

(This post was last modified: 09-10-2015, 10:50 PM by grsabarish.)

I have upgrade codeigniter version 2.0.3 to 3.0.1
In my local its working fine.
but in live server is not working.

http://localhost/stjude/admin_home/add

Controller Class Name : Admin_Home
Controller File Name : Admin_Home.php

In Live server below link is not working -- Page not found erro is coming.

http://stjude.com/dev/admin_home/add

But I change the controller name from lower case to uppercase in url its working.

http://stjude.com/dev/Admin_Home/add

Anyone Please help me. its very urgent now.
Reply
#2

(This post was last modified: 09-10-2015, 11:23 PM by kenjis.)

Quote:Controller Class Name : Admin_Home
Controller File Name : Admin_Home.php

It should be `Amdin_home` and `Admin_home.php`.

See http://www.codeigniter.com/user_guide/in...file-names
Reply




Theme © iAndrew 2016 - Forum software by © MyBB