Welcome Guest, Not a member yet? Register   Sign In
Installation CI4 on laragon


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/framewor...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


I have this error

Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\HTTP\URI:ConfusedetScheme() must be of the type string, null given, called in C:\laragon\www\ci4\system\HTTP\IncomingRequest.php on line 616 and defined in C:\laragon\www\ci4\system\HTTP\URI.php:625 Stack trace: #0 C:\laragon\www\ci4\system\HTTP\IncomingRequest.php(616): CodeIgniter\HTTP\URI->setScheme(NULL) #1 C:\laragon\www\ci4\system\HTTP\IncomingRequest.php(184): CodeIgniter\HTTP\IncomingRequest->detectURI('REQUEST_URI', 'localhost/ci4/') #2 C:\laragon\www\ci4\system\Config\Services.php(609): CodeIgniter\HTTP\IncomingRequest->__construct(Object(Config\App), Object(CodeIgniter\HTTP\URI), '', Object(CodeIgniter\HTTP\UserAgent)) #3 C:\laragon\www\ci4\system\Config\BaseService.php(123): CodeIgniter\Config\Services::request(Object(Config\App), false) #4 C:\laragon\www\ci4\system\Config\Services.php(597): CodeIgniter\Config\BaseService::getSharedInstance('request', NULL) #5 C:\laragon\www\ci4\system\Config\Services.php(274): CodeIgniter\Config\Services::request() # in C:\laragon\www\ci4\system\HTTP\URI.php on line 625

Messages In This Thread
Installation CI4 on laragon - by cb21 - 02-27-2020, 03:20 AM
RE: Installation CI4 on laragon - by cb21 - 02-27-2020, 03:34 AM

Theme © iAndrew 2016 - Forum software by © MyBB