Saturday, 18 June 2016

Codeigniter “No input file specified.” error when submitting form?

Change your .htaccess to look like this
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
Notice the ? mark in the last line. Previously this line was something like this RewriteRule ^(.*)$ index.php/$1 [L]
Also make sure to add this line RewriteBase / in your .htaccess
Codeigniter “No input file specified.” error when submitting form?

No comments:

Post a Comment