Zen Cart Logo
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,242

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,695
Plugin Contributions:
56

Known Bugs (and fixes) with v1.5.3

A summary of fixes to issues found with v1.5.3

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!!!!!)

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

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/');

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');
    }
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