Welcome Guest, Not a member yet? Register   Sign In
Why i get CI 4.2 instead of 4.9?
#8

(This post was last modified: 06-09-2022, 07:15 AM by murugappan.)

(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)
That's why you get it.
If you want to get the previous version(4.1.9) use:

Code:
composer create-project codeigniter4/appstarter:4.1.9 pr


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:

Code:
$ composer create-project codeigniter4/appstarter:4.1.9 pr


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

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
Stack trace:
#0 C:\xampp\htdocs\MyCoursesLG\testbed\pr\spark(48): CodeIgniter\CLI\Console->__construct(1)
#1 {main}
  thrown in C:\xampp\htdocs\MyCoursesLG\testbed\pr\vendor\codeigniter4\framework\system\CLI\Console.php on line 29 


I am using php 7.4 under xampp in windows 10. Please help. Thank you.
Reply


Messages In This Thread
Why i get CI 4.2 instead of 4.9? - by luckmoshy - 06-06-2022, 09:54 AM
RE: Why i get CI 4.2 instead of 4.9? - by iRedds - 06-06-2022, 10:46 AM
RE: Why i get CI 4.2 instead of 4.9? - by kenjis - 06-06-2022, 03:10 PM
RE: Why i get CI 4.2 instead of 4.9? - by murugappan - 06-09-2022, 07:01 AM
RE: Why i get CI 4.2 instead of 4.9? - by iRedds - 06-09-2022, 09:43 AM
RE: Why i get CI 4.2 instead of 4.9? - by kenjis - 06-09-2022, 03:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB