Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter v4.6.0 released!
#11

(This post was last modified: 01-22-2025, 09:20 AM by titounnes.)

I also found that the FULL_SORT constant had not been defined, so it triggered an error when we set development mode.

(01-22-2025, 08:18 AM)michalsn Wrote: @titounnes were you upgrading or installing codeigniter with
Code:
composer create-project codeigniter4/appstarter


With a fresh install, I cannot reproduce your errors.

what version of PHP are you using? I'm running on version 8.4.3.
Reply
#12

@titounnes PHP 8.4.2

Judging by the messages, you have an existing project and are upgrading to v4.6.0
Follow the upgrade instructions: https://codeigniter.com/user_guide/insta...e_460.html - you should update some of the existing files in the “app” folder besides running composer update.
Reply
#13

(01-22-2025, 09:30 AM)michalsn Wrote: @titounnes PHP 8.4.2

Judging by the messages, you have an existing project and are upgrading to v4.6.0
Follow the upgrade instructions: https://codeigniter.com/user_guide/insta...e_460.html - you should update some of the existing files in the “app” folder besides running composer update.
I didn't upgrade from the previous version, but did a fresh install. I repeated creating a new project 4 times, the result was the same.
Reply
#14

@titounnes  You may try to run
Code:
composer clear-cache

and then
Code:
composer create-project codeigniter4/appstarter myproject
Reply
#15

(01-22-2025, 10:26 AM)michalsn Wrote: @titounnes  You may try to run
Code:
composer clear-cache

and then
Code:
composer create-project codeigniter4/appstarter myproject

Hi,
Just change the content in app/Config/Kint.php to the new version here : 
Kint 4.6.0
Reply
#16

@ALTITUDE_DEV it should not be required. Are you experiencing the same problem?
Reply
#17

(This post was last modified: 01-23-2025, 05:49 AM by massimiliano1.mancini.)

I've just upgraded my production site.

The only extra activity was to set Config\Routing::$translateUriToCamelCase=false

Great job guys! Thank you.
As somebody already wrote, it is a pleasure to be able to use php 8.4
Reply
#18

(01-23-2025, 01:39 AM)michalsn Wrote: @ALTITUDE_DEV it should not be required. Are you experiencing the same problem?

Yes, I had the same issue on my end, but by replacing the KINT.PHP file with the new one, the problem was resolved automatically.
Reply
#19

@ALTITUDE_DEV Did you have the same issue on the existing project after running "composer update" or after creating a new one after running "composer create-project codeigniter4/appstarter"?

If the first option is true, you should follow the instructions at https://codeigniter.com/user_guide/insta...e_460.html because you upgraded your project to CI 4.6.0.
Reply
#20

(This post was last modified: 01-26-2025, 07:46 AM by ALTITUDE_DEV.)

(01-26-2025, 06:45 AM)michalsn Wrote: @ALTITUDE_DEV Did you have the same issue on the existing project after running "composer update" or after creating a new one after running "composer create-project codeigniter4/appstarter"?

If the first option is true, you should follow the instructions at https://codeigniter.com/user_guide/insta...e_460.html because you upgraded your project to CI 4.6.0.

In my case, I got the first option. However, it's kind of you to want to help, but I've already found this trick a while ago ^^ I'll help the other user in this topic who was having trouble, I don't need help on this subject.  Smile
Reply




Theme © iAndrew 2016 - Forum software by © MyBB