Codeigniter problem : No input file specified. when open the page

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=cco7rMYybYI



Duration: 2:13
34,270 views
142


In my codeigniter page, i get error No input file specified.
so what the problem?
The problem caused by, your apache+php run the CGI (multi PHP version)..

How to fix that error (No input file specified.) ..?
You can create .htaccess on root of codeigniter folder.
and copy this script :

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

If you already have .htaccess, just add ? on index.php?/$1

then last, refresh your codeigniter page ! :)




Other Videos By Ambar Hasbiyatmoko


2017-03-02Ubuntu 16.04 - Failed to install google chrome (depends on libpango1 and libappindicator1)
2017-03-01Ubuntu - How to fix Failed to fetch...404 Not Found when apt-get update
2017-02-28Steam Error - An error occurred while updating Dota 2 (corrupt download)
2017-02-18Ubuntu 16.04 problem - Failure to download extra data files ttf-mscorefonts-installer
2017-02-05PHP(imagecreate) in Ubuntu - The image cannot be displayed because it contains errors.
2017-02-05SFTP Ubuntu - Oops! Something went wrong. Don't have permission to access the requested location
2017-01-25Gimp in Ubuntu - missing Toolbox GIMP
2017-01-23PHP Tricks - Backup DB postgre (.backup) in ubuntu 16.04
2017-01-19Screen Recorder + Webcam with Vokoscreen in Ubuntu 16.04
2017-01-16How to Convert coordinate (lat,lng) to TILE (x,y) in google maps
2017-01-12Codeigniter problem : No input file specified. when open the page
2017-01-12Ubuntu 16.04 problem after reinstall : low screen resolution and no internet connection
2017-01-09Bucardo : (Basic Tutorial) Postgresql Replication Master to master in 1 server Centos7
2017-01-09Error Install Flash Plugin in Ubuntu 16 04 : adobe flashplugin amd64 404 Not Found
2017-01-08Codeigniter - error when Redirect URL(Not Found) in Ubuntu 16.04
2017-01-08Disable Recent History in Ubuntu 16.04
2017-01-07Easy Install QGIS in Ubuntu 16.04 LTS(Xenial Xerus)
2017-01-06Bucardo problem : Can't locate ExtUtils MakeMaker.pm in @INC when trying to install bucardo
2017-01-05PHP tutorial : Passing PHP variable to Pyton (file.py)
2017-01-05PHP tutorial : run Python from PHP in Ubuntu
2017-01-04PHP problem - imagecreatefrompng error : the localhost page isn't working



Tags:
htaccess
codeigniter
framework
php
apache
cgi
page
url
no input
file
ubuntu
browser
linux
error
rewrite
multi