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)
-   -   X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy (https://forum.x-cart.com/showthread.php?t=75410)

Dougrun 07-13-2017 09:33 AM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
I would guess php 5.6x is the lowest. I have my shops running on 7.0x. If I try to change to 7.1x, the site crashes with a error when it checks for system requirements.
Code:

MySQL/MySQLI support    On    Off    Failed    Please check php.ini to correct problem

herber@wirehub.nl 07-14-2017 02:36 AM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Quote:

Originally Posted by Dougrun
I would guess php 5.6x is the lowest. I have my shops running on 7.0x. If I try to change to 7.1x, the site crashes with a error when it checks for system requirements.
Code:

MySQL/MySQLI support    On    Off    Failed    Please check php.ini to correct problem

I am running on PHP 7.1.7 at the moment, flawless. Doesn't the error mean that MySQLi is disabled?

Dougrun 07-14-2017 10:17 AM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Quote:

Originally Posted by herber@wirehub.nl
I am running on PHP 7.1.7 at the moment, flawless. Doesn't the error mean that MySQLi is disabled?


I had a bunch on extensions I had to add but the site now works on 7.1, however, we still use AC's checkout One which needs ioncube and I dont see that for 7.1. When I load the checkout page on 7.1, it gives a bunch of errors and has weird formatting, looks ok in 7.0x which does have ioncube6 extension.

cflsystems 07-18-2017 05:46 AM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Quote:

Originally Posted by aim
Hi,

The minimum version is PHP5.3
The recommended version is PHP7.0 or PHP7.1

http://help.x-cart.com/index.php?title=X-Cart:Server_Requirements_(X-Cart_4.5,_4.6,_4.7)#PHP_configuration

Thank you.


You should put it this way:
- the minimum version XC 4.7.8 will work with is 5.3.x
- the minimum required is 5.6.x at the moment
- recommended - 7.x

Any PHP version below 5.6.x should not be used and after December 2018 5.6.x cannot be used either. - http://php.net/supported-versions.php

aim 07-18-2017 06:06 AM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Thank you, Steve.

I have removed my post and corrected

http://help.x-cart.com/index.php?title=X-Cart:Server_Requirements_(X-Cart_4.5,_4.6,_4.7)#PHP_configuration

www_maria 08-08-2017 02:27 AM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Dear Ildar Amankulov,

I have found the BIG BUG in the 'Amzon_feed' module.

File: modules/Amazon_Feeds/func.php
Line: 491

db_query("REPLACE INTO $sql_tbl[amazon_feeds_exports] SELECT productid, variantid, '" . (XCart\Modules\AmazonFeeds\Feeds\Feed::DATASET_STA TUS_PENDING) . "' AS exported FROM $sql_tbl[products] WHERE productid IN ('" . implode("', '", $productids) . "')");

There is not 'variantid' field in the xcart_products table.

How should I FIX it?
Should I just delete the 'variantid' from this query?


I look forward to hearing from you.

aim 08-15-2017 11:29 PM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Dear Maria,

Sorry for the delay in answering.

A patch is here
https://bt.x-cart.com/view.php?id=48334

Thank you.

mattstyle2 10-09-2017 08:49 PM

Re: X-Cart v4.7.8: Facebook E‑commerce, Mandrill, Amazon Feeds, Shipping Easy
 
Quote:

Originally Posted by Dougrun
I had a bunch on extensions I had to add but the site now works on 7.1, however, we still use AC's checkout One which needs ioncube and I dont see that for 7.1. When I load the checkout page on 7.1, it gives a bunch of errors and has weird formatting, looks ok in 7.0x which does have ioncube6 extension.



checkout_one_cart_include.php

change around line 21
Code:

if (!$login){
        $userinfo = '';
}


to

Code:

if (!$login){
        $userinfo = array(); //php 7.1 change
}



All times are GMT -8. The time now is 09:32 AM.

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