Upgrading from 4.1.8 to 4.2.0 |
Hi
I went through the process of upgrading codeigniter from 4.1.8 to 4.2.0 I've the framework installed through composer I executed the following commands Code: rm public/index.php Then the commands stated in user Guide https://codeigniter.com/user_guide/insta...ading.html Code: > composer update Now I cannot run the App because I'm getting this in the Apache logs Code: [Thu Jun 09 11:10:14.915165 2022] [php7:error] [pid 1931744] [client 10.2.132.217:49362] PHP Fatal error: Uncaught Error: Call to a member function run() on int in /var/www/myweb/index.php:40\nStack trace:\n#0 {main}\n thrown in /var/www/myweb/index.php on line 40 Should I also copy (and overwrite) the vendor/codeigniter4/framework/public/index.php to /var/www/myweb/index.php ? I don't remember why I have that index.php in root, but I guess it was for sef urls or to remove index.php from url Thanks a lot
Enrique
https://beza.com.ar |
Messages In This Thread |
Upgrading from 4.1.8 to 4.2.0 - by kabeza - 06-09-2022, 07:49 AM
RE: Upgrading from 4.1.8 to 4.2.0 - by iRedds - 06-09-2022, 08:02 AM
RE: Upgrading from 4.1.8 to 4.2.0 - by samiam - 06-09-2022, 10:01 AM
RE: Upgrading from 4.1.8 to 4.2.0 - by kenjis - 06-09-2022, 03:10 PM
|