• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 404 on hosting

#1
Hello!
I have uploaded my first site on CI to hosting. I changed base_url and batadase settings. However, when I go to http://mydomain.com I have an 404 error. It comes from CI because I can change (view->errors->html->error_404.php) and I see those changes. 

What should I do to solve this trouble?
P.S. Sorry for newbie question, but I cannot solve it for 2 days Huh
Reply

#2
If you are using CI3, check your class filenames: https://github.com/kenjis/codeigniter3-filename-checker
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#3
You might try a different URI protocol (config/config.php).

Who is your host? Are you trying to use mod_rewrite through .htaccess? If so, remove the rewrite rules temporarily, just to see if the home page loads.
Reply

#4
If you developped on a local Windows machine and your hosting provider uses linux then it could very well be the file names in your classes. The file system Windows uses is not case sensitive where linux is. Your controller file names etc should start with a single capital.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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