Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Cs-Cart Data Feeds Not Download Data Feed By Category Rate Topic   - - - - -

 

Posted 11 January 2016 - 08:02 PM #1

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.


 

Posted 11 January 2016 - 08:14 PM #2

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.


 

Posted 11 January 2016 - 09:36 PM #3

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



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 12 January 2016 - 09:54 AM #4

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 

Posted 12 January 2016 - 03:28 PM #5

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

 

Thanks.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 13 January 2016 - 08:33 AM #6

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

 

Please PM me temporary FTP access


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 

Posted 13 January 2016 - 04:47 PM #7

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!



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 14 January 2016 - 11:21 AM #8

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ntt160180
  • Newbie
  • Members
  • Join Date: 29-Sep 15
  • 3 posts

Posted 03 February 2016 - 02:31 AM #9

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


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 03 February 2016 - 07:43 AM #10

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ntt160180
  • Newbie
  • Members
  • Join Date: 29-Sep 15
  • 3 posts

Posted 04 February 2016 - 08:38 AM #11

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.



 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2076 posts

Posted 08 February 2016 - 02:53 PM #12

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...383#entry23383?


Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 08 February 2016 - 03:16 PM #13

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Ayokay
  • Junior Member
  • Members
  • Join Date: 12-Apr 11
  • 31 posts

Posted 20 August 2016 - 12:51 AM #14

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.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 22 August 2016 - 06:52 AM #15

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Ayokay
  • Junior Member
  • Members
  • Join Date: 12-Apr 11
  • 31 posts

Posted 22 August 2016 - 09:57 PM #16

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.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 23 August 2016 - 07:52 AM #17

Thank you, Ayokay


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • pelegrine
  • Newbie
  • Trial users
  • Join Date: 04-Jul 17
  • 2 posts

Posted 04 July 2017 - 06:09 PM #18

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

 
  •  
  •  


 
  • pelegrine
  • Newbie
  • Trial users
  • Join Date: 04-Jul 17
  • 2 posts

Posted 05 July 2017 - 01:11 PM #19

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


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21916 posts

Posted 06 July 2017 - 06:52 AM #20

 

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

 

 

Please update the following topic

 

http://forum.cs-cart...s-in-sessionphp


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)