I'm having problems trying to download the Data Feed for a specific category, non of my categories work to export data feed?
I did check the error log and it's outputting the following error info?
[11-Jan-2016 19:34:21 UTC] PHP Notice: Undefined offset: 1 in /home/******/public_html/app/Tygh/Session.php on line 217
Please let me know why my download just ends when clicked instead of exporting the data feed file?
Thanks.
I also received the following error right after the Undefined offset: 1 in /home/******/public_html/app/Tygh/Session.php
Unsupported operand types in /home/hobbies4/public_html/app/Tygh/Database.php on line 668
Please let me know what's causing this problem as the export works when just selecting products but when you select to export the full category it doesn't export at all?
I also received the following error right after the Undefined offset: 1 in /home/******/public_html/app/Tygh/Session.php
Unsupported operand types in /home/hobbies4/public_html/app/Tygh/Database.php on line 668
Please let me know what's causing this problem as the export works when just selecting products but when you select to export the full category it doesn't export at all?
We have fixed the issue. There was a bug in 4.3.2 version
Dear eComLabs
We are having such errors on our website, too, details as belows:
[26-Jan-2016 08:53:49 Asia/Bangkok] PHP Warning: array_slice() expects parameter 1 to be array, string given in /home/ibievn/public_html/var/cache/templates/backend/mail/e59a5ea51b0607e197690dc4b7997777179e27df.tygh.invoice.tpl.php on line 81
[31-Jan-2016 12:23:25 UTC] PHP Notice: Undefined offset: 1 in /home/ibievn/public_html/app/Tygh/Session.php on line 217
[31-Jan-2016 12:23:25 UTC] PHP Notice: Undefined index: settings in /home/ibievn/public_html/app/Tygh/Session.php on line 563
Pls help us to fix them. Pls let us know if you need our ftp access.
Can someone please post the fix here for version 4.3.2? I noticed it was fixed in 4.3.3 changelog, but after comparing files of the data_feeds and google_export addons, I do not see what the difference is.
Can someone please post the fix here for version 4.3.2? I noticed it was fixed in 4.3.3 changelog, but after comparing files of the data_feeds and google_export addons, I do not see what the difference is.
Please contact CS-Cart support team and ask them to provide you with the fix. I think, they will not charge you for this question
Because I really wish the answer was in this thread, here is how to fix the bug where selecting a category causes the Google products feed to not output anything in CS-Cart 4.3.2. This was sent to me by support:
In order to resolve the issue please do the following:
// Fetch position of product at given category.
// This is only possible when only one category is given at "cid" parameter, because it's impossible to
// determine which category to choose as "position" field source when selecting products from several categories.
if (sizeof($category_ids) === 1) {
$extra_fields['?:products_categories']['fields']['position'] = 'product_position_source.position';
$extra_fields['?:products_categories']['join'] .= db_quote(
' LEFT JOIN ?:products_categories AS product_position_source'
. ' ON ?:products_categories.product_id = product_position_source.product_id'
. ' AND product_position_source.category_id = ?i',
reset($category_ids)
);
}
in the app/functions/fn.catalog.php file of your installation.