X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   New release: X-Cart 4.6.4 Classic (https://forum.x-cart.com/showthread.php?t=69494)

Ksenia 07-03-2014 11:26 AM

New release: X-Cart 4.6.4 Classic
 
Hi,

We're ready to introduce the new version of X-Cart Classic - v.4.6.4 is available. We hope it will help you to sell more, being a fast, convenient and reliable shopping cart software.

What's new?

*ePDQ Essential integration;
*CyberSource integration;
*updated FedEX API;
*improved X-Payments connector;
*speed optimization;
*Support of PHP 5.5 and MySQli;
* ability to search/export "anonymous" customers

More details in our blog: https://blog.x-cart.com/x-cart-464-released.html

The CHANGELOG is in the attachment.

Ksenia 07-03-2014 08:57 PM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Changelog X-CART v4.6.4 Part 1 of 2

*DESIGN AND APPEARANCE* [*] 12 Mar 2014, mixon - Improvement (0138586): IE detection corrected, due to recent MSIE User agent changes.
[!] 10 May 2014, aim - Bug (0139613): The top message about the format of tax service name did not say that tax service name must not contain spaces. Fixed.

*INTERFACE*
[!] 16 Jun 2014, aim - Bug (0140080): Search function returned all products not filtereted by substring phrase. Fixed using HTML5 placeholder tag. Thanks to Seyfin.

*BACKOFFICE*[*] 10 Jun 2014, aim - Improvement (0139527): Added Test mode notes for eSelect Plus - Hosted Paypages payment gateway.[*] 10 Jun 2014, aim - Improvement (0139526): Added setup notes for the eSelect Plus - Hosted Paypages payment gateway. Thanks to Seyfin.[*] 28 Mar 2014, aim - Improvement (0139033): Added a tooltip for the 'Reply-To newsletter email address' setting (related to the problem of emails getting blocked by Gmail).
[!] 05 Jun 2014, aim - Bug (0140013): Refund error top message was not displayed. Fixed.
[!] 21 May 2014, aim - Bug (0139634): No error message was shown when an invalid format was used for coupons in the Provider area. Fixed.
[!] 28 Apr 2014, aim - Bug (0139488): Duplicated variant SKU was not highlighted on the product modify page. Fixed.
[!] 13 May 2014, aim - Bug (0139679): Some error messages were displayed without html tags. Fixed.
[!] 24 Mar 2014, mixon - Bug (0138924): Lexity was not loaded via HTTPS in Admin area. Fixed.
[!] 24 Mar 2014, aim - Bug (0138938): Some queries did not free resourses on the product modify page. Fixed.
[!] 07 Mar 2014, aim - Bug (0138754): Debug console did not work in Webmaster mode. Fixed. Changed lib/function.assign_debug_info.php.

*PRODUCTS*
[!] 10 Jun 2014, aim - Bug (0139577): The 'Out of stock' message was not shown properly when the option 'Show quantity selector as input textbox' was used. Fixed.

*USERS*[*] 28 May 2014, aim - Improvement (0139885, 0137155): Added the ability to search for and export users who placed an order without creating a user account. [Anonymous customers]

*PAYMENTS*[*] 25 Jun 2014, mixon - Improvement (0139722): Updated iDeal Rabobank Professional (v.3.3.1), added 2048 bits certificates support. Added debug support for iDEAL, added default params, etc. Plus some code cleanup.[*] 05 Jun 2014, mixon, - Improvement (0137075): Replaced CyberSource Form with CyberSource - Secure Acceptance Web/Mobile.[*] 07 May 2014, mixon - Improvement (0126513): Added ePDQ essential integration.
[!] 16 Apr 2014, mixon - Bug (0139001): PayPal Express checkout total mismatch issue (Error: [PayPal response] Transaction refused because of an invalid argument. See additional error messages for details.: The totals of the cart item amounts do not match order amounts). Fixed.
[!] 18 Mar 2014, aim - Bug (0109797): 'ePDQ - CPI' used http POST request + 'Invoicing address line 2 is too long' error. Fixed. Card Security Code (CSC) is mandatory now.

*SHIPPING*[*] 25 Jun 2014, aim - Improvement (0140234): Shipping engines like USPS/FeDEX are now not run if address fields like s_country are empty. Calculation of shipping quotes for offline methods is allowed. Thanks to Seyfin.[*] 10 Jun 2014, mixon - Improvement (0136087): Updated FedEx shipping carrier integration (now v.14 and uses SOAP as a communication layer). Support for v9 rates was kept to avoid compatibility issues.[*] 10 Jun 2014, mixon - Improvement (0136087): FedEx shipping carrier integration: Dry Ice weight should be in kilograms. Fixed.[*] 17 Mar 2014, aim - Improvement (0138868): Insurance Coverage is disabled by default for Canada Post to enable Small Packet methods.
[!] 28 May 2014, aim - Bug (0139886): 1-800Courier and seller address feature did not work in X-Cart Platinum edition.
[!] 28 May 2014, mixon - Bug (0139761): DHL/Airborne: Shipping rates could not be calculated if state name length exceeded the maximum allowed length of 10 characters (This caused problems when a customer entered a state name manually for a country that was marked as 'has states' but did not have states defined, and that name was longer than 10 characters). Fixed. Thanks to Isden.
[!] 27 May 2014, mixon - Bug (0139762): DHL/Airborne: The mandatory fields Street and City were not passed to DHL in some cases. Fixed. Thanks to Isden.
[!] 19 May 2014, mixon - Bug (0139745): DHL/Airborne: "Error: 2556: Country invalid" was returned when an attempt was made to retrieve rates for UK. Fixed.

*CHECKOUT*
[!] 11 Mar 2014, mixon - Bug (0138521) Fast Lane Checkout & PayPal Express Checkout: Incorrect checkout flow issue. Fixed.

*ORDERS*[*] 16 Apr 2014, aim - Improvement (0139300): Filtering by sku(productcode) works as 'sku*' mask now on the order search page.
[!] 22 Apr 2014, mixon - Bug (0119170): Capture button on edited orders displayed a wrong/misleading amount. Fixed.

*MODULES/ADD-ONS*[*] 01 Jul 2014, aim - Improvement (0139142, 0139142, 0135661, 013566): X-Payments Connector: Added the ability to manually save credit cards for future re-use. New configuration page. Lite interface was not working properly in Fast Lane Checkout. Fixed. Other fixes. Thanks to Random.
[!] 01 Jul 2014, aim - Bug (0140380): X-Payments Connector: Charset detection fail in some shops resulting in empty address fields. Fixed.[*] 09 Jun 2014, aim - Improvement (0139715): X-Payments Subscriptions: PayPal methods supported via X-Payments can now be used for subscriptions. Thanks to Mdk. [XPayments][*] 25 Apr 2014, aim - Improvement (0139453): Updated CloudSearch module to 1.3.4. Added Infinite Scroll support. Thanks2Nikita.[*] 24 Apr 2014, aim - Improvement (0138702): Added Pay with Amazon module. Thanks2Vjk. [PayWithAmazon][*] 18 Apr 2014, mixon - Improvement (0135256): HTTPS test is now performed automatically on checkout if it has not been performed yet.[*] 26 Mar 2014, mixon - Improvement (0122287): PayPal_Login: Minor improvements related to error handling. Added a more detailed message describing the reason for log in failure.
[!] 01 Jul 2014, random - Bug (0140380): X-Payments Connector: Charset detection fail in some shops resulting in empty address fields. Fixed.
[!] 30 Jun 2014, mixon - Bug (0133338): Antifraud service did not check orders placed via PayPal Advanced. Fixed.
[!] 23 Jun 2014, aim - Bug (0140205): Users were always registered as 'anonymous' in the admin area even when logged in. Thanks to Gss. [Product_Notifications]
[!] 29 May 2014, aim - Bug (0138772): RMA vs. anonymous customers: An incorrect link was formed to the profile of an anonymous user. Fixed.
[!] 27 May 2014, mixon - Bug (0139689): Google Shopping: Products could not be imported when no Manufacturer was specified. Fixed. Thanks to Seyfin.
[!] 27 May 2014, mixon - Bug (0136764): X-Payments Connector: Sometimes during checkout, when a payment method was supposed to be added to or removed from the list of available payment methods as a result of a discount coupon aplied or shipping method changed, the payment methods list was not updated correctly. Fixed.
[!] 23 May 2014, mixon - Bug (0139699): X-AOM: The "Use other discount" option was not applied to the order total. Fixed.
[!] 22 May 2014, mixon - Bug (0139227): X-AOM: Shipping cost was not showing in the order invoice. Fixed.
[!] 24 Apr 2014, mixon - Bug (0139204): X-ProductNotifications: All product variants were shown in Admin back end instead of the one selected by the customer. Fixed. Thanks2Gss.
[!] 22 Apr 2014, mixon - Bug (0136524): X-Auth: JS error on the place order page: "ReferenceError: jQuery is not defined". Fixed. Thanks2Phoenix.
[!] 22 Apr 2014, mixon - Bug (0139164): Compability issue: Javascript error 'jQuery object not defined' on checkout page if X-Payments's 'Use iframe' option and X-Auth module were enabled. Fixed.
[!] 04 Apr 2014, mixon - Bug (0135256): If there was at least one payment method working via X-Payments, the user was redirected to HTTPS on checkout pages, even when HTTPS was not configured. Fixed.
[!] 31 Mar 2014, aim - Bug (0139043): Products Map: Products with a slash character in the product name were sometimes not displayed in Products Map. Fixed. Thanks2Snake.
[!] 25 Mar 2014, mixon - Bug (0138937): Products Map: Products with names starting from numbers did not work. Fixed.
[!] 18 Mar 2014, mixon - Bug (0138809): PayPal_Login: Double-clicking the Login with PayPal button caused an error in IE. Added popup focus.
[!] 17 Mar 2014, mixon - Bug (0138856): PayPal_Login: Sometimes PayPal returned full state name instead of state code. Fixed.

*LANGUAGES*[*] 26 Mar 2014, mixon - Improvement (0138730): Updated a language label.
[!] 28 Mar 2014, aim - Bug (0138966): Hot Products: New Arrivals did not support group product editing mode. Fixed. Thanks2Chemisk.

*IMPORT/EXPORT*
[!] 25 Apr 2014, aim - Bug (0139225): Error related to variants and the 'delete all existing data before importing' feature. Fixed.
[!] 24 Mar 2014, mixon - Bug (0138632): Variant code was not exported correctly for the Wholesale prices section. Fixed

Ksenia 07-03-2014 11:44 PM

Re: New release: X-Cart 4.6.4 Classic
 
Changelog X-CART v4.6.4 Part 2 of 2

*SECURITY*[*] 08 May 2014, aim - Improvement (0135256): Added HTTPS connection test results option signature to increase security.[*] 13 Mar 2014, aim - Improvement (0138824): Small security improvement.

*PERFORMANCE*[*] 25 Jun 2014, aim - Improvement (0140320): Removed duplicate processor_file key for the xcart_payment_methods table.[*] 20 Jun 2014, aim - Improvement (0139661): Janrain Engage/Social Login: Log-in took a very long time sometimes. Fixed. Thanks to Phoenix.[*] 04 Jun 2014, aim - Improvement (0140026): mysql query cache did not work correctly sometimes. Fixed.[*] 04 Jun 2014, aim - Improvement (0140011, 0130603): Some queries are run in destructor[mysqli].[*] 04 Jun 2014, aim - Improvement (0140011, 0130603): Some queries are run in asynchronous mode[mysqli][*] 30 May 2014, aim - Improvement (0139957): Optimization for xcart_customers queries. Moved the default_saved_card_orderid field to a separate table xcart_customer_xpc_saved_cards.default_xpc_orderid .[*] 30 May 2014, aim - Improvement (0139962): Optimization for xcart_customers queries. Moved xcart_customers.cookie_access to a separate table xcart_customer_eu_cookie_accesses.eu_cookie_access .[*] 23 May 2014, aim - Improvement (0139784): Optimization related to platinum edition and $sql_tbl[customers].activity flag.[*] 15 May 2014, aim - Improvement (0139713): Optimization for all xcart_customers queries. Moved xcart_customers.cart field to a separate table xcart_customer_saved_carts.saved_cart.[*] 14 Apr 2014, aim - Improvement (0139253): Opimization for bestsellers on the product.php page.[*] 17 Apr 2014, aim - Improvement (0139323): Opimization for the Cloud_Search module. Join with variants is used only when it is really necessary. Inner join is used instead of left join. IFNULL is not used in select fields.

*MISCELLANEOUS* [*] 25 Jun 2014, mixon - Improvement (0135256): Refactored and improved some code related to HTTPS detection.[*] 24 Jun 2014, mixon - Improvement (0136087): Updated some requirements related to FedEx shipping carrier integration.[*] 23 Jun 2014, mixon - Improvement (0139761): Improved code format.[*] 23 Jun 2014, mixon - Improvement (0139471): If a user chose to enable PayPal during X-Cart installation, PayPal was configured incorrectly. Fixed.[*] 23 Jun 2014, mixon - Improvement (0139001): Code cleanup, removed some spaces.[*] 13 Jun 2014, mixon - Improvement (0135581): Removed the skins "vivid_dreams" and "fashion_mosaic" from X-Cart distribution.[*] 29 Apr 2014, mixon - Improvement (0139445): Hyphen is now allowed in URL's anchor. Thanks2Polyansky.[*] 23 Apr 2014, mixon - Improvement (0139164): Minor improvements related to XAuth module init procedure.[*] 22 Apr 2014, mixon - Improvement (0138944): Performance optimization: func_is_valid_ip, multiple call of the same function (trim) is replaced with
value.[*] 21 Apr 2014, mixon - Improvement (0139356): Replaced font tag with span in the Customer front end.[*] 18 Apr 2014, aim - Improvement (0139341): Updated province codes for Belgium. Thanks to Isden.[*] 26 Mar 2014, mixon - Improvement (0138856): Fixed a PHP notice.[*] 24 Mar 2014, aim - Improvement (0138948, 0130603): Added support for Mysqli.[*] 13 Mar 2014, aim - Improvement (0138817): Added the ability to debug libcurl.
[!] 18 Jun 2014, aim - Bug (0140203, 0043518): White screen caused by low pcre. Fixed the backtrack_limit setting. Thanks to Joe.
[!] 13 Jun 2014, mixon - Bug (0136285): Contact us form: Several errors related to form work and validation. Fixed.
[!] 27 May 2014, mixon - Bug (0139804): SQL errors in case of incorrect data entered on the product modify page. Fixed.
[!] 19 May 2014, mixon - Bug (0139720): PayPal Express Checkout: Discount label was passed incorrectly. Fixed.
[!] 19 May 2014, mixon - Bug (0139455): When product management page in the store's back end was opened via https, the product url for customers was also formed using https. Fixed.
[!] 19 May 2014, mixon - Bug (0139544): cc_bean_interaco.php: PHP Fatal error: Call to undefined function func_userinfo(). Fixed. Thanks to Isden.
[!] 28 Apr 2014, mixon - Bug (0139257): Cleanup: Removed code related to product options that existed in X-Cart 3.5.x.
[!] 22 Apr 2014, mixon - Bug (0139385): Payment failed error (instead of redirect) if customer canceled the order and 'returned to store' from PayPal's payment page. Fixed. Now, if the order is canceled on the side of PayPal Standard, the customer is redirected to the store's checkout page; the order remains in the "Not finished" status.
[!] 22 Apr 2014, mixon - Bug (0138944): The function func_is_valid_ip did not work with IPv6 like ::1. Fixed.
[!] 16 Apr 2014, aim - Bug (0139298): Notice: Undefined index: enable_outofstock_products in modules/Product_Options/func.php. Fixed.
[!] 31 Mar 2014, aim - Bug (0139078): SQL error "Duplicate entry 'en-opt_icons_levels_limit' for key 'PRIMARY'". Fixed. [Flyout_Menus]
[!] 25 Mar 2014, aim - Bug (0138967): SQL error "Field 'comment' doesn't have a default value" in MySQL strict mode (related to Survey module). Fixed.
[!] 18 Mar 2014, mixon - Bug (0138730): Incorrect error message was written to logs when inactive static pages were accessed. Fixed.
[!] 11 Mar 2014, mixon - Bug (0131589): Database integrity check performed after adding a root level static page detected errors ("The table xcart_pages contains some records for which related data in the table xcart_clean_urls has not been found:.."). Fixed.

herber@wirehub.nl 07-04-2014 04:54 AM

Re: New release: X-Cart 4.6.4 Classic
 
Bug:
Code:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery-1.10.2.js, line 0)

404 as /skin/common_files/lib/jquery-1.10.2.js does not exist.
It is also not included in a fresh 4.6.4 download, only jquery-1.10.2.min.map

aim 07-04-2014 05:16 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by herber@wirehub.nl
Bug:
Code:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery-1.10.2.js, line 0)

404 as /skin/common_files/lib/jquery-1.10.2.js does not exist.
It is also not included in a fresh 4.6.4 download, only jquery-1.10.2.min.map


This file is included as
jquery-min.js

Code:

[/www/xcart_4_6_x]$ grep -r jquery-min skin/common_files
skin/common_files/404/404_en.html:<script src="skin/common_files/lib/jquery-min.js" type="text/javascript"></script>
skin/common_files/meta.tpl:<script type="text/javascript" src="{$SkinDir}/lib/jquery-min.js"></script>
skin/common_files/customer/service_js.tpl:{load_defer file="lib/jquery-min.js" type="js"}
skin/common_files/customer/main/payment_wait.tpl:  {load_defer file="lib/jquery-min.js" type="js"}
[/www/xcart_4_6_x]$


Do you see the same problem on our demo ?
http://demo.x-cart.com/demo/home.php

Which browser do you use ?

herber@wirehub.nl 07-04-2014 08:36 AM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Quote:

Originally Posted by aim
This file is included as
jquery-min.js

Code:

[/www/xcart_4_6_x]$ grep -r jquery-min skin/common_files
skin/common_files/404/404_en.html:<script src="skin/common_files/lib/jquery-min.js" type="text/javascript"></script>
skin/common_files/meta.tpl:<script type="text/javascript" src="{$SkinDir}/lib/jquery-min.js"></script>
skin/common_files/customer/service_js.tpl:{load_defer file="lib/jquery-min.js" type="js"}
skin/common_files/customer/main/payment_wait.tpl:  {load_defer file="lib/jquery-min.js" type="js"}
[/www/xcart_4_6_x]$


Do you see the same problem on our demo ?
http://demo.x-cart.com/demo/home.php

Which browser do you use ?

Yes, same error.
Safari 7.0.5 on Mac OS X 10.9.4

The demo also has the same CSS error as I reported in ticket 0043555.

cflsystems 07-04-2014 09:10 AM

Re: New release: X-Cart 4.6.4 Classic
 
I am not seeing this on any browser - xcart demo site. It could be your browser cache

herber@wirehub.nl 07-04-2014 10:44 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by cflsystems
I am not seeing this on any browser - xcart demo site. It could be your browser cache

Quote:

Originally Posted by cflsystems
I am not seeing this on any browser - xcart demo site. It could be your browser cache

Completely different Mac, cleaned Safari Cache & X-Cart cache, still the same 404.

I fixed the CSS bug myself, so that is gone.
I can probably fix the Jquery 404 by just adding a copy of that file, but I'm tired & will try that tomorrow.

cflsystems 07-05-2014 09:49 AM

Re: New release: X-Cart 4.6.4 Classic
 
Serious bug in this upgrade - all orders will appear lost to customers after the upgrade. In admin on customers list page all customers have 0 orders.

Run this to correct (unofficial fix)
Code:

UPDATE `xcart_orders` SET `all_userid` = `userid` WHERE 1

aim 07-06-2014 12:17 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by cflsystems
Serious bug in this upgrade - all orders will appear lost to customers after the upgrade. In admin on customers list page all customers have 0 orders.

Run this to correct (unofficial fix)
Code:

UPDATE `xcart_orders` SET `all_userid` = `userid` WHERE 1


Thank you for the quick WA.

I have reuploaded the upgrade packs with this addition in the patch.sql file

Code:

-- Thanks to Steve Stoyanov (Cflsystems)
UPDATE `xcart_orders` SET `all_userid` = `userid` WHERE `all_userid`=0;


ambal 07-07-2014 04:46 AM

Re: New release: X-Cart 4.6.4 Classic
 
Hey, Everyone,

I want to comment on this improvement a bit

Quote:

X-Payments connector has got lots of improvements for better usability.

This update addresses many X-Payments known issues and troubles with X-Cart 4.x like too many technical DB entries about started orders at X-Cart side, saving customer notes,
cc_xpc_iframe.php called twice to display CC form, Product inventory levels are not getting decreased when a Pre-Authorized order is paid via X-Payments (lite interface) and others. I would say this is quite serious update of X-Cart 4 connector. Besides it comes with much improved and easier X-Payments connection procedure.

Read more about this update at http://forum.x-cart.com/showthread.php?p=374824

herber@wirehub.nl 07-07-2014 05:07 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by aim
Thank you for the quick WA.

I have reuploaded the upgrade packs with this addition in the patch.sql file

Code:

-- Thanks to Steve Stoyanov (Cflsystems)
UPDATE `xcart_orders` SET `all_userid` = `userid` WHERE `all_userid`=0;


I believe the new function to generate accounts for anonymous customers does not escape street names, as it has problems inserting anonymous accounts with streets that contain a '.
For example: Avenue de l'Europe

The query becomes:
Code:

INSERT INTO xcart_address_book (`title`, `firstname`, `lastname`, `address`, `city`, `county`, `state`, `country`, `zipcode`, `zip4`, `phone`, `fax`, `default_b`, `default_s`, `userid`) VALUES (■, 'FIRSTNAME', 'LASTNAME', 'Avenue de l'Europe
    droite', 'VИlizy-Villacoublay', ■, ■, 'FR', '123456', ■, '33633045883', ■, 'Y', 'Y', '19027')

As you can see the street name is not escaped.
My logs contain multiple errors related to executing this function and they all have street names with an ' in it.

herber@wirehub.nl 07-07-2014 05:22 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by herber@wirehub.nl
Completely different Mac, cleaned Safari Cache & X-Cart cache, still the same 404.

I fixed the CSS bug myself, so that is gone.
I can probably fix the Jquery 404 by just adding a copy of that file, but I'm tired & will try that tomorrow.


This can be fixed by adding a regular copy of JQuery 1.10.2 to the following folder:
/skin/common_files/lib/

The 404 will no longer occur as there is a normal version of JQuery available next to the minified version.

aim 07-07-2014 09:31 PM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Quote:

Originally Posted by herber@wirehub.nl
I believe the new function to generate accounts for anonymous customers does not escape street names, as it has problems inserting anonymous accounts with streets that contain a '.
For example: Avenue de l'Europe

The query becomes:
Code:

INSERT INTO xcart_address_book (`title`, `firstname`, `lastname`, `address`, `city`, `county`, `state`, `country`, `zipcode`, `zip4`, `phone`, `fax`, `default_b`, `default_s`, `userid`) VALUES (■, 'FIRSTNAME', 'LASTNAME', 'Avenue de l'Europe
    droite', 'VИlizy-Villacoublay', ■, ■, 'FR', '123456', ■, '33633045883', ■, 'Y', 'Y', '19027')

As you can see the street name is not escaped.
My logs contain multiple errors related to executing this function and they all have street names with an ' in it.


I have uploaded a patch
apply_before_generate_anonymous.diff
to apply before anonymous generation.

aim 07-08-2014 01:34 AM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Q: I've updated my webshop to 4.6.4.
I now get the following message:
Critical config values authenticity check failed for the following variables/features:
*Check if HTTPS connection to site is available*
This may have been caused by spurious operation of the protection system or some kind of malicious activity.
You can disable the authenticity check for config values by setting the constant CHECK_CONFIG_INTEGRITY to FALSE in config.php.

A: It seems for some reason
the upgrade/4.6.x-4.6.4/patch_post.php file
was not launched during the upgrade.
To generate a new signature
1)apply the uploaded patch
2)Open the admin/home.php page in a web-browser
3)Remove the patch from the admin/home.php file

cherie 07-08-2014 01:44 AM

Re: New release: X-Cart 4.6.4 Classic
 
I ran into this issue when DEVELOPMENT_MODE was on. Turning that off before upgrading avoided this situation for me.

Dougrun 07-08-2014 01:37 PM

Re: New release: X-Cart 4.6.4 Classic
 
I just did a stock upgrade from 4.6.3 to 4.6.4 and now I cannot add wholesale prices. It just returns me to the main product screen.

edit: this is on ly on the "wholesale prices" page, if i add wholesale prices to variants, it works ok.

edit2: Is this the reason why?? product_modify.php.diff
Code:

@@ -1290,7 +1332,7 @@
 
    // Wholesale trading module
 
-    if (!empty($active_modules['Wholesale_Trading']) && $product_info['is_variants'] != 'Y') {
+    if (!empty($active_modules['Wholesale_Trading']) && (!empty($product_info['is_variants']) && $product_info['is_variants'] != 'Y')) {
        include $xcart_dir.'/modules/Wholesale_Trading/product_wholesale.php';
    }


mixon 07-09-2014 02:30 AM

Re: New release: X-Cart 4.6.4 Classic
 
Thank you. The issue has been fixed. We've re-uploaded the distribution packs.

herber@wirehub.nl 07-09-2014 03:24 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by mixon
Thank you. The issue has been fixed. We've re-uploaded the distribution packs.

Could you post a patch for those who have already upgraded? There are multiple product_modify.php files and I can't find which has changed now.

(might I say that it's great to see how fast Qualiteam responds to all the reported bugs & the speed at which they are fixed? Great!)

aim 07-09-2014 05:23 AM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Quote:

Originally Posted by herber@wirehub.nl
Could you post a patch for those who have already upgraded? There are multiple product_modify.php files and I can't find which has changed now.

(might I say that it's great to see how fast Qualiteam responds to all the reported bugs & the speed at which they are fixed? Great!)


Thank you for your kind words.

I have uploaded the patch

ADDISON 07-09-2014 05:37 AM

Re: New release: X-Cart 4.6.4 Classic
 
Seeing such issues corrected after releasing, I suggest from now on before announcement of a new version at least 2 weeks for testing. Thank you!

cflsystems 07-09-2014 06:22 AM

Re: New release: X-Cart 4.6.4 Classic
 
This has been suggested many times....

aim 07-10-2014 06:52 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by cherie
I ran into this issue when DEVELOPMENT_MODE was on. Turning that off before upgrading avoided this situation for me.


I have disabled an ability to upgrade in DEVELOPMENT_MODE since the patch.sql file cannot be applied in mysql strict mode for old mysql versions.

cherie 07-10-2014 09:33 AM

Re: New release: X-Cart 4.6.4 Classic
 
How did you do it? Is this changed in new upgrade packs?

aim 07-10-2014 09:46 AM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Quote:

Originally Posted by cherie
How did you do it? Is this changed in new upgrade packs?


I have added a simple warning message as an option

kustomrides 07-10-2014 02:22 PM

Re: New release: X-Cart 4.6.4 Classic
 
Easiest upgrade since I can remember (from 4.6.3)

cflsystems 07-16-2014 07:26 AM

Re: New release: X-Cart 4.6.4 Classic
 
Bug with XAuth module enabled.
I don't know if this is 4.6.4 bug or it was coded like this earlier.

When XAuth (Janrain) module is enabled and in use the checkout page does not have a way for customer to login to existing account. If customer goes to checkout page and did not login before that they cannot do this on the checkout page, the only thing they can do is to create new account.

With the XAuth module enabled the one line text on top of the page

Quote:

If you already have an account please sign in....


disappears. The reason being the module has in its func.php

PHP Code:

// Link display was disabled due to multiple customer requests
        
$smarty->assign('xauth_checkout_link_show'FALSE); 


That's fine. But why if you coded it like this an alternative way was not provided so customers can login to their existing accounts on checkout page... sloppy

Changing FALSE to TRUE will get back the login on checkout page OR modifying template files to disregard the XAuth module on checkout and show the normal XC login link.

The same is for the XAuth link on register page by the way.

I am not sure about the " Link display was disabled due to multiple customer requests" but I know customer requests were to make the Janrain module work properly not to just hide something so not to run it because it doesn't work properly....

https://bt.x-cart.com/view.php?id=43591

BBM_ 08-08-2014 12:05 AM

Re: New release: X-Cart 4.6.4 Classic
 
Maybe someone can suggest where I am missing a step please?

I'm attempting to install 4.6.4 into a sub directory for development and every time I do the skins are missing a lot of formatting (looks like not all the css is not being utilised) yet if I install in the root folder all is fine?

I'm on my 3rd attempt and there are no errors being logged.

Thanks in advance.

Ksenia 08-08-2014 12:27 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by BBM_
Maybe someone can suggest where I am missing a step please?

I'm attempting to install 4.6.4 into a sub directory for development and every time I do the skins are missing a lot of formatting (looks like not all the css is not being utilised) yet if I install in the root folder all is fine?

I'm on my 3rd attempt and there are no errors being logged.


Ildar from X-Cart 4 maintenance team suggests that you should check permissions on CSS files.

Can you see any error like "403 forbidden" instecting the store (with broken layout) with "FireBug" of Firefox or "Developer Tools"of Google Chrome?

BBM_ 08-08-2014 12:46 AM

Re: New release: X-Cart 4.6.4 Classic
 
1 Attachment(s)
Many thanks for the response Ksenia,

Here is a sample of the logs it appears to relate to home.php

Note: this is at the install screen where I can preview the skin.

BBM_ 08-08-2014 01:11 AM

Re: New release: X-Cart 4.6.4 Classic
 
Hmm it's the css speedup tool which appears to be broken on the install, once installed and turned off it is ok.

Ksenia 08-08-2014 01:36 AM

Re: New release: X-Cart 4.6.4 Classic
 
Thank you for letting us know that workaround is found. If we were speaking about a live store, it would make sense to continue the investigation. However I hope you're fine with using a dev copy without this CSS speedup tool, so let's leave Ildar working on the development of a new X-Cart Classic version instead =)

cflsystems 08-08-2014 05:15 AM

Re: New release: X-Cart 4.6.4 Classic
 
This has been an ongoing problem with speedup tools, it is usually permissions on /var/cache directory and individual cached files, as well as the htaccess in this directory has to allow for access to css/js files

BBM_ 08-08-2014 05:53 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by Ksenia
Thank you for letting us know that workaround is found. If we were speaking about a live store, it would make sense to continue the investigation. However I hope you're fine with using a dev copy without this CSS speedup tool, so let's leave Ildar working on the development of a new X-Cart Classic version instead =)


Hi Ksenia, I am fine using it turned off but perhaps this should be the default option when installing X-Cart for the first time.

As mentioned above as a result during the install phase it broke the template preview so for a first time user this could provide a negative impression of the software.

However it may have only been a variable on my server as installing in the root directory did not show this issue, only a subdirectory.

Thanks kinds for your response.

Tim Soles 08-12-2014 04:37 AM

Re: New release: X-Cart 4.6.4 Classic
 
This release included some bug fixes for the Contact Us Form but we have only just discovered that ours is not working.

Has anyone else had this problem?

Tim Soles 08-12-2014 05:09 AM

Re: New release: X-Cart 4.6.4 Classic
 
OK - it was a problem with the required fields. I turned them all off and the Contact Us Form worked. I then put back the essential First Name, Last Name and Email as Required Fields and the Contact Us form is now working correctly.

I've no idea what the technical explanation is.

Quote:

Originally Posted by Tim Soles
This release included some bug fixes for the Contact Us Form but we have only just discovered that ours is not working.

Has anyone else had this problem?


cherie 03-30-2015 01:10 PM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by Tim Soles
This release included some bug fixes for the Contact Us Form but we have only just discovered that ours is not working.

Not sure if this is related to what you ran into, but I just noticed this problem with all upgraded stores.

All upgrades from pre-4.6.4 to 4.6.4+ change default address-related fields for Contact Us by removing "b_" from the front, so "b_address" becomes "address" for example. The upgrade patches files correctly but the database:xcart_config.Contact_Us.contact_us_fields does not get patched.

The only fix I've come up with so far is to use the following tool to copy the serialized blob from this database field, remove "b_" from all address fields, then paste the new serialized blob back into the database field:
http://pines.sourceforge.net/phpserialeditor.php

aim 03-31-2015 04:32 AM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by cherie
Not sure if this is related to what you ran into, but I just noticed this problem with all upgraded stores.

All upgrades from pre-4.6.4 to 4.6.4+ change default address-related fields for Contact Us by removing "b_" from the front, so "b_address" becomes "address" for example. The upgrade patches files correctly but the database:xcart_config.Contact_Us.contact_us_fields does not get patched.

The only fix I've come up with so far is to use the following tool to copy the serialized blob from this database field, remove "b_" from all address fields, then paste the new serialized blob back into the database field:
http://pines.sourceforge.net/phpserialeditor.php



I have added this fix into the
4.6.0-4.7.1
4.6.1-4.7.1
4.6.2-4.7.1
4.6.3-4.7.1

upgrade packs.

elmirage001 04-19-2015 04:10 PM

Re: New release: X-Cart 4.6.4 Classic
 
Quote:

Originally Posted by Tim Soles
OK - it was a problem with the required fields. I turned them all off and the Contact Us Form worked. I then put back the essential First Name, Last Name and Email as Required Fields and the Contact Us form is now working correctly.

I've no idea what the technical explanation is.

I used Tim's fix for my live 4.6.6 store and the 4.6.6 --> 4.7.1 upgrade pack did the job and allowed me to keep my original extra required fields on my dev 4.7.1 site.

Thank you all!

Paul


All times are GMT -8. The time now is 04:16 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.