Zen Cart Logo
Forums / Upgrading to 1.5.x / 157d works very well on php 8.1, except shipping/paymnt modules

157d works very well on php 8.1, except shipping/paymnt modules

Views: 1,102

Results 1 to 9 of 9
9 Mar 2022, 10:13 PM
#1
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

157d works very well on php 8.1, except shipping/paymnt modules

I am testing 157d on php 8.1. It works very well, except that I cannot make any changes to shipping rate. I have to roll back to php 7.4 to change shipping rate.

Payment module also rejects any changes under php 8.1

Just wonder if it is possible to change shipping rate by running some sql code? or any other method outside admin panel? If yes, then I can run 157d on php 8.1 :smile:

Many thanks!

10 Mar 2022, 2:54 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: 157d works very well on php 8.1, except shipping/paymnt modules

Would help to identify more detail, what shipping module? What payment module?

For these things, where are these changes being made? How would the issue be reproduced?

Was this an upgrade? How was the uplifted performed?

Likely have more questions after some answers.

10 Mar 2022, 3:13 AM
#3
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

Re: 157d works very well on php 8.1, except shipping/paymnt modules

Sorry, I think it is my fault, probably because of some plugins. Not a problem with Zen Cart.

10 Mar 2022, 3:58 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: 157d works very well on php 8.1, except shipping/paymnt modules

markau:

Sorry, I think it is my fault, probably because of some plugins. Not a problem with Zen Cart.

Don't know until a healthy discussion and additional review. If you figure out what caused the reported issues, please post here how it was caused and what was done to fix it. You can't be the only one that has our all experience it.

10 Mar 2022, 4:04 AM
#5
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

Re: 157d works very well on php 8.1, except shipping/paymnt modules

I have not figured out yet, still working on it. I said it is my fault because when I installed a new copy of 157d without doing anything on it, it works well. So the problem must be on my side.

10 Mar 2022, 11:19 AM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: 157d works very well on php 8.1, except shipping/paymnt modules

You should be able to run under PHP 8.0 - have you tried that?

10 Mar 2022, 11:31 AM
#7
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

Re: 157d works very well on php 8.1, except shipping/paymnt modules

Thanks swguy, I will reinstall a new copy of 157d, much easier than investigating problems of the old one. I found 157d working very well on php 8.1 but have to be careful when installing old plugins which could cause problem :smile:

10 Mar 2022, 7:21 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: 157d works very well on php 8.1, except shipping/paymnt modules

Agreed.

If you are installing a lot of plugins, a good practice is to have a test store where you can install, verify, debug and harden PRIOR to updating your live site.

https://docs.zen-cart.com/user/running/local_testing/

10 Mar 2022, 10:16 PM
#9
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

Re: 157d works very well on php 8.1, except shipping/paymnt modules

Many thanks for your kind instructions :smile: