1

Hope you can help me with my problem. This is my first time deploying an Application into a shared hosting which is Hostgator Baby Plan. I used codeigniter framework to build the application. I created a subfolder under controller and it's working fine in my localhost but when I transfer it on the the web hosting all links that are in controller's sub folder is not accessible. All I can access are those controllers that are not in sub folder. Do I need to configure something on shared host or in my application? Please help.

application
-- controllers
---- api
------ users.php -> Not able to access but on my local its working
------ items.php -> Not able to access but on my local its working
---- welcome.php -> I can Access this
6
  • This should work.What do you mean by not working?Do you get any error? Jun 3, 2015 at 10:42
  • I'm receiveing "404 Page Not FoundThe page you requested was not found." . In my local machine it's working. I can normally access it but when trasferred in the server, it didn't work
    – jamcoder
    Jun 3, 2015 at 10:45
  • is it CI 404 error or your server sending 404 error. Jun 3, 2015 at 10:47
  • it is CI 404 error. sorry for not clarifying.
    – jamcoder
    Jun 3, 2015 at 10:49
  • 1
    That ,means its not your hosting problem.If your CI version is 3. Your files name should be 'Users.php' (uppercase). also provide the link for what you getting error. Jun 3, 2015 at 10:51

1 Answer 1

-1

May be you are developing your site with windows and you are hosting with linux.

Check your php version and select lastest php version, rename

users.php -> Users.php

and rename your

class users -> Users

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.