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

(02-27-2022, 02:02 AM)InsiteFX Wrote: In other words I copy the complete codeIgniter4-development all files are copied as is out of the folder to the ci4test folder

I then edited and changed the CI_VERSION in system/Codeigniter.php

PHP Code:
public const CI_VERSION '4.1.9'

It seems you downloaded the develop branch of https://github.com/codeigniter4/CodeIgniter4/
It has still two vulnerabilities, not fixed yet.

If
PHP Code:
CI_VERSION '4.1.8' 
, it is not fixed.
Reply
#12

v4.1.9 fixes  are merged into develop branch.
https://github.com/codeigniter4/CodeIgni...er.php#L48
Reply
#13

Thank you @kenjis

Yes I was using the Development branch.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#14

[quote pid="394230" dateline="1645837284"]
Dear CodeIgniter Team,
There is a strange issue with my CodeIgniter 4.1.9 version, though I could do the same without issue on the 4.1.4 version. The problem is as follows

[/quote]
the code is 
Code:
php spark make:controller Myex --suffix --force
Here is the output from 4.1.4 version
>php spark make:controller Myex --force --suffix
Code:
CodeIgniter v4.1.4 Command Line Tool - Server Time: 2022-03-15 10:34:18 UTC+05:00

File overwritten: APPPATH\Controllers\MyexController.php

And here is the output from the 4.1.9 version 

Code:
> php spark make:controller Myex --force --suffix

CodeIgniter v4.1.9 Command Line Tool - Server Time: 2022-03-15 10:35:50 UTC+05:00


[Error]

Cannot unpack array with string keys

at SYSTEMPATH\CodeIgniter.php:893

Backtrace:
  1    SYSTEMPATH\CodeIgniter.php:467
      CodeIgniter\CodeIgniter()->runController(Object(CodeIgniter\CLI\CommandRunner))

  2    SYSTEMPATH\CodeIgniter.php:346
      CodeIgniter\CodeIgniter()->handleRequest(null, Object(Config\Cache), false)

  3    SYSTEMPATH\CLI\Console.php:48
      CodeIgniter\CodeIgniter()->run()

  4    ROOTPATH\spark:79
      CodeIgniter\CLI\Console()->run()

the PHP version is 
Code:
> php --version
PHP 7.4.19 (cli) (built: May  4 2021 14:24:38) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies


What is the problem ! ?
Reply
#15

Can't reproduce.

Code:
bash-3.2$ php -v
PHP 7.4.27 (cli) (built: Dec 16 2021 18:12:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v3.0.2, Copyright (c) 2002-2021, by Derick Rethans
    with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies

bash-3.2$ php spark make:controller Myex --suffix --force

CodeIgniter v4.1.9 Command Line Tool - Server Time: 2022-03-15 05:45:26 UTC-05:00

File overwritten: APPPATH/Controllers/MyexController.php
Reply
#16

@nurmyrat It seems this bug: https://github.com/codeigniter4/CodeIgni...ssues/5835
It was fixed in the latest develop branch.

I don't know why I did not reproduce it.
Reply
#17

(02-26-2022, 03:07 AM)kenjis Wrote: @InsiteFX How do you install?
codeigniter4/framework is surely updated:
https://github.com/codeigniter4/framewor...120e0cL48v
Thanks for the updated link, I downloaded it from github. Great work.  Heart
Reply




Theme © iAndrew 2016 - Forum software by © MyBB