CodeIgniter Forums
"No input file specified." error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: "No input file specified." error (/showthread.php?tid=2487)



"No input file specified." error - El Forum - 08-08-2007

[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.


"No input file specified." error - El Forum - 08-08-2007

[eluser]deviant[/eluser]
Are the permissions for the subfolders set correctly?


"No input file specified." error - El Forum - 08-08-2007

[eluser]5ml[/eluser]
I haven't changed any folders' and subfolders' permissions Smile
Which subfolders' and folders' permission must be changed? And changed to what? 777?

Thanks


"No input file specified." error - El Forum - 08-08-2007

[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!


"No input file specified." error - El Forum - 08-08-2007

[eluser]5ml[/eluser]
Thank you,
I'm glad to be a part of CodeIgniter community Smile

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


"No input file specified." error - El Forum - 08-08-2007

[eluser]Derek Allard[/eluser]
Terrific! Welcome aboard 5lm!


"No input file specified." error - El Forum - 12-31-2007

[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?


"No input file specified." error - El Forum - 12-31-2007

[eluser]Derek Allard[/eluser]
Try opening up config.php and changing $config['uri_protocol'] to one of the other 3 options PenguinMan98.


"No input file specified." error - El Forum - 01-02-2008

[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
AddHandler x-httpd-php .php4

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
and I've tried this:
Code:
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
</IfModule>

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.)