Home » Resolving the CodeIgniter “No Input File Specified” Error

Resolving the CodeIgniter “No Input File Specified” Error

If you are getting no input file specified error for inside pages in Codeigniter PHP, this is the facing issue with htaccess redirection you have to replace your root htacces file with below some code. if you look on the Rewrite code you can see a question mark after the main index.php (index.php?/$1) .This .htacces making the correct URL redirection in Codeigniter.

Read Also:  Laravel 5.4 Paypal integration - Paypal Payment Gateway

Codeigniter No input file specified error for inside

Error: the error “No Input File Specified” when visiting any page other than the homepage.

The Solution : Update On Your .htacces File

RewriteEngine On
# Disable directory browsing 
#Options -Indexes
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]  

I hope you get an idea about no input file specified. codeigniter.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Read Also:  MySQL Remove special characters from database

Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  Laravel Custom Dropdown Server Side Filter in Datatables
  2. Read Also:  crud with php oop and mvc design pattern
  3. Read Also:  Requests has() and hasFile() in Laravel 6
  4. Read Also:  PHP Convert currency into number to words string to money conversion
  5. Read Also:  How to fetch image from database in php ?
  6. Read Also:  how to get values from xml object array in php?
  7. Read Also:  subquery in sql
  8. Read Also:  PHP Tutorial
  9. Read Also:  MySQL Remove special characters from database
  10. Read Also:  Laravel 5.4 Paypal integration - Paypal Payment Gateway

Leave a Comment

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