Welcome To Agriya FAQ

ID #0

Fix for the 'No Input File Specified' Error

How to solve if we getting 'No input file specified' error on kootali installed server?

We should make sure the following instructions for resolving the above issues:

Step 1: Open the config file application/config/config.php and make sure the below variable and it's value as it as given below:

$config['uri_protocol'] = "AUTO";

Step 2: Go to .htaccess file and add question mark after index.php and before slash. In our .htaccess file, there were two lines involving 'index.php' string and that would be listed below.

RewriteRule ^application/content/(.*)$ index.php/content/$1 [L]
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

The above two lines should be re-phrase in to the below way:

RewriteRule ^application/content/(.*)$ index.php?/content/$1 [L]
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

(Please note down the we added question mark ('?') after index.php and before slash

Tags:

-