You are here:  » Feeds import progress display problems


Feeds import progress display problems

Submitted by chrisst1 on Tue, 2014-03-18 17:43 in

Hi David

I am using a modified feeds_import as below:

The problem is that the progress on one site on one server looks like this:

Importing feed filename: Importing progress: [100/] Total products imported: 100
Importing feed filename: Importing progress: [200/] Total products imported: 200

whereas on our other server for the same identical feed and setup looks like this:

Importing feed filename: Importing progress: [100/] Total products imported: 100
Importing feed filename: Importing progress: [200/] Total products imported: 200
Importing feed filename: Importing progress: [300/] Total products imported: 300
[INSERT INTO `0000_products` SET filename='aw_redletterdays.xml', name='Intermediate Full Day Golf Masterclass ...][Duplicate entry 'fcda0f62ba4b074e0bf0512131aebfce' for key 'dupe_filter']

Do you have any ideas what might be causing this David, with a feed like viagogo with multiple duplicates importing can take ages as each duplicate is printed out.

Thanks

Chris

Submitted by support on Wed, 2014-03-19 10:37

Hi Chris,

All it is, is that your second server has database debug mode enabled. You can turn it back off in config.advanced.php by restoring line 6 as follows:

  $config_databaseDebugMode = FALSE;

Because of these "intentional" error by virtue of how de-duplication works debug mode should only be enabled when working on modifications involved database / database code changes...

Cheers!
David.
--
PriceTapestry.com

Submitted by chrisst1 on Wed, 2014-03-19 11:14

David you are a star!

What a wally I am, that will teach me for making copies of the config file without checking it first.

Many thanks

Chris