no-input-file-error-codeigniter

CodeIgniter – No input file specified error – .htaccess – Godaddy

CodeIgniter sometimes shows No input file specified error when switching to a new page, Its usually occurs in some servers such as Godaddy. This issue can be simply eliminated by putting some code in the htaccess file.

In order to work the website perfectly simply replace the existing code with the below code in your htaccess file

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]

(Also see : Get the last executed Query in Codeigniter)

Previous Post

Vine Started HD Video Upload option in their application

Next Post

Android Lollipop vs iOS 8 : A Visual Comprehensive Comparison

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *