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
Views: 19,242
Administrator
A summary of fixes to issues found with v1.5.3
Administrator
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.
Sensei
zc_install database upgrade -- password authentication problem when entering admin password
FIX:
unzip this zc_install-includes-functions-general.php.zip file
upload the general.php file to:** /zc_install/includes/functions/general.php**
Apply the additional fix in posts #8 , #9 below.
(OR BETTER YET, USE v1.5.4 instead!!!!!)
Sensei
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
Sensei
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
Sensei
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
Sensei
Symptom: Authorize.net SIM module reporting error 99
Sensei
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/');
Sensei
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');
}
Sensei
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:
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)
Tell staff why this post should be reviewed.