Log in

How to resolve Codeigniter - No input file specified issue.

"No input file specified." error commonly occur when we try to access other function except of our default controller.
To resolve this just you need to update your root .htaccess file .

Add ? after index.php in .htaccess file.
A simple .htaccess file may like this -

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]            //here we added the ?

That's it...

Now reload your page. The issue will be resolve.
For any query leave a comment or feel free to contact. Or for more tricks subscribe my blog.

Thank You.....!

Comments (0)

Add comment:


Contact Us

YourmobileWorld.com

support@yourmobileworld.com