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

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

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.

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.

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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