Why i get CI 4.2 instead of 4.9? |
4.2 is the most recent version. The previous version was 4.1.9. Is that what you were expecting?
Hey guys - let's keep the forums friendly, please. No need to be insulting.
If you need to install v4.1.9 for some reason, try:
Code: $ composer create-project codeigniter4/appstarter:4.1.9 pr (06-06-2022, 06:06 PM)datamweb Wrote: @luckmoshy The latest version released is now 4.2(See) Thank you @datamweb because before I used that way and I got it right but I then try and got 4.2 so I was surprised why it gives me 4.2! ok any way thank you (06-06-2022, 03:10 PM)kenjis Wrote: If you need to install v4.1.9 for some reason, try: Thanks, @kenjis I was confused with the version I thought it is 4.1.2 oh dear me that I didn't know that it was a new version (4.2) oh dear me I am sorry all guys I was really confused between this version (4.1.2) and I didn't know that there is a new CI 4.2 at last from my hearsay I expect to see a new CI version 5 that was stuck in my brain Codeigniter First, Codeigniter Then You!!
yekrinaDigitals
(06-06-2022, 07:20 PM)luckmoshy Wrote:(06-06-2022, 06:06 PM)datamweb Wrote: @luckmoshy The latest version released is now 4.2(See) Hi i tried the composer code for version 4.1.9 but did not work. The installation was incomplete. It gives me this error: Code: [b]Fatal error[/b]: Uncaught Error: Call to a member function run() on int in C:\xampp\htdocs\MyCoursesLG\testbed\pr\index.php:37 Stack trace: #0 {main} thrown in [b]C:\xampp\htdocs\MyCoursesLG\testbed\pr\index.php[/b] on line [b]37[/b] Even the spark does not work. I get this error : Code: Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\CLI\Console::__construct() must be an instance of CodeIgniter\CodeIgniter, int given, called in C:\xampp\htdocs\MyCoursesLG\testbed\pr\spark on line 48 and defined in C:\xampp\htdocs\MyCoursesLG\testbed\pr\vendor\codeigniter4\framework\system\CLI\Console.php:29 I am using php 7.4 under xampp in windows 10. Please help. Thank you.
open composer.json and in section "require" specify version 4.1.9
and then composer update 2Team: For the appstarter, you need to specify the version of the framework statically, for each release. "^4" = install the latest version. |
Welcome Guest, Not a member yet? Register Sign In |