Zen Cart Logo
Forums / Upgrading to 1.5.x / Problems with v157 or possibly newer with PHP8 upgrade

Problems with v157 or possibly newer with PHP8 upgrade

Views: 1,844

Results 1 to 9 of 9
24 Mar 2022, 2:50 AM
#1
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Problems with v157 or possibly newer with PHP8 upgrade

Just FYI if you are running v157 and possibly v157b -157d. Host upgraded to PHP8. Home page normal, categories normal, product pages refreshed after approximately 1 second to a blank page with "I DO NOT MATCH" error message followed by alphanumeric characters displayed in upper left corner. Was unaware host company made the upgrade and took some time to figure this was the cause. Reverting back to PHP7 fixed it. The following plug ins were in use:

UPS XML
PayPal Payments Pro
PayPal Express Checkouts
Dynamic Price Updater 3.2.1
Ultimate Urls 2.215
Easy Google Analytics
Banner Display Group
2x Slideshow
Recover Cart Sales
Responsive Sheffield Blue
Winchester Responsive
Zen Color Box
Carousel Featured Products

24 Mar 2022, 4:25 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Problems with v157 or possibly newer with PHP8 upgrade

The message provided is not part of the core zen Cart software. Can maybe find out what software includes it by way of the tools -> developers tool kit. Go to the bottom, enter in just the message, select whether to look at the whole site, the catalog or the admin. Suggest looking at all files instead of just php or javascript. Report back so others can address as well.

24 Mar 2022, 6:35 PM
#3
swguy avatar

swguy

Administrator

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

Re: Problems with v157 or possibly newer with PHP8 upgrade

It is part of the core software. It's in includes/classes/shopping_cart.php line 1081.

@goldbuckle, when you say "PHP8" do you mean PHP 8.0 or PHP 8.1? Zen Cart 1.5.7d should work on PHP 8.0 with dup language warnings suppressed.

24 Mar 2022, 6:44 PM
#4
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Problems with v157 or possibly newer with PHP8 upgrade

mc12345678:

The message provided is not part of the core zen Cart software. Can maybe find out what software includes it by way of the tools -> developers tool kit. Go to the bottom, enter in just the message, select whether to look at the whole site, the catalog or the admin. Suggest looking at all files instead of just php or javascript. Report back so others can address as well.

I switched back to version 8 and replicated the error: I DO NOT MATCH 181:a872d2fdc942b2ad0bf1e34af16eaacf
Here is the screenshot from the developer tool kit:
Attachment 19934

24 Mar 2022, 6:51 PM
#5
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Problems with v157 or possibly newer with PHP8 upgrade

PHP version 8.0

swguy:

It is part of the core software. It's in includes/classes/shopping_cart.php line 1081.

@goldbuckle, when you say "PHP8" do you mean PHP 8.0 or PHP 8.1? Zen Cart 1.5.7d should work on PHP 8.0 with dup language warnings suppressed.

24 Mar 2022, 6:56 PM
#6
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Problems with v157 or possibly newer with PHP8 upgrade

When you say it is in includes/classes/shopping_cart.php line 1081 are you talking about v157 or another version because I don't see it on line 1081

swguy:

It is part of the core software. It's in includes/classes/shopping_cart.php line 1081.

@goldbuckle, when you say "PHP8" do you mean PHP 8.0 or PHP 8.1? Zen Cart 1.5.7d should work on PHP 8.0 with dup language warnings suppressed.

24 Mar 2022, 7:49 PM
#7
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Problems with v157 or possibly newer with PHP8 upgrade

@swguy
I found it on line 1071

24 Mar 2022, 8:54 PM
#8
swguy avatar

swguy

Administrator

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

Re: Problems with v157 or possibly newer with PHP8 upgrade

The file reference was for 1.5.7d. Your file may be different.
What was in your shopping cart at the time?

24 Mar 2022, 9:52 PM
#9
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
219
Plugin Contributions:
0

Re: Problems with v157 or possibly newer with PHP8 upgrade

I believe it was 2 part 8.5x11 carbonless on my site. I got the same message but with different alphanumeric data with multiple products and also when trying to access the cart with something in it. Main page and category pages seemed unaffected unless it was a category with only 1 product defaulting to that product.

swguy:

The file reference was for 1.5.7d. Your file may be different.
What was in your shopping cart at the time?