"No input file specified." error |
[eluser]5ml[/eluser]
Hello, I had been running CodeIgniter at my local server without any problems. But after uploading the website to my hosting account, the system started to give the following error: "No input file specified." The homepage opens without any problems, but accessing the other controllers and functions gives the above mentioned error. What can be the problem? Thanks.
[eluser]deviant[/eluser]
Are the permissions for the subfolders set correctly?
[eluser]5ml[/eluser]
I haven't changed any folders' and subfolders' permissions Which subfolders' and folders' permission must be changed? And changed to what? 777? Thanks
[eluser]Derek Allard[/eluser]
They only need to be readable, not 777 (unless you want that for another programming goal, but CI doesn't need it per se). If you search these forums you'll find much reference to your error. Oh yes, and welcome to CodeIgniter!
[eluser]5ml[/eluser]
Thank you, I'm glad to be a part of CodeIgniter community And I have solved the problem: The website gives error when I want to open www.domain.com/index.php/blog/main but it does not give when I open www.domain.com/index.php?blog/main Only a question mark difference
[eluser]PenguinMan98[/eluser]
Hey guys. I am getting the same issue but I tried both proposed solutions here: fix the CHMOD, use a ? in the URL, but neither solved the problem. Any other ideas?
[eluser]Derek Allard[/eluser]
Try opening up config.php and changing $config['uri_protocol'] to one of the other 3 options PenguinMan98.
[eluser]PenguinMan98[/eluser]
No good. None of them worked. I'm on Godaddy's servers (which seem to be a common problem). I'm using the following .htaccess file: Code: AddHandler x-httpd-php5 .php Code: AddHandler x-httpd-php5 .php Often what I will see is that the index page loads but I cannot link to the next page. My site is X-Factor (Any visitors please let me know if the flash video loads in a reasonable amount of time.) |
Welcome Guest, Not a member yet? Register Sign In |