CodeIgniter Forums
"No input file specified" issue on godaddy shared hosting - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: "No input file specified" issue on godaddy shared hosting (/showthread.php?tid=62820)



"No input file specified" issue on godaddy shared hosting - mkmaurya - 08-30-2015

Hi,

I made a application using codeignitor 3.0.0. On my localhost it was working fine but when i moved to godaddy shared hosting it giving me error "No input file specified" when i run any controller like http://demo.websiteadda.in/index.php/welcome/ but when i use http://demo.websiteadda.in/index.php/ it is showing me welcome message as in welcome view.

In config file:
$config['index_page'] = 'index.php';
$config['uri_protocol'] = 'REQUEST_URI';

And also not using any .htaccess file.

I tried several solutions with .htaccess file as well but issue is not resolved yet:
---------------------- .htaccess -----------------------
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
---------------------------------------------------------

Could you guys please help me out with this issue?

Thanks.

Regards
Manoj


RE: "No input file specified" issue on godaddy shared hosting - CroNiX - 08-30-2015

Try using the other uri_protocol settings.


RE: "No input file specified" issue on godaddy shared hosting - mkmaurya - 08-31-2015

(08-30-2015, 08:38 AM)CroNiX Wrote: Try using the other uri_protocol settings.

I have tested with one by oneĀ uri_protocol setting change:
$config['uri_protocol'] = 'REQUEST_URI';
[font='Helvetica Neue', Helvetica, Arial, sans-serif]$config['uri_protocol'] = 'QUERY_STRING';
[/font]

[font='Helvetica Neue', Helvetica, Arial, sans-serif][font='Helvetica Neue', Helvetica, Arial, sans-serif]$config['uri_protocol'] = 'PATH_INFO';
[/font]
[/font]



[font='Helvetica Neue', Helvetica, Arial, sans-serif][font='Helvetica Neue', Helvetica, Arial, sans-serif]But no luck still same issue.[/font][/font]


[font='Helvetica Neue', Helvetica, Arial, sans-serif][font='Helvetica Neue', Helvetica, Arial, sans-serif]Regards[/font][/font]
[font='Helvetica Neue', Helvetica, Arial, sans-serif][font='Helvetica Neue', Helvetica, Arial, sans-serif]Manoj[/font][/font]


RE: "No input file specified" issue on godaddy shared hosting - mkmaurya - 08-31-2015

Thanks CroNiX.

I got solution here: https://github.com/bcit-ci/CodeIgniter/wiki/Godaddy-Installation-Tips