Welcome Guest, Not a member yet? Register   Sign In
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
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




Theme © iAndrew 2016 - Forum software by © MyBB