Known Bugs (and fixes) with v1.5.5 , a, b, c, d, e, f
This thread is an announcement area where any bugs detected for v1.5.5 will be summarized.
The first is that the first zip dated 03-17-2016 had a couple errors:
a) The list of changed files in /docs/changed-files-in-v155.html was incomplete. You can find the updated version at: www.zen-cart.com/docs
b) The /admin/orders.php file had some incorrect classes in forms.
c) The zc_install "system inspection" might timeout with a blank screen while inspecting.
d) The /includes/languages/english/classic/header.php file was missing a new define:
Code:
define('SEARCH_DEFAULT_TEXT', 'search here');
The above issues were fixed in the 03-18-2016 zip.
Re: Known Bugs (and fixes) with v1.5.5
A new zip 03-21-2016 has been posted, which includes the following fixes:
a) zc_install when upgrading configure.php file contents, was assuming SSL was enabled, and accidentally enabled the ENABLE_SSL, ENABLE_SSL_CATALOG settings and set the Admin HTTP_SERVER to the old HTTPS_SERVER value. It now reads the old settings more intelligently.
b) zc_install was running into SQL schema problems if the old data had zero-dates in previous fields in the admin table. It now attempts to fix that data first.
c) zc_install has now been updated to auto-insert 3 old configuration table entries that sometimes got deleted by old plugins containing incorrect install SQL code.
d) zc_install was not properly honouring table-name prefixes during some cleanup phases of the db-upgrade process.
e) The Admin english.php file was updated to add a missing define for TEXT_PRICED_BY_ATTRIBUTES, which was only a problem on the admin screen for copying products between categories (ref: Missing english definition for products_to_categories):
/admin/includes/languages/english.php:
Code:
define('TEXT_PRICED_BY_ATTRIBUTES', 'Priced by Attributes');
Re: Known Bugs (and fixes) with v1.5.5
Re: Known Bugs (and fixes) with v1.5.5
Symptom: Admin order page shows yellow circle for comments on PayPal Express Checkout orders, when there are no comments.
ONLY AFFECTS v1.5.5 PayPal Express Checkout
To fix it, edit /includes/modules/payment/paypalwpp.php, line 1838 and change:
Code:
'order_comment' => urldecode($response['NOTE']) . ' ' . urldecode($response['PAYMENTREQUEST_0_NOTETEXT']),
to this:
Code:
'order_comment' => (isset($response['NOTE']) || isset($response['PAYMENTREQUEST_0_NOTETEXT']) ? urldecode($response['NOTE']) . ' ' . urldecode($response['PAYMENTREQUEST_0_NOTETEXT']) : ''),
Re: Known Bugs (and fixes) with v1.5.5
Additional CSS fixes for alignment of the State/Country pulldown/input boxes in Responsive Classic:
/includes/templates/responsive_classic/css/stylesheet.css
Line 84: Change from
Code:
select#country, .wrapperAttribsOptions select, #advSearchDefault select{height:40px;}
to
Code:
select#country, .wrapperAttribsOptions select, #advSearchDefault select, select#stateZone {height:40px;}
select#country, select#stateZone, #state {margin-left:0;}
Then delete this line 460 :
Code:
#loginDefault #country, #createAcctDefault #country{margin-left:0;}
Cannot choose shipping/billing address from pre-existing address-book entries
PROBLEM: Can't choose from other addresses during checkout, without getting a "required field missing" error.
As posted at https://www.zen-cart.com/showthread.php?t=219842
If you are having difficulty changing addresses during checkout ... specifically, choosing addresses from previous address-book entries, it could be that the HTML5 field validations are overriding the javascript validations.
SOLUTION:
The fix is to change the tpl_checkout_shipping_address_default.php and tpl_checkout_payment_address_default.php pages to have two separate forms, instead of just one.
For the technically minded, the code changes to make can be viewed here: https://github.com/zencart/zencart/c...b12480cbe001da
Edit: And this one here too: https://github.com/zencart/zencart/pull/904/files
Or download them individually from here:
responsive_classic:
https://github.com/zencart/zencart/r...ss_default.php
https://github.com/zencart/zencart/r...ss_default.php
template_default
https://github.com/zencart/zencart/r...ss_default.php
https://github.com/zencart/zencart/r...ss_default.php
UPDATE: The double-continue button is fixed by making the change shown here: https://github.com/zencart/zencart/pull/904/files
Re: Cannot choose shipping/billing address from pre-existing address-book entries
New 03-29-2016 zip for v155 released today contains:
a) the fixes listed above:
- choose from address-book during checkout (but not the fix to the double-continue-buttons)
- CSS fixes in responsive_classic
- PayPal Express Checkout empty "comments" showing comment flag
b) Update to the Admin URL Sanitizer code to allow deeper recursion -- fixes errors happening in Admin plugins such as Edit Orders
https://github.com/zencart/zencart/pull/886/files
NOTE: Further changes included in the new v155a release, published on 05/05/2016