![]() |
Im using composer to install previous version
Code: composer create-project codeigniter4/appstarter:4.4.8 myproject After that I'm running this command Code: php spark env development and get this error This "system/bootstrap.php" is no longer used. If you are seeing this error message, the upgrade is not complete. Please refer to the upgrade guide and complete the upgrade. See https://codeigniter4.github.io/userguide...e_450.html PHP Fatal error: Uncaught Error: Undefined constant "ENVIRONMENT" Then I manually created the .env file. But the error is still there. Please help
i think you may have omitted information :
our quoting upgrade instructions from 4.4.8 to 4.5.0 so im assming you ran from a command prompt: composer update. you dont say where you have put codeigniter and on which O.S Anyway the upgrade instructions say, go and look for the vendor directory , then is subdirectory path something like framework/codeigniter . keep searching till you find public then copy index.php and spark and drop them into the public directory of of web dev root directory, which will repalce old ones. to fire up it should be from a terminal : php spark server tjhat should fire up inbuilt server
It is recommended to use the latest version, but if you need to install v4.4.8 appstater now,
see https://codeigniter.com/user_guide/insta...s-versions |
Welcome Guest, Not a member yet? Register Sign In |