Forums / Upgrading to 1.5.x / Known Bugs (and fixes) with v1.5.3

Known Bugs (and fixes) with v1.5.3

Locked

Views: 19,263

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
7 Jul 2014, 4:55 PM
#1
swguy avatar

swguy

Administrator

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

Known Bugs (and fixes) with v1.5.3

A summary of fixes to issues found with v1.5.3

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Jul 2014, 4:57 PM
#2
swguy avatar

swguy

Administrator

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

Re: Known Bugs (and fixes) with v1.5.3

If you've deleted the /cache folder from your site, then admin page fails with too many redirects
See http://www.zen-cart.com/showthread.php?213856-Admin-page-access-fails-with-too-many-redirects&p=1251681#post1251681 for resolution.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 Jul 2014, 4:17 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

zc_install database upgrade -- password authentication problem when entering admin password

FIX:

  1. unzip this zc_install-includes-functions-general.php.zip file

  2. upload the general.php file to:** /zc_install/includes/functions/general.php**

  3. Apply the additional fix in posts #8 , #9 below.

(OR BETTER YET, USE v1.5.4 instead!!!!!)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2014, 4:34 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

FYI - Both of the above fixes are rolled into a new zip, which is available in the usual location on SourceForge. See the download link on the home page at www.zen-cart.com

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Jul 2014, 5:42 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

Problem: PayPal Express Checkout error 10486

Fix: This isn't unique to v1.5.3. It's a change PayPal made awhile back, which has never existed in ZC prior to v1.5.4

http://www.zen-cart.com/showthread.php?214093-paypal-express-checkout-error-10486-This-transaction-couldn-t-be-completed&p=1254048#post1254048

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Sep 2014, 7:49 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

Symptom: Linkpoint_api payment module triggers CURL error "60 - SSL certificate problem", as well as "Illegal String Offset" errors in debug logs.

Solution: Small code change, posted here: http://www.zen-cart.com/showthread.php?214256-PHP-Warning-Illegal-string-offset-in-linkpoint_api-module&p=1256771#post1256771

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Sep 2014, 7:41 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Sep 2014, 8:14 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

Symptom:
Error:

PHP Warning: require_once(/home/user/public_html/site/../includes/classes/vendors/password_compat-master/lib/password.php): failed to open stream: No such file or directory in /......./includes/classes/class.zcPassword.php on line 52

**SOLUTION:
**Edit /zc_install/includes/functions/general.php
After the opening <?php line, add the following:```
define('DIR_FS_CATALOG', zen_read_config_value('DIR_FS_CATALOG', FALSE));
define('DIR_WS_CLASSES', 'includes/classes/');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Dec 2014, 2:38 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

Another change which appears to help address the admin-password-rejected-during-database-upgrade issue is:

Edit /includes/classes/class.zcPassword.php
Around line 49 you have this:```
if (version_compare($phpVersion, '5.3.7', '<')) {
require_once (DIR_FS_CATALOG . DIR_WS_FUNCTIONS . 'password_compat.php');
} elseif (version_compare($phpVersion, '5.5.0', '<')) {
require_once (DIR_FS_CATALOG . DIR_WS_CLASSES . 'vendors/password_compat-master/lib/password.php');
}

Change it to this:```
    if (version_compare($phpVersion, '5.3.7', '<')) {
      require_once (realpath(dirname(__FILE__)) . '/../functions/password_compat.php');
    } elseif (version_compare($phpVersion, '5.5.0', '<')) {
      require_once (realpath(dirname(__FILE__)) . '/vendors/password_compat-master/lib/password.php');
    }

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Oct 2016, 5:17 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Known Bugs (and fixes) with v1.5.3

THIS MAY OR MAY NOT AFFECT various v1.5.0 implementations. We're posting it here "in case". Implementing this fix is safe either way.

Symptom: Admin Login "broken" in v1.5.0 - v1.5.5a with Google Chrome error: "Aw, snap"

Google Chrome 54.0.2840.59 is now forcefully disallowing the use of javascript function declarations of 'animate'. This interferes with the "spinner" that appears during admin login since v1.5.0

The fix is simple:

  1. Open /admin/login.php in a code-safe text editor, such as Sublime Text:
  2. Find and replace "animate(" with "waiting_spinner(". There will be 3 occurrences.
  3. Save
    That's it. Login should now work again.

For a visual example of the changes, see: https://github.com/zencart/zencart/pull/1321/files
(exact position and line numbers may differ between Zen Cart versions)

Ref: https://www.zen-cart.com/showthread.php?221226-Chrome-Browser-54-0-2840-59-64-bit-windows-cannot-log-into-admin

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.