JasonBaier / ci3-fire-starter

NOW THAT CODEIGNITER 4 HAS BEEN RELEASED, THIS PROJECT WILL NOT BE UPDATED ANYMORE. CI3 Fire Starter is a CodeIgniter3 skeleton application that includes jQuery and Twitter Bootstrap. It is intended to be light weight, minimalistic and not get in your way of building great CodeIgniter 3 applications.
MIT License
153 stars 152 forks source link

routing not works properly; #44

Closed focus627 closed 5 years ago

focus627 commented 5 years ago

have to include /index.php/

at PHP 7.2.1 in development environment, ERROR - 2019-02-17 15:47:18 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/c3fire/application/config/config.php:526) /Applications/MAMP/htdocs/c3fire/system/core/Common.php 564 in production environment, routing have to add /index.php/ after the domain

JasonBaier commented 5 years ago

As long as $config['index_page'] = '' in /application/config/config.php and you have the .htaccess file that was included with the latest release, then it should work.

It's possible MAMP is not properly configured. Check here: https://stackoverflow.com/questions/7670561/how-to-get-htaccess-to-work-on-mamp