I've done some web pages codeigniter 3 everything runs perfect in a local environment , but when I load it on a web server and have some problems:
I've done some web pages codeigniter 3 everything runs perfect in a local environment , but when I load it on a web server and have some problems :
1.- Do not remove the index.php in the URL , the problem may be caused by .htaccess code that use:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
2.- Do not locate controllers and models that are in lowercase . For example I have a controller called home.php , in the local environment but normally runs on the web server shows me the following error "No input file specified.", this is resolved by renaming the controller home.php to Home.php
Aesthetic form in the url , try removing the index.php and display controllers and models in lowercase . These are the problems I've had with this new version of CodeIgniter ( v3 ), what has changed?, how do I fix these details?
Please help me.