A summary of fixes to issues found with v1.5.3
Printable View
A summary of fixes to issues found 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.p...81#post1251681 for resolution.
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!!!!!)
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
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.p...48#post1254048
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.p...71#post1256771
Symptom: Authorize.net SIM module reporting error 99
Fix: http://www.zen-cart.com/showthread.p..._currency_code
Symptom:
Error:
SOLUTION:Quote:
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
Edit /zc_install/includes/functions/general.php
After the opening <?php line, add the following:Code:define('DIR_FS_CATALOG', zen_read_config_value('DIR_FS_CATALOG', FALSE));
define('DIR_WS_CLASSES', 'includes/classes/');
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:Change it to this:Code: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');
}
Code: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');
}
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....log-into-admin