Closed Martin1877 closed 1 year ago
Found the solutions here: https://codeigniter4.github.io/userguide/installation/upgrade_420.html#index-php-and-spark
The three commands
composer update cp vendor/codeigniter4/framework/public/index.php public/index.php cp vendor/codeigniter4/framework/spark .
did it.
I tried to follow the tutorial but stumbled over the index.php in the public folder. Isn't there something missing when initiating the app? The declaration
$app = require rtrim($paths->systemDirectory, '/ ') . '/bootstrap.php';
gives me 1 for the $app as the require echos "true", not an app object. From later CI versions there should be the require ... only (without declaration) and after that something like $app->initiate(). But I cannot get that running :o=