![]() |
Installation CI4 on laragon - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Installation CI4 on laragon (/showthread.php?tid=75625) |
Installation CI4 on laragon - cb21 - 02-27-2020 Hello First congratulation for the new version 4.0.0. I wanted to test it and not possible to download it from the home page. I think it is just a temporary problem. I found it https://github.com/codeigniter4/framework/archive/v4.0.2.zip My environement : windows 2010 with laragon I created a new website ci4, copy the source, add .env with the url Then when I test my first default page http://localhost/ci4/public/index.php I have this error Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\HTTP\URI: ![]() RE: Installation CI4 on laragon - cb21 - 02-27-2020 I found my error On the .env I had app.baseURL = 'localhost/ci4' It was wront. I change on app.baseURL = 'http://localhost/ci4' And it works. Sorry for this post but maybe that will help other. I should close this post as resolved RE: Installation CI4 on laragon - JagadishMeghwal - 07-07-2022 (02-27-2020, 03:34 AM)cb21 Wrote: I found my error Had the same error., did a silly mistake., app.baseUrl = http// and here I missed the : part., Thanks it helped me |