Welcome Guest, Not a member yet? Register   Sign In
Problems with CodeIgniter 4.0.4
#11

(09-06-2020, 01:52 PM)Omar Crespo Wrote:
(09-06-2020, 06:19 AM)InsiteFX Wrote: You may need to change the .htaccess file.

Code:
# from this to the below
RewriteRule ^(.*)$ index.php/$1 [L]

# Change to this on some servers
RewriteRule ^(.*)$ index.php?/$1 [L]

And do not forget that the base url needs to end with a forward slash.
Thanks but that whasn't the problem.

I kind of solve it by adding public folder to my base url. That should be included in the guide.
Instead of
$baseURL = http://localhost/CI4/

It works with:
$baseURL = http://localhost/CI4/public/

Where can I download the .zip guide of CI4?? Here in my country (Cuba) we have veeery limited online access, so it would be great to read it offline. Thanks

You can download it here: https://codeigniter.com/docs
Reply




Theme © iAndrew 2016 - Forum software by © MyBB