Post by straightlight » Thu Nov 10, 2022 12:43 am

OSWorX wrote:
Wed Nov 09, 2022 7:28 pm
Just for the audience coming to this discussion: php 7.x will die on the 28th of November 2022.
From then only php 8.x (best 8.2.x) should be used!
Read: https://endoflife.date/php
November 24, 2022.
Last edited by straightlight on Fri Nov 11, 2022 3:00 am, edited 1 time in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Thu Nov 10, 2022 12:07 pm

straightlight wrote:
Thu Nov 10, 2022 12:43 am
OSWorX wrote:
Wed Nov 09, 2022 7:28 pm
Just for the audience coming to this discussion: php 7.x will die on the 28th of November 2022.
From then only php 8.x (best 8.2.x) should be used!
Read: https://endoflife.date/php
November 24, 2022.
Well, as far as I can see it will be the 28th November 2022:
Image

What you are "highlighting" straightlight is the "planned" release date of php 8.2 (https://php.watch/versions ):
Image

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by straightlight » Fri Nov 11, 2022 1:07 am

OSWorX wrote:
Thu Nov 10, 2022 12:07 pm
straightlight wrote:
Thu Nov 10, 2022 12:43 am
OSWorX wrote:
Wed Nov 09, 2022 7:28 pm
Just for the audience coming to this discussion: php 7.x will die on the 28th of November 2022.
From then only php 8.x (best 8.2.x) should be used!
Read: https://endoflife.date/php
November 24, 2022.
Well, as far as I can see it will be the 28th November 2022:
Image

What you are "highlighting" straightlight is the "planned" release date of php 8.2 (https://php.watch/versions ):
Image
From the screenshots you posted, the release date does specifically state it is indeed on November 24th 2022.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Fri Nov 11, 2022 2:15 am

straightlight wrote:
Fri Nov 11, 2022 1:07 am
What you are "highlighting" straightlight is the "planned" release date of php 8.2 (https://php.watch/versions ):
Image
From the screenshots you posted, the release date does specifically state it is indeed on November 24th 2022.
[/quote]

I give it up.
Please buy new classes (or better), as can be seen (at 8.2): Release Date 2022-11-24
I know that you are from Canada, and I think they use also the "american" style: year-month-date

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by straightlight » Fri Nov 11, 2022 2:16 am

OSWorX wrote:
Fri Nov 11, 2022 2:15 am
straightlight wrote:
Fri Nov 11, 2022 1:07 am
What you are "highlighting" straightlight is the "planned" release date of php 8.2 (https://php.watch/versions ):
Image
From the screenshots you posted, the release date does specifically state it is indeed on November 24th 2022.
I give it up.
Please buy new classes (or better), as can be seen (at 8.2): Release Date 2022-11-24
I know that you are from Canada, and I think they use also the "american" style: year-month-date
[/quote]

Yes, 2022-11-24.

That's November 24th! What optometric vision do you inquire then if mine requires new glasses and not classes? !

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Fri Nov 11, 2022 2:54 am

straightlight wrote:
Thu Nov 10, 2022 12:43 am
OSWorX wrote:
Wed Nov 09, 2022 7:28 pm
Just for the audience coming to this discussion: php 7.x will die on the 28th of November 2022.
From then only php 8.x (best 8.2.x) should be used!
Read: https://endoflife.date/php
November 24, 2022.
November 24, 2022 is the date when the new php 8.2 will be released.
From November 28, 2022 no security updates for 7.4.33 will be made anymore!
Active support for 7.4.33 ended already 1 year before: November 28, 2021

Nevertheless (classes or glasses or whatever ..): using php 7.x (or much worse 5.x) is only a security risk for everybody - that's why many provider will support only php 8.x from the November 24, 2022 and stop offering older php versions!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by straightlight » Fri Nov 11, 2022 2:59 am

OSWorX wrote:
Fri Nov 11, 2022 2:54 am
straightlight wrote:
Thu Nov 10, 2022 12:43 am
OSWorX wrote:
Wed Nov 09, 2022 7:28 pm
Just for the audience coming to this discussion: php 7.x will die on the 28th of November 2022.
From then only php 8.x (best 8.2.x) should be used!
Read: https://endoflife.date/php
November 24, 2022.
November 24, 2022 is the date when the new php 8.2 will be released.
From November 28, 2022 no security updates for 7.4.33 will be made anymore!
Active support for 7.4.33 ended already 1 year before: November 28, 2021

Nevertheless (classes or glasses or whatever ..): using php 7.x (or much worse 5.x) is only a security risk for everybody - that's why many provider will support only php 8.x from the November 24, 2022 and stop offering older php versions!
This is what I stated on the above; PHP 8.2. I was not referring to PHP 7.x in my previous posting. I got no idea where you got that from. You recommended the user to use PHP 8.2 and I mentioned the date of the release. That can even be found on Google.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Fri Nov 11, 2022 3:55 am

straightlight wrote:
Fri Nov 11, 2022 2:59 am
I was not referring to PHP 7.x in my previous posting. I got no idea where you got that from.
Sorry but this discussion here is about upgrading OpenCart from php 5.6 to php 7
The subject says it all ..

So before users want to update to an obsolete version, better to use an actual (and safe) one!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by straightlight » Fri Nov 11, 2022 4:11 am

OSWorX wrote:
Fri Nov 11, 2022 3:55 am
straightlight wrote:
Fri Nov 11, 2022 2:59 am
I was not referring to PHP 7.x in my previous posting. I got no idea where you got that from.
Sorry but this discussion here is about upgrading OpenCart from php 5.6 to php 7
The subject says it all ..

So before users want to update to an obsolete version, better to use an actual (and safe) one!
Also says in parentheses that PHP 7.x is dead!

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by brewers_wordier0i » Fri Nov 11, 2022 6:30 pm

Thanks a ton for helping with proper solution. This helped me as I face the same issue with opencart.

Thanks Again and Regards,
Matthew


Posts

Joined
Wed Nov 09, 2022 5:50 pm
Location - Williston, FL

Post by brewers_wordier0i » Wed Nov 16, 2022 11:03 pm

IP_CAM wrote:
Mon Apr 06, 2020 3:32 am
Well, unaware of, if this is directly related to PHP7+, I modified some Files,
to be according latest spec's. They replace some default OC v.1.5.6.4 - 1.5.6.5_rc
Files, and they might work in older v.1.5.6.x Versions too, but I did not check
on that. It's all about the Pagination Section, where this:

Code: Select all

if (isset($this->request->get['page'])) {
	$page = $this->request->get['page'];
	} else {
	$page = 1;
	}
has been changed to this:

Code: Select all

if (isset($this->request->get['page'])) {
	$page = (int)$this->request->get['page'];
	} else {
	$page = 1;
	}
One of the Pro's might know, why it was changed to an INT Routine,
and if it has been done, because of PHP7 , or then for some other reason ... ???
It's just too far out for a colorblind Coder, to understand... :laugh: But as long
as something works, and it does, it's ok with me ... ;)
Ernie
PS: The PHP 7+ system/library/encryption.php File is already included too!
Thanks, this is the best ever solution for upgrading to PHP 5.6 to 7 without any hurdle (I tried it for OpenCart only, so not so sure about any other CMS or Platform!).


Posts

Joined
Wed Nov 09, 2022 5:50 pm
Location - Williston, FL
Who is online

Users browsing this forum: No registered users and 41 guests