CodeIgniter v4.3.8 and v4.4.0 Released! |
(09-07-2023, 02:34 PM)kenjis Wrote: @chaos Try https://github.com/codeigniter4/CodeIgniter4/pull/7901 Thank you very much. Should I patch manually the files and then upgrade when a next version is published?
@chaos Yes, it is only one line change. If something wrong, please report it.
After upgrading to v4.4.0, all form submissions get timeout. I dont know how to fix this issue.
I have tried replacing system/validation/Validation.php, system/validation/ValidationInterface.php from v4.3.7 and all works fine. and this is the code i have tried. my app's current ci4 version is: v4.4.1 Code: $validation = \Config\Services::validation(); And these are the generated logs. Code: INFO - 2023-09-11 18:25:32 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. Please help me i dont know how to fix this issue.
@MrWhite I tried the code, and got "$validation->check(...) boolean true"
You might have wrong Validation config. (09-11-2023, 03:52 PM)kenjis Wrote: @MrWhite I tried the code, and got "$validation->check(...) boolean true" Thank you very much Kenjis!!! mucho appreciate your huge support for the CI community and huge contribution to the framework itself.
(08-26-2023, 03:58 AM)nc03061981 Wrote: I have CRITICAL I had the exact same problem when upgrading existing project from version 4.3.5 to 4.4.6. I found a hint in here: https://codeigniter4.github.io/userguide...nfig-files Basically copy config/Routing.php file from vendor to app/config Code: $ cp vendor/codeigniter4/framework/app/Config/Routing.php app/Config This file was not present in previous versions, like two others (found elsewhere, also throwing errors): Code: $ cp vendor/codeigniter4/framework/public/index.php public/index.php Not sure how many else files might be missing? It might depend on project complexity. Wouldn't it be easier to publish necessary changes this way? - as list of files to be copied/replaced/merged?
If you can use Composer, shell, and git, tatter/patches updates these files automatically.
https://github.com/tattersoftware/codeigniter4-patches (08-25-2023, 05:53 AM)Frederik Wrote: I just installed 4.4 and all look good!Great to hear 4.4 is working well! Hot reloading often needs updated config files, especially after significant upgrades like those in 'All Changes.' Copying them was a smart move. Thanks for sharing your experience, and kudos to the team for their hard work in delivering this update! |
Welcome Guest, Not a member yet? Register Sign In |