Welcome Guest, Not a member yet? Register   Sign In
CI4 upgrade from version 4.2.1 to 4.2.6
#19

(09-14-2022, 03:34 AM)kenjis Wrote:
(09-14-2022, 02:23 AM)serialkiller Wrote: No, I installed with composer, I had to copy the system folder to the root because the new version of the Paths.php file (which I replaced the old one) at line 28 reads:

PHP Code:
public $ systemDirectory __DIR__'/../../system'

You did it wrong. You should not change the path.

If you installed via Composer, the system folder should be always vender/codeigniter4/framework/system.

I imagine it, but in the new Paths.php file that I copied from the folder vendor, after the update, the path was different, now as written above, the file is correct, I don't know why it wasn't before and if I didn't change this __DIR__ . '/../../system' in this __DIR__. '/../../vendor/codeigniter4/framework/system' obviously wouldn't work

I also checked the two files (the old and the new Paths.php file), with VS Code comparing them
Reply


Messages In This Thread
RE: CI4 upgrade from version 4.2.1 to 4.2.6 - by serialkiller - 09-14-2022, 04:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB