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

(This post was last modified: 09-14-2022, 03:32 AM by serialkiller.)

(09-14-2022, 03:06 AM)captain-sensible Wrote: I just started on a new CI4 web version 4.2.6  I used  composer to install  (nothing at all manual) I CAN Confirm I also have a "system"  folder" at web root.  Dont remember if it was there  on initial  install or not. Or if it appeared later due to composer install , or update?

This is what I have in vendor :

Code:
[andrew@darkstar:http/kursaal.org]$ tree -L 1 vendor                                                            (09-14 11:08)
vendor
├── autoload.php
├── composer
├── kint-php
├── laminas
└── psr

4 directories, 1 file
[andrew@darkstar:http/kursaal.org]$   



if you take out the system folder , it wont work.

NOTE

I found you get a system folder if you go to :

https://packagist.org/packages/codeigniter4/framework

and use the suggested text command :


composer create-project codeigniter4/framework

but dont if you use:

composer create-project codeigniter4/appstarter project-root


This looks confusing and possibly a duplication

: https://packagist.org/packages/codeigniter4/appstarter 

https://packagist.org/packages/codeigniter4/framework

Both showing 4.2.6  but seem to give different structures


The text  " composer require codeigniter4/framework"

is mentioned at :

https://codeigniter4.github.io/CodeIgnit...ng-project

I honestly don't understand, I updated with composer to the latest version of 4, there was no system folder in the root but in the Paths.php file that I copied from the vendor/codeigniter4/framework/app/Config folder there was a path that pointed to a folder system on the root that did not exist and therefore did not work, so I copied it from the vendor and obviously it worked, restoring the path of the old file that pointed to the vendor folder too, or therefore left as it is.

A little while ago I tried to create a new project from scratch again with composer and now the Paths.php file has the old link again pointing to the vendor ... confused.

Also, I don't understand a second thing, at this link:

https://codeigniter4.github.io/CodeIgnit...e_420.html

at the bottom of the page there is a list of files that have changed, including "preload.php" which should be in the root, but I don't find it in the old or the new ...

I don't use any other repository other than the official one
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB