No input file specified Codeigniter
No input file specified Codeigniter
Hello everyone, in this post we will examine how to solve the "No input file specified Codeigniter" programming puzzle.
No input file specified error is related to .htaccess in Codeigniter. We just have to change the rewrite engine rules in .htaccess to avoid this error.-
No input file specified error solving using htaccess in Codeigniter 4
--PATH public\.htaccessRewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA] #Replace with below code RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA]
Find RewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA] using ctrl + f after that replace code with RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA]. The changes between these codes is only a ? which have to add after RewriteRule ^([\s\S]*)$ index.php in .htaccess file under public directory.
Or you can simply add ? mark after index.php in that particular line of .htaccess code.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
Don't forget to share this article! Help us spread the word by clicking the share button below.
We appreciate your support and are committed to providing you valuable and informative content.
We are thankful for your never ending support.
Random Code Snippet Queries: CodeIgniter
- Convert dd/mm/yyyy to yyyy-mm-dd in codeigniter
- Default htaccess file code Codeigniter
- How to load a view in CodeIgniter?
- How to call helper function in Codeigniter view
- Update an existing table record with +1 in CodeIgniter
- Codeigniter 4 call model function from controller
- Unable to set session in codeigniter
- How to move from one view to another in Codeigniter
- Call to undefined function CodeIgniter\locale_set_default()
- How to create custom helper in codeigniter 4
- How to select all checkbox in Codeigniter
- Get the version codeIgniter
- How to get field names of table in Codeigniter
- Get last executed query in codeigniter