Zen Cart Logo
Forums / Upgrading to 1.5.x / Known bugs (and fixes) for v1.5.8 series

Known bugs (and fixes) for v1.5.8 series

Sticky Locked

Views: 13,685

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
16 Oct 2022, 2:58 PM
#1
swguy avatar

swguy

Administrator

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

Known bugs (and fixes) for v1.5.8 series

Confirmed bug reports and fixes for v1.5.8 will be posted here by the project maintainers.

As we find issues, we will fix them in Github for delivery in the next update to 1.5.8.

https://github.com/zencart/zencart

You can follow more 1.5.8 goings on in the discussion thread:

https://github.com/zencart/zencart/discussions/5320

17 Oct 2022, 9:26 AM
#2
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

There was a bug in the initial release relating to database version. Thanks to @mc12345678 for reporting this so quickly.

The issue has been fixed and these notes are only required for people who downloaded the build within the first 24 hours of availability (prior to 2022-10-17 at 05:05 AM EST.)

To fix the bug:

  • In phpMyAdmin, update your project_version table. The most recent entries should refer to minor version 5.8 (not 5.8-dev).
20 Oct 2022, 8:50 PM
#3
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Long time users who have had the product since before Zen Cart 1.5.6 may see an issue when going to Tools > EZ Pages. If you get a white screen, here is the fix: go to Admin > Tools > Install SQL Patches and run

ALTER TABLE customers_basket DROP COLUMN final_price;
ALTER TABLE ezpages DROP COLUMN languages_id;
ALTER TABLE ezpages DROP COLUMN pages_title;
ALTER TABLE ezpages DROP COLUMN pages_html_text;

NOTE: This should only affect users using a database prefix (e.g. "zen_" or "zc_") in their configure.php files.

24 Oct 2022, 10:36 AM
#4
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

If you don't yet have a configure.php file or a database, you must explicitly go to YOURSITE.com/zc_install if you are running PHP8+.

If you go to YOURSITE.com, PHP7 will show the Welcome to Zen Cart page, but PHP 8+ will show a blank page. Fixed in PR #5332

https://github.com/zencart/zencart/pull/5332/files

30 Oct 2022, 12:26 AM
#5
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

zen_get_products_manufacturers_image fails to work with newer MySQL implementations.

Update required to includes/functions/functions_products.php for 1.5.8.
Fix here:

https://github.com/zencart/zencart/pull/5360/files

3 Nov 2022, 9:47 AM
#6
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

CEON URI Mapping users who are not able to view EZ Pages will need this patch:
https://github.com/zencart/zencart/pull/5368

4 Nov 2022, 10:20 AM
#7
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

CEON URI Mapping users (and some non-users as well) who get logs relating to TOPMOST_CATEGORY_PARENT_ID will need this patch:

https://github.com/zencart/zencart/pull/5371

24 Nov 2022, 5:57 PM
#8
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

PayPal Pro gives a white screen at checkout.

(This can also happen with any other onsite payment method that uses AJAX.)

Fix here: https://github.com/zencart/zencart/pull/5413

See warning in post #9 about additional files required for PayPal.

26 Nov 2022, 1:31 PM
#9
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Please note: if you pick up any of the includes/modules/payment/paypal*.php files to fix a PHP warning or notice, you MUST also pick up the new file

./includes/modules/payment/paypal/paypal_currency_check.php

2 Dec 2022, 11:22 AM
#10
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

The following functions were renamed in 1.5.8 without warning

  • zen_draw_products_pull_down
  • zen_draw_products_pull_down_attributes
  • zen_draw_products_pull_down_categories
  • zen_draw_products_pull_down_categories_attributes
  • zen_get_orders_status

The next release will alias the old names along with a deprecation notice so upgraders will have an easier time of fixing their code.

See

https://github.com/zencart/zencart/pull/5439/files

4 Dec 2022, 10:06 AM
#11
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

The links in the Orders dashboard widget on the home page (that go to the orders page, filtered by the selected status) don't filter correctly.

Fix:
https://github.com/zencart/zencart/pull/5440

9 Dec 2022, 7:23 PM
#12
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Transaction ID missing from PayPal email.

Fix: https://github.com/zencart/zencart/pull/5464/files

See warning in post #9 about additional files required for PayPal.

16 Dec 2022, 4:37 PM
#13
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

If you need to use mysqli or access the link variable in the database class, please apply this PR:

https://github.com/zencart/zencart/pull/5486

16 Feb 2023, 6:24 PM
#14
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Admin pages with numeric dropdowns that provide pagination (page 1, 2, ... n) such as catalog > categories/products and catalog > option name manager do not work in 1.5.8; please apply this fix:

https://github.com/zencart/zencart/pull/5608/files

14 Mar 2023, 11:19 PM
#15
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

AuthorizeNet AIM requires this fix:

https://github.com/zencart/zencart/pull/5653/files

18 Mar 2023, 11:00 AM
#17
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

All above listed bugs and many others are fixed in the Zen Cart 1.5.8a release.
You may download 1.5.8a here: https://github.com/zencart/zencart/releases

10 Jun 2023, 10:31 AM
#18
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Admin > Catalog > Manufacturers does not show Insert button when list of manufacturers is empty (i.e. Initially).

Fix https://github.com/zencart/zencart/pull/5703/files

This was fixed in 1.5.8a.

15 Jan 2024, 3:23 PM
#19
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Rare but possible: customers_default_address_id values in the customers table can get clobbered.

If you are running Zen Cart 1.5.8 or 1.5.8a, you should apply this patch to your system:

https://github.com/zencart/zencart/pull/5687/files

Special thanks to Zen Cart user and developer @marco-pm for cracking this bug.

18 Jan 2024, 6:23 PM
#20
swguy avatar

swguy

Administrator

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

Re: Known bugs (and fixes) for v1.5.8 series

Upgrading an old database with paypaldp and going to PHP 8.2 - it's possible that you may get this error:

PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY"

/home/YOURACCOUNT/public_html/includes/modules/payment/paypaldp.php:264

If this happens, simply go to Admin > Modules > Payment and visit the PayPal configuration page to fix it.

This issue is fixed in Zen Cart 2.0.0 via https://github.com/zencart/zencart/pull/6144/files ... which is safe to apply to your v1.5.8 site too.