Cs-Cart Data Feeds Not Download Data Feed By Category

Hi,

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?
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?
Thanks.

Would someone please get back to me as it's pretty urgent to get this problem resolved?

We failed to reproduce it on the demo store. So the issue should be examined directly on your server

Is there a way eComLabs can look at the problem on my server and fix it?

Thanks.

Is there a way eComLabs can look at the problem on my server and fix it?

Please PM me temporary FTP access

eComLabs,

Just sent you a message through cs-cart forums with the FTP information. Please let me know if you got it?

Thanks a lot for your help!

We have fixed the issue. There was a bug in 4.3.2 version

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.
Many thanks
Tung

Please PM me temporary FTP access and describe how to get these errors

Please PM me temporary FTP access and describe how to get these errors

Hi eComLabs

I have just PM you, pls check and help us.

Thanks a lot

Tung.

We have fixed the issue. There was a bug in 4.3.2 version

Dear eComLabs,

Please confirm if it was this bug http://forum.cs-cart.com/tracker/issue-5937-error-in-datafeed-column-path-cannot-be-null/?gopid=23383#entry23383?

Actually we failed to reproduce the issue and receive a message from ntt160180 taht everything works correctly

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:

1. Delete the following line:

'position' => '?:products_categories.position'

2. Replace the following line:

$extra_fields['?:products_categories']['group_by'] .= db_quote(' ,?:products_categories.category_id = ?i', $params['cid']);

with these ones:

$category_ids = is_array($params['cid']) ? $params['cid'] : explode(',', $params['cid']);

// 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.

Thank you, Ayokay

Problem in version 4.6.1

Notice: Undefined offset: 1 in /home/******/public_html/******/app/Tygh/Web/Session.php on line 651

Notice: Undefined index: settings in /home/******/public_html/******/app/Tygh/Session.php on line 257

Notice: Undefined offset: 1 in /home/******/public_html/******/app/Tygh/Web/Session.php on line 651

Notice: Undefined index: settings in /home/******/public_html/******/app/Tygh/Session.php on line 257

Notice: Undefined offset: 1 in /home/******/public_html/******/app/Tygh/Web/Session.php on line 651

Notice: Undefined index: settings in /home/******/public_html/*******/app/Tygh/Session.php on line 257

Notice: Undefined offset: 1 in /home/******/public_html/******/app/Tygh/Web/Session.php on line 651

Notice: Undefined index: settings in /home/******/public_html/******/app/Tygh/Session.php on line 257

Can anyone help me with this?

PHP Notice

Message

Undefined offset: 1

Error at

app/Tygh/Web/Session.php, line: 651

Backtrace

			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			651
	
			Function:
		
			{closure}
	
			File:
		
			app/Tygh/Session.php
	
			Line:
		
			104
	
			Function:
		
			decode
	
			File:
		
			app/Tygh/Session.php
	
			Line:
		
			253
	
			Function:
		
			decode
	
			File:
		
			app/Tygh/Backend/Session/Database.php
	
			Line:
		
			98
	
			Function:
		
			expire
	
			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			741
	
			Function:
		
			gc
	
			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			334
	
			Function:
		
			gc
	
			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			155
	
			Function:
		
			start
	
			File:
		
			init.php
	
			Line:
		
			128
	
			Function:
		
			init
	
			File:
		
			app/functions/fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			init.php
	
			Line:
		
			153
	
			Function:
		
			fn_init
	
			File:
		
			admin760.php
	
			Line:
		
			25
	
			Function:
		
			require
	
PHP Notice

Message

Undefined index: settings

Error at

app/Tygh/Session.php, line: 257

Backtrace

			File:
		
			app/Tygh/Session.php
	
			Line:
		
			257
	
			Function:
		
			{closure}
	
			File:
		
			app/Tygh/Backend/Session/Database.php
	
			Line:
		
			98
	
			Function:
		
			expire
	
			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			741
	
			Function:
		
			gc
	
			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			334
	
			Function:
		
			gc
	
			File:
		
			app/Tygh/Web/Session.php
	
			Line:
		
			155
	
			Function:
		
			start
	
			File:
		
			init.php
	
			Line:
		
			128
	
			Function:
		
			init
	
			File:
		
			app/functions/fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			init.php
	
			Line:
		
			153
	
			Function:
		
			fn_init
	
			File:
		
			admin760.php
	
			Line:
		
			25
	
			Function:
		
			require