Welcome Guest, Not a member yet? Register   Sign In
"No input file specified" issue on godaddy shared hosting
#1

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
Thanks & Regards
Manoj
Reply
#2

Try using the other uri_protocol settings.
Reply
#3

(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';
$config['uri_protocol'] = 'QUERY_STRING';

$config['uri_protocol'] = 'PATH_INFO';



But no luck still same issue.


Regards
Manoj
Thanks & Regards
Manoj
Reply
#4

(This post was last modified: 08-31-2015, 12:35 AM by mkmaurya.)

Thanks CroNiX.

I got solution here: https://github.com/bcit-ci/CodeIgniter/w...ation-Tips
Reply




Theme © iAndrew 2016 - Forum software by © MyBB