• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter 3 URL Error

#1
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
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
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.