#
#<?php die('Forbidden.'); ?>
#Date: 2019-12-18 09:43:33 UTC
#Software: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

#Fields: date	time	line_nr	action	comment
2019-12-18	09:43:33	0	[DEBUG]	Clean up old logs. Found 1 logs and threshold is 25 logs
2019-12-18	09:43:33	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2019-12-18	09:43:33	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2019-12-18	09:43:33	0	[DEBUG]	Load the fields to process
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_sku
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_parent_sku
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_name
2019-12-18	09:43:33	0	[DEBUG]	Setup field: category_path
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_price
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_override_price
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_tax
2019-12-18	09:43:33	0	[DEBUG]	Setup field: file_url
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_s_desc
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_desc
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_in_stock
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_availability
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_weight
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_unit
2019-12-18	09:43:33	0	[DEBUG]	Setup field: related_products
2019-12-18	09:43:33	0	[DEBUG]	Setup field: product_special
2019-12-18	09:43:33	0	[DEBUG]	Setup field: manufacturer_name
2019-12-18	09:43:33	0	[DEBUG]	Setup field: manufacturer_id
2019-12-18	09:43:33	0	[DEBUG]	Setup field: published
2019-12-18	09:43:33	0	[DEBUG]	Setup field: metadesc
2019-12-18	09:43:33	0	[DEBUG]	Setup field: metakey
2019-12-18	09:43:33	0	[DEBUG]	Setup field: custom_title
2019-12-18	09:43:33	0	[DEBUG]	Setup field: custom_value
2019-12-18	09:43:33	0	[DEBUG]	Setup field: custom_param
2019-12-18	09:43:33	0	[DEBUG]	Setup field: override
2019-12-18	09:43:33	0	[DEBUG]	Setup field: public_price
2019-12-18	09:43:33	0	[DEBUG]	Use the file for configuration
2019-12-18	09:43:35	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2019-12-18	09:43:35	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2019-12-18	09:43:35	0	[DEBUG]	Load the fields to process
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_sku
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_name
2019-12-18	09:43:35	0	[DEBUG]	Setup field: category_path
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_price
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_tax
2019-12-18	09:43:35	0	[DEBUG]	Setup field: file_url
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_desc
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_availability
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_weight
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_unit
2019-12-18	09:43:35	0	[DEBUG]	Setup field: related_products
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_special
2019-12-18	09:43:35	0	[DEBUG]	Setup field: manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Setup field: manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Setup field: published
2019-12-18	09:43:35	0	[DEBUG]	Setup field: metadesc
2019-12-18	09:43:35	0	[DEBUG]	Setup field: metakey
2019-12-18	09:43:35	0	[DEBUG]	Setup field: custom_title
2019-12-18	09:43:35	0	[DEBUG]	Setup field: custom_value
2019-12-18	09:43:35	0	[DEBUG]	Setup field: custom_param
2019-12-18	09:43:35	0	[DEBUG]	Setup field: override
2019-12-18	09:43:35	0	[DEBUG]	Setup field: public_price
2019-12-18	09:43:35	0	[DEBUG]	Use the file for configuration
2019-12-18	09:43:35	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2019-12-18	09:43:35	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2019-12-18	09:43:35	0	[DEBUG]	Load the fields to process
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_sku
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_name
2019-12-18	09:43:35	0	[DEBUG]	Setup field: category_path
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_price
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_tax
2019-12-18	09:43:35	0	[DEBUG]	Setup field: file_url
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_desc
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_availability
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_weight
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_unit
2019-12-18	09:43:35	0	[DEBUG]	Setup field: related_products
2019-12-18	09:43:35	0	[DEBUG]	Setup field: product_special
2019-12-18	09:43:35	0	[DEBUG]	Setup field: manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Setup field: manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Setup field: published
2019-12-18	09:43:35	0	[DEBUG]	Setup field: metadesc
2019-12-18	09:43:35	0	[DEBUG]	Setup field: metakey
2019-12-18	09:43:35	0	[DEBUG]	Setup field: custom_title
2019-12-18	09:43:35	0	[DEBUG]	Setup field: custom_value
2019-12-18	09:43:35	0	[DEBUG]	Setup field: custom_param
2019-12-18	09:43:35	0	[DEBUG]	Setup field: override
2019-12-18	09:43:35	0	[DEBUG]	Setup field: public_price
2019-12-18	09:43:35	0	[DEBUG]	Use the file for configuration
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field published
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field override
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field published
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field override
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field published
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field override
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field published
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field override
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field published
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:35	0	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field override
2019-12-18	09:43:35	0	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:37	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2019-12-18	09:43:37	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2019-12-18	09:43:37	0	[DEBUG]	Load the fields to process
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_sku
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_parent_sku
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_name
2019-12-18	09:43:37	0	[DEBUG]	Setup field: category_path
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_price
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_override_price
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_tax
2019-12-18	09:43:37	0	[DEBUG]	Setup field: file_url
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_s_desc
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_desc
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_in_stock
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_availability
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_weight
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_unit
2019-12-18	09:43:37	0	[DEBUG]	Setup field: related_products
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_special
2019-12-18	09:43:37	0	[DEBUG]	Setup field: manufacturer_name
2019-12-18	09:43:37	0	[DEBUG]	Setup field: manufacturer_id
2019-12-18	09:43:37	0	[DEBUG]	Setup field: published
2019-12-18	09:43:37	0	[DEBUG]	Setup field: metadesc
2019-12-18	09:43:37	0	[DEBUG]	Setup field: metakey
2019-12-18	09:43:37	0	[DEBUG]	Setup field: custom_title
2019-12-18	09:43:37	0	[DEBUG]	Setup field: custom_value
2019-12-18	09:43:37	0	[DEBUG]	Setup field: custom_param
2019-12-18	09:43:37	0	[DEBUG]	Setup field: override
2019-12-18	09:43:37	0	[DEBUG]	Setup field: public_price
2019-12-18	09:43:37	0	[DEBUG]	Use the file for configuration
2019-12-18	09:43:37	0	[DEBUG]	Clean up old logs. Found 1 logs and threshold is 25 logs
2019-12-18	09:43:37	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2019-12-18	09:43:37	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2019-12-18	09:43:37	0	[DEBUG]	Load the fields to process
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_sku
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_parent_sku
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_name
2019-12-18	09:43:37	0	[DEBUG]	Setup field: category_path
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_price
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_override_price
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_tax
2019-12-18	09:43:37	0	[DEBUG]	Setup field: file_url
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_s_desc
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_desc
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_in_stock
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_availability
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_weight
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_unit
2019-12-18	09:43:37	0	[DEBUG]	Setup field: related_products
2019-12-18	09:43:37	0	[DEBUG]	Setup field: product_special
2019-12-18	09:43:37	0	[DEBUG]	Setup field: manufacturer_name
2019-12-18	09:43:37	0	[DEBUG]	Setup field: manufacturer_id
2019-12-18	09:43:37	0	[DEBUG]	Setup field: published
2019-12-18	09:43:37	0	[DEBUG]	Setup field: metadesc
2019-12-18	09:43:37	0	[DEBUG]	Setup field: metakey
2019-12-18	09:43:37	0	[DEBUG]	Setup field: custom_title
2019-12-18	09:43:37	0	[DEBUG]	Setup field: custom_value
2019-12-18	09:43:37	0	[DEBUG]	Setup field: custom_param
2019-12-18	09:43:37	0	[DEBUG]	Setup field: override
2019-12-18	09:43:37	0	[DEBUG]	Setup field: public_price
2019-12-18	09:43:37	0	[DEBUG]	Use the file for configuration
2019-12-18	09:43:37	0	[DEBUG]	==========
2019-12-18	09:43:37	0	[DEBUG]	RO CSVI Version: 7.14.0
2019-12-18	09:43:37	0	[DEBUG]	PHP version: 7.3.12
2019-12-18	09:43:37	0	[DEBUG]	Action: import
2019-12-18	09:43:37	0	[DEBUG]	Component: com_virtuemart
2019-12-18	09:43:37	0	[DEBUG]	Operation: product
2019-12-18	09:43:37	0	[DEBUG]	Override: 
2019-12-18	09:43:37	0	[DEBUG]	Source: fromserver
2019-12-18	09:43:37	0	[DEBUG]	Load from your computer: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/tmp/com_csvi/2370028922/bcprisme.txt
2019-12-18	09:43:37	0	[DEBUG]	Load from server: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/bcprisme/bcprisme.txt
2019-12-18	09:43:37	0	[DEBUG]	Delete after import: No
2019-12-18	09:43:37	0	[DEBUG]	Load from URL: http://
2019-12-18	09:43:37	0	[DEBUG]	URL Username: 
2019-12-18	09:43:37	0	[DEBUG]	Name of username field: user
2019-12-18	09:43:37	0	[DEBUG]	URL Password: 
2019-12-18	09:43:37	0	[DEBUG]	Name of the password field: password
2019-12-18	09:43:37	0	[DEBUG]	Retrieve method: get
2019-12-18	09:43:37	0	[DEBUG]	Authorization Type: htaccess
2019-12-18	09:43:37	0	[DEBUG]	Encode URL: Yes
2019-12-18	09:43:37	0	[DEBUG]	FTP Host: 
2019-12-18	09:43:37	0	[DEBUG]	FTP Port: 
2019-12-18	09:43:37	0	[DEBUG]	SFTP: No
2019-12-18	09:43:37	0	[DEBUG]	FTP Root Folder: 
2019-12-18	09:43:37	0	[DEBUG]	FTP Filename: 
2019-12-18	09:43:37	0	[DEBUG]	Username: 
2019-12-18	09:43:37	0	[DEBUG]	Host: 
2019-12-18	09:43:37	0	[DEBUG]	Port: 
2019-12-18	09:43:37	0	[DEBUG]	Database name: 
2019-12-18	09:43:37	0	[DEBUG]	Database table: 
2019-12-18	09:43:37	0	[DEBUG]	Autodetect delimiters: No
2019-12-18	09:43:37	0	[DEBUG]	Field Delimiter: ;
2019-12-18	09:43:37	0	[DEBUG]	Text Enclosure: "
2019-12-18	09:43:37	0	[DEBUG]	Use file extension: 
2019-12-18	09:43:37	0	[DEBUG]	I'm Mac: No
2019-12-18	09:43:37	0	[DEBUG]	Use file for configuration: Yes
2019-12-18	09:43:37	0	[DEBUG]	Add extra fields: No
2019-12-18	09:43:37	0	[DEBUG]	Skip first line: No
2019-12-18	09:43:37	0	[DEBUG]	Overwrite existing data: Yes
2019-12-18	09:43:37	0	[DEBUG]	Skip new items: No
2019-12-18	09:43:37	0	[DEBUG]	Record name: 
2019-12-18	09:43:37	0	[DEBUG]	Language: fr-FR
2019-12-18	09:43:37	0	[DEBUG]	Category separator: ^
2019-12-18	09:43:37	0	[DEBUG]	Append categories: No
2019-12-18	09:43:37	0	[DEBUG]	Import based on: product_sku
2019-12-18	09:43:37	0	[DEBUG]	Unpublish before import: No
2019-12-18	09:43:37	0	[DEBUG]	Recreate alias: No
2019-12-18	09:43:37	0	[DEBUG]	Delete custom fields relations: No
2019-12-18	09:43:37	0	[DEBUG]	Use ICEcat data: No
2019-12-18	09:43:37	0	[DEBUG]	Similar SKU search: No
2019-12-18	09:43:37	0	[DEBUG]	Number of images: 
2019-12-18	09:43:37	0	[DEBUG]	Download PDF files: No
2019-12-18	09:43:37	0	[DEBUG]	Location product files: images/stories/virtuemart/product/
2019-12-18	09:43:37	0	[DEBUG]	Delete image relations: No
2019-12-18	09:43:37	0	[DEBUG]	Create image name: No
2019-12-18	09:43:37	0	[DEBUG]	Image name based on: product_sku
2019-12-18	09:43:37	0	[DEBUG]	Image name format: jpg
2019-12-18	09:43:37	0	[DEBUG]	Change case: none
2019-12-18	09:43:37	0	[DEBUG]	Fill media fields: No
2019-12-18	09:43:37	0	[DEBUG]	Update media link only: No
2019-12-18	09:43:37	0	[DEBUG]	Process images: Yes
2019-12-18	09:43:37	0	[DEBUG]	Keep original file: No
2019-12-18	09:43:37	0	[DEBUG]	Convert image type: none
2019-12-18	09:43:37	0	[DEBUG]	Save images on server: No
2019-12-18	09:43:37	0	[DEBUG]	Re-download image: Yes
2019-12-18	09:43:37	0	[DEBUG]	Resize large image: No
2019-12-18	09:43:37	0	[DEBUG]	Full image width: 
2019-12-18	09:43:37	0	[DEBUG]	Full image height: 
2019-12-18	09:43:37	0	[DEBUG]	Check filetype: No
2019-12-18	09:43:37	0	[DEBUG]	Automatic thumbnail creation: No
2019-12-18	09:43:37	0	[DEBUG]	Thumbnail type: none
2019-12-18	09:43:37	0	[DEBUG]	Thumbnail width: 90
2019-12-18	09:43:37	0	[DEBUG]	Thumbnail height: 90
2019-12-18	09:43:37	0	[DEBUG]	Maximum width resize: 1024
2019-12-18	09:43:37	0	[DEBUG]	Maximum height resize: 768
2019-12-18	09:43:37	0	[DEBUG]	Watermark: No
2019-12-18	09:43:37	0	[DEBUG]	Right margin: No
2019-12-18	09:43:37	0	[DEBUG]	Bottom margin: No
2019-12-18	09:43:37	0	[DEBUG]	Image: 
2019-12-18	09:43:37	0	[DEBUG]	Lines per import: 1000
2019-12-18	09:43:37	0	[DEBUG]	Time between imports: 5
2019-12-18	09:43:37	0	[DEBUG]	Override system limits?: No
2019-12-18	09:43:37	0	[DEBUG]	Maximum execution time: 
2019-12-18	09:43:37	0	[DEBUG]	Maximum amount of memory: 
2019-12-18	09:43:37	0	[DEBUG]	Maximum size of POST data in megabytes: 
2019-12-18	09:43:37	0	[DEBUG]	Maximum allowed size for uploaded files in megabytes: 
2019-12-18	09:43:37	0	[DEBUG]	Template ID: 2
2019-12-18	09:43:37	0	[DEBUG]	Tags: 
2019-12-18	09:43:37	0	[DEBUG]	==========
2019-12-18	09:43:37	0	[DEBUG]	Updating start date and time of import
2019-12-18	09:43:37	0	[QUERY]	 UPDATE `mlvbch_csvi_logs` SET `start` = '2019-12-18 09:43:37' WHERE `csvi_log_id` = 492
2019-12-18	09:43:37	0	[DEBUG]	Get all CF4All custom field title
2019-12-18	09:43:37	0	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2019-12-18	09:43:37	0	[DEBUG]	Load the custom fields
2019-12-18	09:43:37	0	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2019-12-18	09:43:37	0	[DEBUG]	Load stockable custom fields
2019-12-18	09:43:37	0	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2019-12-18	09:43:37	0	[DEBUG]	Load custom fields for all
2019-12-18	09:43:37	0	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field published
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:37	1	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field override
2019-12-18	09:43:37	1	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:37	1	[DEBUG]	Process line 1
2019-12-18	09:43:37	1	[DEBUG]	Check if the vendor exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_146_1'
2019-12-18	09:43:37	1	[DEBUG]	Load a row
2019-12-18	09:43:37	1	[DEBUG]	Processing item: A_146_1
2019-12-18	09:43:37	1	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:37	1	[DEBUG]	Processing product tax
2019-12-18	09:43:37	1	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:37	1	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:37	1	[DEBUG]	Query for Product
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_146_1','0.1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:37	1	[DEBUG]	Check product language entry
2019-12-18	09:43:37	1	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131205
2019-12-18	09:43:37	1	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-calculatrice-msc-146' AND `virtuemart_product_id` != 131205
2019-12-18	09:43:37	1	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-calculatrice-msc-146' AND `virtuemart_product_id` != 131205
2019-12-18	09:43:37	1	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131205, 'msc-calculatrice-msc-146')
2019-12-18	09:43:37	1	[DEBUG]	Query for ProductLang
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pratique dans son format et dans ses fonctions<br>N° art fourn : 1012ST',`product_name`='MSC Calculatrice MSC (146)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-calculatrice-msc-146' WHERE `virtuemart_product_id` = '131205'
2019-12-18	09:43:37	1	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_152.jpg
2019-12-18	09:43:37	1	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:37	1	[DEBUG]	Process image file
2019-12-18	09:43:37	1	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:37	1	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:37	1	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_152.jpg
2019-12-18	09:43:37	1	[DEBUG]	Full name target: images/stories/virtuemart/product/image_152.jpg
2019-12-18	09:43:37	1	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_152.jpg'
2019-12-18	09:43:37	1	[DEBUG]	Query for Media
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_152.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_152.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5401'
2019-12-18	09:43:37	1	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131205','5401','1')
2019-12-18	09:43:37	1	[DEBUG]	Store product image relation
2019-12-18	09:43:37	1	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:37	1	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131205 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:37	1	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131205','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:37	1	[DEBUG]	Checking manufacturer
2019-12-18	09:43:37	1	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:37	1	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131205
2019-12-18	09:43:37	1	[DEBUG]	Load a row
2019-12-18	09:43:37	1	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:37	1	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:37	1	[DEBUG]	Manufacturer exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:37	1	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:37	1	[DEBUG]	Executed store
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131205','32')
2019-12-18	09:43:37	1	[DEBUG]	Find the custom field ID
2019-12-18	09:43:37	1	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:37	1	[DEBUG]	No custom field ID found
2019-12-18	09:43:37	1	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:37	1	[DEBUG]	Store custom available field
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131205,3,'9.67305555555556',1)
2019-12-18	09:43:37	1	[DEBUG]	Checking category
2019-12-18	09:43:37	1	[DEBUG]	Check if category path exists: <Aucun>
2019-12-18	09:43:37	1	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = '<Aucun>' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:37	1	[DEBUG]	Check if category path exists: <Aucun>
2019-12-18	09:43:37	1	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = '<Aucun>' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 391
2019-12-18	09:43:37	1	[DEBUG]	Delete old category references
2019-12-18	09:43:37	1	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131205
2019-12-18	09:43:37	1	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:37	1	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131205 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:37	1	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:37	1	[DEBUG]	Add new category references
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131205','392','')
2019-12-18	09:43:37	1	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:37	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131205','392','')
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field published
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:37	2	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field override
2019-12-18	09:43:37	2	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:37	2	[DEBUG]	Process line 2
2019-12-18	09:43:37	2	[DEBUG]	Load a row
2019-12-18	09:43:37	2	[DEBUG]	Processing item: 1000000001570
2019-12-18	09:43:37	2	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:37	2	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:37	2	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_146_1'
2019-12-18	09:43:37	2	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:37	2	[DEBUG]	Processing product tax
2019-12-18	09:43:37	2	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:37	2	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:37	2	[DEBUG]	Query for Product
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131205','1000000001570','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:37	2	[DEBUG]	No parent found
2019-12-18	09:43:37	2	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131205 AND customfield_value = 'stockable'
2019-12-18	09:43:37	2	[DEBUG]	Check product language entry
2019-12-18	09:43:37	2	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131206
2019-12-18	09:43:37	2	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-calculatrice-msc-146-noir' AND `virtuemart_product_id` != 131206
2019-12-18	09:43:37	2	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-calculatrice-msc-146-noir' AND `virtuemart_product_id` != 131206
2019-12-18	09:43:37	2	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131206, 'msc-calculatrice-msc-146-noir')
2019-12-18	09:43:37	2	[DEBUG]	Query for ProductLang
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Calculatrice MSC (146) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-calculatrice-msc-146-noir' WHERE `virtuemart_product_id` = '131206'
2019-12-18	09:43:37	2	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_152.jpg
2019-12-18	09:43:37	2	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:37	2	[DEBUG]	Process image file
2019-12-18	09:43:37	2	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:37	2	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:37	2	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_152.jpg
2019-12-18	09:43:37	2	[DEBUG]	Full name target: images/stories/virtuemart/product/image_152.jpg
2019-12-18	09:43:37	2	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_152.jpg'
2019-12-18	09:43:37	2	[DEBUG]	Query for Media
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_152.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_152.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5401'
2019-12-18	09:43:37	2	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131206','5401','1')
2019-12-18	09:43:37	2	[DEBUG]	Store product image relation
2019-12-18	09:43:37	2	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:37	2	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131206 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:37	2	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131206','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:37	2	[DEBUG]	Checking manufacturer
2019-12-18	09:43:37	2	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:37	2	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131206
2019-12-18	09:43:37	2	[DEBUG]	Load a row
2019-12-18	09:43:37	2	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:37	2	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:37	2	[DEBUG]	Manufacturer exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:37	2	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:37	2	[DEBUG]	Executed store
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131206','32')
2019-12-18	09:43:37	2	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:37	2	[DEBUG]	Store custom available field
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131206,3,'',1)
2019-12-18	09:43:37	2	[DEBUG]	Checking category
2019-12-18	09:43:37	2	[DEBUG]	Delete old category references
2019-12-18	09:43:37	2	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131206
2019-12-18	09:43:37	2	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:37	2	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131206 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:37	2	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:37	2	[DEBUG]	Add new category references
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131206','392','')
2019-12-18	09:43:37	2	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:37	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131206','392','')
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_override_price
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field published
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:37	3	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field override
2019-12-18	09:43:37	3	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:37	3	[DEBUG]	Process line 3
2019-12-18	09:43:37	3	[DEBUG]	Load a row
2019-12-18	09:43:37	3	[DEBUG]	Processing item: A_312_25
2019-12-18	09:43:37	3	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:37	3	[DEBUG]	Processing product tax
2019-12-18	09:43:37	3	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:37	3	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:37	3	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:37	3	[DEBUG]	Query for Product
2019-12-18	09:43:37	3	[DEBUG]	Executed store
2019-12-18	09:43:37	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_312_25','6.5','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:37	3	[DEBUG]	Check product language entry
2019-12-18	09:43:37	3	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131207
2019-12-18	09:43:37	3	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:37	3	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-sac-de-voyage-ultra-leger-msc-pour-velos-312' AND `virtuemart_product_id` != 131207
2019-12-18	09:43:37	3	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:37	3	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-sac-de-voyage-ultra-leger-msc-pour-velos-312' AND `virtuemart_product_id` != 131207
2019-12-18	09:43:37	3	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:37	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131207, 'msc-sac-de-voyage-ultra-leger-msc-pour-velos-312')
2019-12-18	09:43:37	3	[DEBUG]	Query for ProductLang
2019-12-18	09:43:37	3	[DEBUG]	Executed store
2019-12-18	09:43:37	3	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Sac de voyage ultra-léger pour vélos avec poches internes: Poche pour deux roues avec protection pour l\'axe Poche pour disques, tige de selle et selle Poche pour la documentation Hauteur: 95cm Largeur: 20cm Longueur: 115cm<br>N° art fourn : BAG10',`product_name`='MSC Sac de voyage ultra-léger MSC pour vélos (312)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-sac-de-voyage-ultra-leger-msc-pour-velos-312' WHERE `virtuemart_product_id` = '131207'
2019-12-18	09:43:37	3	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_354.jpg
2019-12-18	09:43:37	3	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2019-12-18	09:43:37	3	[DEBUG]	Process image file
2019-12-18	09:43:37	3	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2019-12-18	09:43:37	3	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:37	3	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_354.jpg
2019-12-18	09:43:37	3	[DEBUG]	Full name target: images/stories/virtuemart/product/image_354.jpg
2019-12-18	09:43:38	3	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:38	3	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_354.jpg'
2019-12-18	09:43:38	3	[DEBUG]	Query for Media
2019-12-18	09:43:38	3	[DEBUG]	Executed store
2019-12-18	09:43:38	3	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_354.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_354.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5410'
2019-12-18	09:43:38	3	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:38	3	[DEBUG]	Executed store
2019-12-18	09:43:38	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131207','5410','1')
2019-12-18	09:43:38	3	[DEBUG]	Store product image relation
2019-12-18	09:43:38	3	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	3	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131207 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	3	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	3	[DEBUG]	Executed store
2019-12-18	09:43:38	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131207','0','204.178272980501','-1','138.347260909935','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	3	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	3	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	3	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131207
2019-12-18	09:43:38	3	[DEBUG]	Load a row
2019-12-18	09:43:38	3	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	3	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	3	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	3	[DEBUG]	Executed store
2019-12-18	09:43:38	3	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	3	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	3	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:38	3	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	3	[DEBUG]	Executed store
2019-12-18	09:43:38	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131207','32')
2019-12-18	09:43:38	3	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	3	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	3	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	3	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	3	[DEBUG]	Store custom available field
2019-12-18	09:43:38	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131207,3,'219.289166666667',1)
2019-12-18	09:43:38	3	[DEBUG]	Checking category
2019-12-18	09:43:38	3	[DEBUG]	Delete old category references
2019-12-18	09:43:38	3	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131207
2019-12-18	09:43:38	3	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	3	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131207 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	3	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	3	[DEBUG]	Add new category references
2019-12-18	09:43:38	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131207','392','')
2019-12-18	09:43:38	3	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131207','392','')
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	4	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	4	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	4	[DEBUG]	Process line 4
2019-12-18	09:43:38	4	[DEBUG]	Load a row
2019-12-18	09:43:38	4	[DEBUG]	Processing item: 1000000003642
2019-12-18	09:43:38	4	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	4	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	4	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_312_25'
2019-12-18	09:43:38	4	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	4	[DEBUG]	Processing product tax
2019-12-18	09:43:38	4	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	4	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	4	[DEBUG]	Query for Product
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131207','1000000003642','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	4	[DEBUG]	No parent found
2019-12-18	09:43:38	4	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131207 AND customfield_value = 'stockable'
2019-12-18	09:43:38	4	[DEBUG]	Check product language entry
2019-12-18	09:43:38	4	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131208
2019-12-18	09:43:38	4	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-sac-de-voyage-ultra-leger-msc-pour-velos-312-noir-blanc' AND `virtuemart_product_id` != 131208
2019-12-18	09:43:38	4	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-sac-de-voyage-ultra-leger-msc-pour-velos-312-noir-blanc' AND `virtuemart_product_id` != 131208
2019-12-18	09:43:38	4	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131208, 'msc-sac-de-voyage-ultra-leger-msc-pour-velos-312-noir-blanc')
2019-12-18	09:43:38	4	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Sac de voyage ultra-léger MSC pour vélos (312) (Noir-blanc)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-sac-de-voyage-ultra-leger-msc-pour-velos-312-noir-blanc' WHERE `virtuemart_product_id` = '131208'
2019-12-18	09:43:38	4	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_354.jpg
2019-12-18	09:43:38	4	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2019-12-18	09:43:38	4	[DEBUG]	Process image file
2019-12-18	09:43:38	4	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2019-12-18	09:43:38	4	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:38	4	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_354.jpg
2019-12-18	09:43:38	4	[DEBUG]	Full name target: images/stories/virtuemart/product/image_354.jpg
2019-12-18	09:43:38	4	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_354.jpg'
2019-12-18	09:43:38	4	[DEBUG]	Query for Media
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_354.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_354.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5410'
2019-12-18	09:43:38	4	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131208','5410','1')
2019-12-18	09:43:38	4	[DEBUG]	Store product image relation
2019-12-18	09:43:38	4	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	4	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131208 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	4	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131208','0','204.178272980501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	4	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	4	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	4	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131208
2019-12-18	09:43:38	4	[DEBUG]	Load a row
2019-12-18	09:43:38	4	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	4	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	4	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:38	4	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	4	[DEBUG]	Executed store
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131208','32')
2019-12-18	09:43:38	4	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	4	[DEBUG]	Store custom available field
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131208,3,'',1)
2019-12-18	09:43:38	4	[DEBUG]	Checking category
2019-12-18	09:43:38	4	[DEBUG]	Delete old category references
2019-12-18	09:43:38	4	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131208
2019-12-18	09:43:38	4	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	4	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131208 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	4	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	4	[DEBUG]	Add new category references
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131208','392','')
2019-12-18	09:43:38	4	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131208','392','')
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	5	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	5	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	5	[DEBUG]	Process line 5
2019-12-18	09:43:38	5	[DEBUG]	Load a row
2019-12-18	09:43:38	5	[DEBUG]	Processing item: A_402_1
2019-12-18	09:43:38	5	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	5	[DEBUG]	Processing product tax
2019-12-18	09:43:38	5	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	5	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	5	[DEBUG]	Query for Product
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_402_1','1.3','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	5	[DEBUG]	Check product language entry
2019-12-18	09:43:38	5	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131209
2019-12-18	09:43:38	5	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402' AND `virtuemart_product_id` != 131209
2019-12-18	09:43:38	5	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402' AND `virtuemart_product_id` != 131209
2019-12-18	09:43:38	5	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131209, 'msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402')
2019-12-18	09:43:38	5	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Ruban pour délimiter un parcours<br>N° art fourn : CINTACIRMSC',`product_name`='MSC Ruban de marquage pour circuit MSC. Rouleau 250m (402)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402' WHERE `virtuemart_product_id` = '131209'
2019-12-18	09:43:38	5	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_444.jpg
2019-12-18	09:43:38	5	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:38	5	[DEBUG]	Process image file
2019-12-18	09:43:38	5	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:38	5	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:38	5	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_444.jpg
2019-12-18	09:43:38	5	[DEBUG]	Full name target: images/stories/virtuemart/product/image_444.jpg
2019-12-18	09:43:38	5	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_444.jpg'
2019-12-18	09:43:38	5	[DEBUG]	Query for Media
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_444.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_444.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5408'
2019-12-18	09:43:38	5	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131209','5408','1')
2019-12-18	09:43:38	5	[DEBUG]	Store product image relation
2019-12-18	09:43:38	5	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	5	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131209 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	5	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131209','0','36.9545032497679','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	5	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	5	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	5	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131209
2019-12-18	09:43:38	5	[DEBUG]	Load a row
2019-12-18	09:43:38	5	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	5	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	5	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:38	5	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	5	[DEBUG]	Executed store
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131209','32')
2019-12-18	09:43:38	5	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	5	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	5	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	5	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	5	[DEBUG]	Store custom available field
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131209,3,'39.7891666666667',1)
2019-12-18	09:43:38	5	[DEBUG]	Checking category
2019-12-18	09:43:38	5	[DEBUG]	Delete old category references
2019-12-18	09:43:38	5	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131209
2019-12-18	09:43:38	5	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	5	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131209 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	5	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	5	[DEBUG]	Add new category references
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131209','392','')
2019-12-18	09:43:38	5	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131209','392','')
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	6	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	6	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	6	[DEBUG]	Process line 6
2019-12-18	09:43:38	6	[DEBUG]	Load a row
2019-12-18	09:43:38	6	[DEBUG]	Processing item: 1000000004717
2019-12-18	09:43:38	6	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	6	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	6	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_402_1'
2019-12-18	09:43:38	6	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	6	[DEBUG]	Processing product tax
2019-12-18	09:43:38	6	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	6	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	6	[DEBUG]	Query for Product
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131209','1000000004717','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	6	[DEBUG]	No parent found
2019-12-18	09:43:38	6	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131209 AND customfield_value = 'stockable'
2019-12-18	09:43:38	6	[DEBUG]	Check product language entry
2019-12-18	09:43:38	6	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131210
2019-12-18	09:43:38	6	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402-noir' AND `virtuemart_product_id` != 131210
2019-12-18	09:43:38	6	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402-noir' AND `virtuemart_product_id` != 131210
2019-12-18	09:43:38	6	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131210, 'msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402-noir')
2019-12-18	09:43:38	6	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ruban de marquage pour circuit MSC. Rouleau 250m (402) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ruban-de-marquage-pour-circuit-msc-rouleau-250m-402-noir' WHERE `virtuemart_product_id` = '131210'
2019-12-18	09:43:38	6	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_444.jpg
2019-12-18	09:43:38	6	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:38	6	[DEBUG]	Process image file
2019-12-18	09:43:38	6	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:38	6	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:38	6	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_444.jpg
2019-12-18	09:43:38	6	[DEBUG]	Full name target: images/stories/virtuemart/product/image_444.jpg
2019-12-18	09:43:38	6	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_444.jpg'
2019-12-18	09:43:38	6	[DEBUG]	Query for Media
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_444.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_444.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5408'
2019-12-18	09:43:38	6	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131210','5408','1')
2019-12-18	09:43:38	6	[DEBUG]	Store product image relation
2019-12-18	09:43:38	6	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	6	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131210 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	6	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131210','0','36.9545032497679','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	6	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	6	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	6	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131210
2019-12-18	09:43:38	6	[DEBUG]	Load a row
2019-12-18	09:43:38	6	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	6	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	6	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:38	6	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	6	[DEBUG]	Executed store
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131210','32')
2019-12-18	09:43:38	6	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	6	[DEBUG]	Store custom available field
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131210,3,'',1)
2019-12-18	09:43:38	6	[DEBUG]	Checking category
2019-12-18	09:43:38	6	[DEBUG]	Delete old category references
2019-12-18	09:43:38	6	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131210
2019-12-18	09:43:38	6	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	6	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131210 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	6	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	6	[DEBUG]	Add new category references
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131210','392','')
2019-12-18	09:43:38	6	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131210','392','')
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	7	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	7	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	7	[DEBUG]	Process line 7
2019-12-18	09:43:38	7	[DEBUG]	Load a row
2019-12-18	09:43:38	7	[DEBUG]	Processing item: A_5107_208
2019-12-18	09:43:38	7	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	7	[DEBUG]	Processing product tax
2019-12-18	09:43:38	7	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	7	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	7	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	7	[DEBUG]	Query for Product
2019-12-18	09:43:38	7	[DEBUG]	Executed store
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5107_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	7	[DEBUG]	Check product language entry
2019-12-18	09:43:38	7	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131211
2019-12-18	09:43:38	7	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	7	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107' AND `virtuemart_product_id` != 131211
2019-12-18	09:43:38	7	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	7	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107' AND `virtuemart_product_id` != 131211
2019-12-18	09:43:38	7	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131211, 'shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107')
2019-12-18	09:43:38	7	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	7	[DEBUG]	Executed store
2019-12-18	09:43:38	7	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.26326',`product_name`='SHIMANO Shimano Cales SM-SH11 SPD-SL mobile 0 jaunes (5107)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107' WHERE `virtuemart_product_id` = '131211'
2019-12-18	09:43:38	7	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg has not been found.
2019-12-18	09:43:38	7	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	7	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131211 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	7	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	7	[DEBUG]	Executed store
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131211','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	7	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	7	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	7	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131211
2019-12-18	09:43:38	7	[DEBUG]	Load a row
2019-12-18	09:43:38	7	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	7	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	7	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	7	[DEBUG]	Executed store
2019-12-18	09:43:38	7	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	7	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	7	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:38	7	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	7	[DEBUG]	Executed store
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131211','26')
2019-12-18	09:43:38	7	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	7	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	7	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	7	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	7	[DEBUG]	Store custom available field
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131211,3,'0',1)
2019-12-18	09:43:38	7	[DEBUG]	Checking category
2019-12-18	09:43:38	7	[DEBUG]	Delete old category references
2019-12-18	09:43:38	7	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131211
2019-12-18	09:43:38	7	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	7	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131211 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	7	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	7	[DEBUG]	Add new category references
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131211','392','')
2019-12-18	09:43:38	7	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131211','392','')
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	8	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	8	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	8	[DEBUG]	Process line 8
2019-12-18	09:43:38	8	[DEBUG]	Load a row
2019-12-18	09:43:38	8	[DEBUG]	Processing item: 4524667072973
2019-12-18	09:43:38	8	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	8	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	8	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5107_208'
2019-12-18	09:43:38	8	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	8	[DEBUG]	Processing product tax
2019-12-18	09:43:38	8	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	8	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	8	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	8	[DEBUG]	Query for Product
2019-12-18	09:43:38	8	[DEBUG]	Executed store
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131211','4524667072973','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	8	[DEBUG]	No parent found
2019-12-18	09:43:38	8	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131211 AND customfield_value = 'stockable'
2019-12-18	09:43:38	8	[DEBUG]	Check product language entry
2019-12-18	09:43:38	8	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131212
2019-12-18	09:43:38	8	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	8	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107-aucune' AND `virtuemart_product_id` != 131212
2019-12-18	09:43:38	8	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	8	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107-aucune' AND `virtuemart_product_id` != 131212
2019-12-18	09:43:38	8	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131212, 'shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107-aucune')
2019-12-18	09:43:38	8	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	8	[DEBUG]	Executed store
2019-12-18	09:43:38	8	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano Cales SM-SH11 SPD-SL mobile 0 jaunes (5107) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-5107-aucune' WHERE `virtuemart_product_id` = '131212'
2019-12-18	09:43:38	8	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg has not been found.
2019-12-18	09:43:38	8	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	8	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131212 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	8	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	8	[DEBUG]	Executed store
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131212','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	8	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	8	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	8	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131212
2019-12-18	09:43:38	8	[DEBUG]	Load a row
2019-12-18	09:43:38	8	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	8	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	8	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	8	[DEBUG]	Executed store
2019-12-18	09:43:38	8	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	8	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	8	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:38	8	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	8	[DEBUG]	Executed store
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131212','26')
2019-12-18	09:43:38	8	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	8	[DEBUG]	Store custom available field
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131212,3,'',1)
2019-12-18	09:43:38	8	[DEBUG]	Checking category
2019-12-18	09:43:38	8	[DEBUG]	Delete old category references
2019-12-18	09:43:38	8	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131212
2019-12-18	09:43:38	8	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	8	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131212 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	8	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	8	[DEBUG]	Add new category references
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131212','392','')
2019-12-18	09:43:38	8	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131212','392','')
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	9	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	9	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	9	[DEBUG]	Process line 9
2019-12-18	09:43:38	9	[DEBUG]	Load a row
2019-12-18	09:43:38	9	[DEBUG]	Processing item: A_5397_208
2019-12-18	09:43:38	9	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	9	[DEBUG]	Processing product tax
2019-12-18	09:43:38	9	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	9	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	9	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	9	[DEBUG]	Query for Product
2019-12-18	09:43:38	9	[DEBUG]	Executed store
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5397_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	9	[DEBUG]	Check product language entry
2019-12-18	09:43:38	9	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131213
2019-12-18	09:43:38	9	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	9	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397' AND `virtuemart_product_id` != 131213
2019-12-18	09:43:38	9	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	9	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397' AND `virtuemart_product_id` != 131213
2019-12-18	09:43:38	9	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131213, 'shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397')
2019-12-18	09:43:38	9	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	9	[DEBUG]	Executed store
2019-12-18	09:43:38	9	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.34406',`product_name`='SHIMANO Shimano Câble dérailleur 1.2x3000mm inox tandem (5397)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397' WHERE `virtuemart_product_id` = '131213'
2019-12-18	09:43:38	9	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29885_shimano_ceble_derailleur_1_2x3000mm_inox_tandem.jpg has not been found.
2019-12-18	09:43:38	9	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	9	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131213 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	9	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	9	[DEBUG]	Executed store
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131213','0','11.0492107706592','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	9	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	9	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	9	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131213
2019-12-18	09:43:38	9	[DEBUG]	Load a row
2019-12-18	09:43:38	9	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	9	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:38	9	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	9	[DEBUG]	Executed store
2019-12-18	09:43:38	9	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:38	9	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	9	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:38	9	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	9	[DEBUG]	Executed store
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131213','123')
2019-12-18	09:43:38	9	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	9	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	9	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	9	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	9	[DEBUG]	Store custom available field
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131213,3,'0',1)
2019-12-18	09:43:38	9	[DEBUG]	Checking category
2019-12-18	09:43:38	9	[DEBUG]	Delete old category references
2019-12-18	09:43:38	9	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131213
2019-12-18	09:43:38	9	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	9	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131213 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	9	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	9	[DEBUG]	Add new category references
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131213','392','')
2019-12-18	09:43:38	9	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131213','392','')
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	10	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	10	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	10	[DEBUG]	Process line 10
2019-12-18	09:43:38	10	[DEBUG]	Load a row
2019-12-18	09:43:38	10	[DEBUG]	Processing item: 4524667103523
2019-12-18	09:43:38	10	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	10	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	10	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5397_208'
2019-12-18	09:43:38	10	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	10	[DEBUG]	Processing product tax
2019-12-18	09:43:38	10	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	10	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	10	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	10	[DEBUG]	Query for Product
2019-12-18	09:43:38	10	[DEBUG]	Executed store
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131213','4524667103523','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	10	[DEBUG]	No parent found
2019-12-18	09:43:38	10	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131213 AND customfield_value = 'stockable'
2019-12-18	09:43:38	10	[DEBUG]	Check product language entry
2019-12-18	09:43:38	10	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131214
2019-12-18	09:43:38	10	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	10	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397-aucune' AND `virtuemart_product_id` != 131214
2019-12-18	09:43:38	10	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	10	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397-aucune' AND `virtuemart_product_id` != 131214
2019-12-18	09:43:38	10	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131214, 'shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397-aucune')
2019-12-18	09:43:38	10	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	10	[DEBUG]	Executed store
2019-12-18	09:43:38	10	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano Câble dérailleur 1.2x3000mm inox tandem (5397) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-cable-derailleur-1-2x3000mm-inox-tandem-5397-aucune' WHERE `virtuemart_product_id` = '131214'
2019-12-18	09:43:38	10	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29885_shimano_ceble_derailleur_1_2x3000mm_inox_tandem.jpg has not been found.
2019-12-18	09:43:38	10	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	10	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131214 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	10	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	10	[DEBUG]	Executed store
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131214','0','11.0492107706592','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	10	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	10	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	10	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131214
2019-12-18	09:43:38	10	[DEBUG]	Load a row
2019-12-18	09:43:38	10	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	10	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:38	10	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	10	[DEBUG]	Executed store
2019-12-18	09:43:38	10	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:38	10	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	10	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:38	10	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	10	[DEBUG]	Executed store
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131214','123')
2019-12-18	09:43:38	10	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	10	[DEBUG]	Store custom available field
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131214,3,'',1)
2019-12-18	09:43:38	10	[DEBUG]	Checking category
2019-12-18	09:43:38	10	[DEBUG]	Delete old category references
2019-12-18	09:43:38	10	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131214
2019-12-18	09:43:38	10	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	10	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131214 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	10	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	10	[DEBUG]	Add new category references
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131214','392','')
2019-12-18	09:43:38	10	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131214','392','')
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field file_url
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	11	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	11	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	11	[DEBUG]	Process line 11
2019-12-18	09:43:38	11	[DEBUG]	Load a row
2019-12-18	09:43:38	11	[DEBUG]	Processing item: A_5574_142
2019-12-18	09:43:38	11	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	11	[DEBUG]	Processing product tax
2019-12-18	09:43:38	11	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	11	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	11	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	11	[DEBUG]	Query for Product
2019-12-18	09:43:38	11	[DEBUG]	Executed store
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5574_142','13.9','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	11	[DEBUG]	Check product language entry
2019-12-18	09:43:38	11	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131215
2019-12-18	09:43:38	11	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	11	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-velo-dirt-msc-il-capo-5574' AND `virtuemart_product_id` != 131215
2019-12-18	09:43:38	11	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	11	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-velo-dirt-msc-il-capo-5574' AND `virtuemart_product_id` != 131215
2019-12-18	09:43:38	11	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131215, 'msc-velo-dirt-msc-il-capo-5574')
2019-12-18	09:43:38	11	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	11	[DEBUG]	Executed store
2019-12-18	09:43:38	11	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tous terrains et joueur. Un vélo semi-rigide prêt pour l’enduro ne gardant que les avantages d’un Tout-suspendu. Une fabrication légère et rouleuse qui répond avec dynamisme, traction et stabilité à toutes les courbes et imperfections de la montagne. Elaboré afin d’exprimer la polyvalence des pneumatiques en 27.5 x 3.00 qui, à basses pressions dévorent les obstacles. Un format simple qui invite le cycliste à découvrir tous les recoins de la montagne dans toutes les circonstances. Fourche : Recon Silver RL Boost 120 Remote Cadre : Aluminium Tapered Dérailleur arrière : SRAM NX 1X11SPD LONG CAGE BLACK Freins : SHIMANO M396 Manette : SRAM NX 11SPD TRIGGER BLACK Pneus : MAXXIS CHRONICLE 27.5 X 3.0 Poids : 13.9 Kg <br>N° art fourn : Il CAPO',`product_name`='MSC VELO DIRT MSC Il CAPO (5574)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-velo-dirt-msc-il-capo-5574' WHERE `virtuemart_product_id` = '131215'
2019-12-18	09:43:38	11	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	11	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131215 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	11	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	11	[DEBUG]	Executed store
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131215','0','324.976787372331','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	11	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	11	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	11	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131215
2019-12-18	09:43:38	11	[DEBUG]	Load a row
2019-12-18	09:43:38	11	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	11	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	11	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	11	[DEBUG]	Executed store
2019-12-18	09:43:38	11	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	11	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	11	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:38	11	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	11	[DEBUG]	Executed store
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131215','32')
2019-12-18	09:43:38	11	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	11	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	11	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	11	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	11	[DEBUG]	Store custom available field
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131215,3,'1594.55833333333',1)
2019-12-18	09:43:38	11	[DEBUG]	Checking category
2019-12-18	09:43:38	11	[DEBUG]	Delete old category references
2019-12-18	09:43:38	11	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131215
2019-12-18	09:43:38	11	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	11	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131215 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	11	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	11	[DEBUG]	Add new category references
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131215','392','')
2019-12-18	09:43:38	11	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131215','392','')
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field file_url
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	12	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	12	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	12	[DEBUG]	Process line 12
2019-12-18	09:43:38	12	[DEBUG]	Load a row
2019-12-18	09:43:38	12	[DEBUG]	Processing item: 1000000084832
2019-12-18	09:43:38	12	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	12	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	12	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5574_142'
2019-12-18	09:43:38	12	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	12	[DEBUG]	Processing product tax
2019-12-18	09:43:38	12	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	12	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	12	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	12	[DEBUG]	Query for Product
2019-12-18	09:43:38	12	[DEBUG]	Executed store
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131215','1000000084832','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	12	[DEBUG]	No parent found
2019-12-18	09:43:38	12	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131215 AND customfield_value = 'stockable'
2019-12-18	09:43:38	12	[DEBUG]	Check product language entry
2019-12-18	09:43:38	12	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131216
2019-12-18	09:43:38	12	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	12	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-velo-dirt-msc-il-capo-5574-noir-blanc' AND `virtuemart_product_id` != 131216
2019-12-18	09:43:38	12	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	12	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-velo-dirt-msc-il-capo-5574-noir-blanc' AND `virtuemart_product_id` != 131216
2019-12-18	09:43:38	12	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131216, 'msc-velo-dirt-msc-il-capo-5574-noir-blanc')
2019-12-18	09:43:38	12	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	12	[DEBUG]	Executed store
2019-12-18	09:43:38	12	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC VELO DIRT MSC Il CAPO (5574) (Noir-Blanc)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-velo-dirt-msc-il-capo-5574-noir-blanc' WHERE `virtuemart_product_id` = '131216'
2019-12-18	09:43:38	12	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	12	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131216 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	12	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	12	[DEBUG]	Executed store
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131216','0','324.976787372331','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	12	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	12	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	12	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131216
2019-12-18	09:43:38	12	[DEBUG]	Load a row
2019-12-18	09:43:38	12	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	12	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	12	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	12	[DEBUG]	Executed store
2019-12-18	09:43:38	12	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:38	12	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	12	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:38	12	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	12	[DEBUG]	Executed store
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131216','32')
2019-12-18	09:43:38	12	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	12	[DEBUG]	Store custom available field
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131216,3,'',1)
2019-12-18	09:43:38	12	[DEBUG]	Checking category
2019-12-18	09:43:38	12	[DEBUG]	Delete old category references
2019-12-18	09:43:38	12	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131216
2019-12-18	09:43:38	12	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	12	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131216 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	12	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	12	[DEBUG]	Add new category references
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131216','392','')
2019-12-18	09:43:38	12	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131216','392','')
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	13	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	13	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	13	[DEBUG]	Process line 13
2019-12-18	09:43:38	13	[DEBUG]	Load a row
2019-12-18	09:43:38	13	[DEBUG]	Processing item: A_6232_1
2019-12-18	09:43:38	13	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	13	[DEBUG]	Processing product tax
2019-12-18	09:43:38	13	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	13	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	13	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	13	[DEBUG]	Query for Product
2019-12-18	09:43:38	13	[DEBUG]	Executed store
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6232_1','0.02','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	13	[DEBUG]	Check product language entry
2019-12-18	09:43:38	13	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131217
2019-12-18	09:43:38	13	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	13	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232' AND `virtuemart_product_id` != 131217
2019-12-18	09:43:38	13	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	13	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232' AND `virtuemart_product_id` != 131217
2019-12-18	09:43:38	13	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131217, 'truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232')
2019-12-18	09:43:38	13	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	13	[DEBUG]	Executed store
2019-12-18	09:43:38	13	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7547F',`product_name`='Truvativ CRANK ARM BOLT KIT SELF-EXTRACTING DUB 12 VITESSSES (6232)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232' WHERE `virtuemart_product_id` = '131217'
2019-12-18	09:43:38	13	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32075_crank_arm_bolt_kit_self-extracting_dub_12_vitessses.jpg has not been found.
2019-12-18	09:43:38	13	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	13	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131217 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	13	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	13	[DEBUG]	Executed store
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131217','0','24.9767873723305','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	13	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	13	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	13	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131217
2019-12-18	09:43:38	13	[DEBUG]	Load a row
2019-12-18	09:43:38	13	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	13	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '135'
2019-12-18	09:43:38	13	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	13	[DEBUG]	Executed store
2019-12-18	09:43:38	13	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271158894641' WHERE `virtuemart_manufacturer_id` = '135'
2019-12-18	09:43:38	13	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	13	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 135
2019-12-18	09:43:38	13	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	13	[DEBUG]	Executed store
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131217','135')
2019-12-18	09:43:38	13	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	13	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	13	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	13	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	13	[DEBUG]	Store custom available field
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131217,3,'0',1)
2019-12-18	09:43:38	13	[DEBUG]	Checking category
2019-12-18	09:43:38	13	[DEBUG]	Delete old category references
2019-12-18	09:43:38	13	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131217
2019-12-18	09:43:38	13	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	13	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131217 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	13	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	13	[DEBUG]	Add new category references
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131217','392','')
2019-12-18	09:43:38	13	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131217','392','')
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	14	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	14	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	14	[DEBUG]	Process line 14
2019-12-18	09:43:38	14	[DEBUG]	Load a row
2019-12-18	09:43:38	14	[DEBUG]	Processing item: 710845820403
2019-12-18	09:43:38	14	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	14	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	14	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6232_1'
2019-12-18	09:43:38	14	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	14	[DEBUG]	Processing product tax
2019-12-18	09:43:38	14	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	14	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	14	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	14	[DEBUG]	Query for Product
2019-12-18	09:43:38	14	[DEBUG]	Executed store
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131217','710845820403','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	14	[DEBUG]	No parent found
2019-12-18	09:43:38	14	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131217 AND customfield_value = 'stockable'
2019-12-18	09:43:38	14	[DEBUG]	Check product language entry
2019-12-18	09:43:38	14	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131218
2019-12-18	09:43:38	14	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	14	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232-noir' AND `virtuemart_product_id` != 131218
2019-12-18	09:43:38	14	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	14	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232-noir' AND `virtuemart_product_id` != 131218
2019-12-18	09:43:38	14	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131218, 'truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232-noir')
2019-12-18	09:43:38	14	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	14	[DEBUG]	Executed store
2019-12-18	09:43:38	14	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Truvativ CRANK ARM BOLT KIT SELF-EXTRACTING DUB 12 VITESSSES (6232) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='truvativ-crank-arm-bolt-kit-self-extracting-dub-12-vitessses-6232-noir' WHERE `virtuemart_product_id` = '131218'
2019-12-18	09:43:38	14	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32075_crank_arm_bolt_kit_self-extracting_dub_12_vitessses.jpg has not been found.
2019-12-18	09:43:38	14	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	14	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131218 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	14	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	14	[DEBUG]	Executed store
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131218','0','24.9767873723305','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	14	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	14	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	14	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131218
2019-12-18	09:43:38	14	[DEBUG]	Load a row
2019-12-18	09:43:38	14	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	14	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '135'
2019-12-18	09:43:38	14	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	14	[DEBUG]	Executed store
2019-12-18	09:43:38	14	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271158894641' WHERE `virtuemart_manufacturer_id` = '135'
2019-12-18	09:43:38	14	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	14	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 135
2019-12-18	09:43:38	14	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	14	[DEBUG]	Executed store
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131218','135')
2019-12-18	09:43:38	14	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	14	[DEBUG]	Store custom available field
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131218,3,'',1)
2019-12-18	09:43:38	14	[DEBUG]	Checking category
2019-12-18	09:43:38	14	[DEBUG]	Delete old category references
2019-12-18	09:43:38	14	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131218
2019-12-18	09:43:38	14	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	14	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131218 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	14	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	14	[DEBUG]	Add new category references
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131218','392','')
2019-12-18	09:43:38	14	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131218','392','')
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	15	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	15	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	15	[DEBUG]	Process line 15
2019-12-18	09:43:38	15	[DEBUG]	Load a row
2019-12-18	09:43:38	15	[DEBUG]	Processing item: A_6355_1
2019-12-18	09:43:38	15	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	15	[DEBUG]	Processing product tax
2019-12-18	09:43:38	15	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	15	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	15	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	15	[DEBUG]	Query for Product
2019-12-18	09:43:38	15	[DEBUG]	Executed store
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6355_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	15	[DEBUG]	Check product language entry
2019-12-18	09:43:38	15	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131219
2019-12-18	09:43:38	15	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	15	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355' AND `virtuemart_product_id` != 131219
2019-12-18	09:43:38	15	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	15	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355' AND `virtuemart_product_id` != 131219
2019-12-18	09:43:38	15	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131219, 'shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355')
2019-12-18	09:43:38	15	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	15	[DEBUG]	Executed store
2019-12-18	09:43:38	15	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 75.72023',`product_name`='SHIMANO Plateau pour Shimano STEPS SM-CRE 50 38 dents  (6355)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355' WHERE `virtuemart_product_id` = '131219'
2019-12-18	09:43:38	15	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32241_plateau_pour_shimano_steps_sm-cre_50_38_dents_.jpg has not been found.
2019-12-18	09:43:38	15	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	15	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131219 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	15	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	15	[DEBUG]	Executed store
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131219','0','32.4048282265552','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	15	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	15	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	15	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131219
2019-12-18	09:43:38	15	[DEBUG]	Load a row
2019-12-18	09:43:38	15	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	15	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	15	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	15	[DEBUG]	Executed store
2019-12-18	09:43:38	15	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	15	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	15	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:38	15	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	15	[DEBUG]	Executed store
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131219','26')
2019-12-18	09:43:38	15	[DEBUG]	Find the custom field ID
2019-12-18	09:43:38	15	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:38	15	[DEBUG]	No custom field ID found
2019-12-18	09:43:38	15	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	15	[DEBUG]	Store custom available field
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131219,3,'0',1)
2019-12-18	09:43:38	15	[DEBUG]	Checking category
2019-12-18	09:43:38	15	[DEBUG]	Delete old category references
2019-12-18	09:43:38	15	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131219
2019-12-18	09:43:38	15	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	15	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131219 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	15	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	15	[DEBUG]	Add new category references
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131219','392','')
2019-12-18	09:43:38	15	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131219','392','')
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:38	16	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field override
2019-12-18	09:43:38	16	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:38	16	[DEBUG]	Process line 16
2019-12-18	09:43:38	16	[DEBUG]	Load a row
2019-12-18	09:43:38	16	[DEBUG]	Processing item: 4524667777878
2019-12-18	09:43:38	16	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:38	16	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:38	16	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6355_1'
2019-12-18	09:43:38	16	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	16	[DEBUG]	Processing product tax
2019-12-18	09:43:38	16	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	16	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	16	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	16	[DEBUG]	Query for Product
2019-12-18	09:43:38	16	[DEBUG]	Executed store
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131219','4524667777878','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	16	[DEBUG]	No parent found
2019-12-18	09:43:38	16	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131219 AND customfield_value = 'stockable'
2019-12-18	09:43:38	16	[DEBUG]	Check product language entry
2019-12-18	09:43:38	16	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131220
2019-12-18	09:43:38	16	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	16	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355-noir' AND `virtuemart_product_id` != 131220
2019-12-18	09:43:38	16	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:38	16	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355-noir' AND `virtuemart_product_id` != 131220
2019-12-18	09:43:38	16	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131220, 'shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355-noir')
2019-12-18	09:43:38	16	[DEBUG]	Query for ProductLang
2019-12-18	09:43:38	16	[DEBUG]	Executed store
2019-12-18	09:43:38	16	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plateau pour Shimano STEPS SM-CRE 50 38 dents  (6355) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plateau-pour-shimano-steps-sm-cre-50-38-dents-6355-noir' WHERE `virtuemart_product_id` = '131220'
2019-12-18	09:43:38	16	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32241_plateau_pour_shimano_steps_sm-cre_50_38_dents_.jpg has not been found.
2019-12-18	09:43:38	16	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:38	16	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131220 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:38	16	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:38	16	[DEBUG]	Executed store
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131220','0','32.4048282265552','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:38	16	[DEBUG]	Checking manufacturer
2019-12-18	09:43:38	16	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:38	16	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131220
2019-12-18	09:43:38	16	[DEBUG]	Load a row
2019-12-18	09:43:38	16	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:38	16	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	16	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:38	16	[DEBUG]	Executed store
2019-12-18	09:43:38	16	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:38	16	[DEBUG]	Manufacturer exists
2019-12-18	09:43:38	16	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:38	16	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:38	16	[DEBUG]	Executed store
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131220','26')
2019-12-18	09:43:38	16	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:38	16	[DEBUG]	Store custom available field
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131220,3,'',1)
2019-12-18	09:43:38	16	[DEBUG]	Checking category
2019-12-18	09:43:38	16	[DEBUG]	Delete old category references
2019-12-18	09:43:38	16	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131220
2019-12-18	09:43:38	16	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:38	16	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131220 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:38	16	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:38	16	[DEBUG]	Add new category references
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131220','392','')
2019-12-18	09:43:38	16	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:38	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131220','392','')
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field published
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:38	17	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field override
2019-12-18	09:43:38	17	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:38	17	[DEBUG]	Process line 17
2019-12-18	09:43:38	17	[DEBUG]	Load a row
2019-12-18	09:43:38	17	[DEBUG]	Processing item: A_6363_208
2019-12-18	09:43:38	17	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:38	17	[DEBUG]	Processing product tax
2019-12-18	09:43:38	17	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:38	17	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:38	17	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:38	17	[DEBUG]	Query for Product
2019-12-18	09:43:38	17	[DEBUG]	Executed store
2019-12-18	09:43:38	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6363_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	17	[DEBUG]	Check product language entry
2019-12-18	09:43:39	17	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131221
2019-12-18	09:43:39	17	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	17	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363' AND `virtuemart_product_id` != 131221
2019-12-18	09:43:39	17	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	17	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363' AND `virtuemart_product_id` != 131221
2019-12-18	09:43:39	17	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131221, 'shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363')
2019-12-18	09:43:39	17	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	17	[DEBUG]	Executed store
2019-12-18	09:43:39	17	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.55054',`product_name`='SHIMANO Shimano Adaptateur disque de frein 6-trous disque -> moyeu Center-Lock Box (6363)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363' WHERE `virtuemart_product_id` = '131221'
2019-12-18	09:43:39	17	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg has not been found.
2019-12-18	09:43:39	17	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	17	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131221 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	17	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	17	[DEBUG]	Executed store
2019-12-18	09:43:39	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131221','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	17	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	17	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	17	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131221
2019-12-18	09:43:39	17	[DEBUG]	Load a row
2019-12-18	09:43:39	17	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	17	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	17	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	17	[DEBUG]	Executed store
2019-12-18	09:43:39	17	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	17	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	17	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:39	17	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	17	[DEBUG]	Executed store
2019-12-18	09:43:39	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131221','123')
2019-12-18	09:43:39	17	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	17	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	17	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	17	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	17	[DEBUG]	Store custom available field
2019-12-18	09:43:39	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131221,3,'0',1)
2019-12-18	09:43:39	17	[DEBUG]	Checking category
2019-12-18	09:43:39	17	[DEBUG]	Delete old category references
2019-12-18	09:43:39	17	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131221
2019-12-18	09:43:39	17	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	17	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131221 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	17	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	17	[DEBUG]	Add new category references
2019-12-18	09:43:39	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131221','392','')
2019-12-18	09:43:39	17	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131221','392','')
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	18	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	18	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	18	[DEBUG]	Process line 18
2019-12-18	09:43:39	18	[DEBUG]	Load a row
2019-12-18	09:43:39	18	[DEBUG]	Processing item: 4524667354673
2019-12-18	09:43:39	18	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	18	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	18	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6363_208'
2019-12-18	09:43:39	18	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	18	[DEBUG]	Processing product tax
2019-12-18	09:43:39	18	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	18	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	18	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	18	[DEBUG]	Query for Product
2019-12-18	09:43:39	18	[DEBUG]	Executed store
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131221','4524667354673','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	18	[DEBUG]	No parent found
2019-12-18	09:43:39	18	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131221 AND customfield_value = 'stockable'
2019-12-18	09:43:39	18	[DEBUG]	Check product language entry
2019-12-18	09:43:39	18	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131222
2019-12-18	09:43:39	18	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	18	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363-aucune' AND `virtuemart_product_id` != 131222
2019-12-18	09:43:39	18	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	18	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363-aucune' AND `virtuemart_product_id` != 131222
2019-12-18	09:43:39	18	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131222, 'shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363-aucune')
2019-12-18	09:43:39	18	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	18	[DEBUG]	Executed store
2019-12-18	09:43:39	18	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano Adaptateur disque de frein 6-trous disque -> moyeu Center-Lock Box (6363) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-6363-aucune' WHERE `virtuemart_product_id` = '131222'
2019-12-18	09:43:39	18	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg has not been found.
2019-12-18	09:43:39	18	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	18	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131222 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	18	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	18	[DEBUG]	Executed store
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131222','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	18	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	18	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	18	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131222
2019-12-18	09:43:39	18	[DEBUG]	Load a row
2019-12-18	09:43:39	18	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	18	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	18	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	18	[DEBUG]	Executed store
2019-12-18	09:43:39	18	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	18	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	18	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:39	18	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	18	[DEBUG]	Executed store
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131222','123')
2019-12-18	09:43:39	18	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	18	[DEBUG]	Store custom available field
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131222,3,'',1)
2019-12-18	09:43:39	18	[DEBUG]	Checking category
2019-12-18	09:43:39	18	[DEBUG]	Delete old category references
2019-12-18	09:43:39	18	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131222
2019-12-18	09:43:39	18	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	18	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131222 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	18	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	18	[DEBUG]	Add new category references
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131222','392','')
2019-12-18	09:43:39	18	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131222','392','')
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	19	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field override
2019-12-18	09:43:39	19	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:39	19	[DEBUG]	Process line 19
2019-12-18	09:43:39	19	[DEBUG]	Load a row
2019-12-18	09:43:39	19	[DEBUG]	Processing item: A_6430_1
2019-12-18	09:43:39	19	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	19	[DEBUG]	Processing product tax
2019-12-18	09:43:39	19	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	19	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	19	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	19	[DEBUG]	Query for Product
2019-12-18	09:43:39	19	[DEBUG]	Executed store
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6430_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	19	[DEBUG]	Check product language entry
2019-12-18	09:43:39	19	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131223
2019-12-18	09:43:39	19	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	19	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430' AND `virtuemart_product_id` != 131223
2019-12-18	09:43:39	19	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	19	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430' AND `virtuemart_product_id` != 131223
2019-12-18	09:43:39	19	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131223, 'thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430')
2019-12-18	09:43:39	19	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	19	[DEBUG]	Executed store
2019-12-18	09:43:39	19	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 985000',`product_name`='Thule Sangle Thule XXL Fat-Bike  / Ebike Wheel Straps (6430)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430' WHERE `virtuemart_product_id` = '131223'
2019-12-18	09:43:39	19	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32315_sangle_thule_xxl_fat-bike__-_ebike_wheel_straps.jpg has not been found.
2019-12-18	09:43:39	19	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	19	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131223 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	19	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	19	[DEBUG]	Executed store
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131223','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	19	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	19	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	19	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131223
2019-12-18	09:43:39	19	[DEBUG]	Load a row
2019-12-18	09:43:39	19	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	19	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:39	19	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	19	[DEBUG]	Executed store
2019-12-18	09:43:39	19	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:39	19	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	19	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2019-12-18	09:43:39	19	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	19	[DEBUG]	Executed store
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131223','138')
2019-12-18	09:43:39	19	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	19	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	19	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	19	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	19	[DEBUG]	Store custom available field
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131223,3,'0',1)
2019-12-18	09:43:39	19	[DEBUG]	Checking category
2019-12-18	09:43:39	19	[DEBUG]	Delete old category references
2019-12-18	09:43:39	19	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131223
2019-12-18	09:43:39	19	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	19	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131223 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	19	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	19	[DEBUG]	Add new category references
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131223','392','')
2019-12-18	09:43:39	19	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131223','392','')
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	20	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	20	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	20	[DEBUG]	Process line 20
2019-12-18	09:43:39	20	[DEBUG]	Load a row
2019-12-18	09:43:39	20	[DEBUG]	Processing item: 7313020077567
2019-12-18	09:43:39	20	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	20	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	20	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6430_1'
2019-12-18	09:43:39	20	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	20	[DEBUG]	Processing product tax
2019-12-18	09:43:39	20	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	20	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	20	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	20	[DEBUG]	Query for Product
2019-12-18	09:43:39	20	[DEBUG]	Executed store
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131223','7313020077567','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	20	[DEBUG]	No parent found
2019-12-18	09:43:39	20	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131223 AND customfield_value = 'stockable'
2019-12-18	09:43:39	20	[DEBUG]	Check product language entry
2019-12-18	09:43:39	20	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131224
2019-12-18	09:43:39	20	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	20	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430-noir' AND `virtuemart_product_id` != 131224
2019-12-18	09:43:39	20	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	20	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430-noir' AND `virtuemart_product_id` != 131224
2019-12-18	09:43:39	20	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131224, 'thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430-noir')
2019-12-18	09:43:39	20	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	20	[DEBUG]	Executed store
2019-12-18	09:43:39	20	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sangle Thule XXL Fat-Bike  / Ebike Wheel Straps (6430) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sangle-thule-xxl-fat-bike-ebike-wheel-straps-6430-noir' WHERE `virtuemart_product_id` = '131224'
2019-12-18	09:43:39	20	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32315_sangle_thule_xxl_fat-bike__-_ebike_wheel_straps.jpg has not been found.
2019-12-18	09:43:39	20	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	20	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131224 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	20	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	20	[DEBUG]	Executed store
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131224','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	20	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	20	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	20	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131224
2019-12-18	09:43:39	20	[DEBUG]	Load a row
2019-12-18	09:43:39	20	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	20	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:39	20	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	20	[DEBUG]	Executed store
2019-12-18	09:43:39	20	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:39	20	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	20	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2019-12-18	09:43:39	20	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	20	[DEBUG]	Executed store
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131224','138')
2019-12-18	09:43:39	20	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	20	[DEBUG]	Store custom available field
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131224,3,'',1)
2019-12-18	09:43:39	20	[DEBUG]	Checking category
2019-12-18	09:43:39	20	[DEBUG]	Delete old category references
2019-12-18	09:43:39	20	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131224
2019-12-18	09:43:39	20	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	20	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131224 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	20	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	20	[DEBUG]	Add new category references
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131224','392','')
2019-12-18	09:43:39	20	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131224','392','')
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	21	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field override
2019-12-18	09:43:39	21	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:39	21	[DEBUG]	Process line 21
2019-12-18	09:43:39	21	[DEBUG]	Load a row
2019-12-18	09:43:39	21	[DEBUG]	Processing item: A_6474_1
2019-12-18	09:43:39	21	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	21	[DEBUG]	Processing product tax
2019-12-18	09:43:39	21	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	21	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	21	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	21	[DEBUG]	Query for Product
2019-12-18	09:43:39	21	[DEBUG]	Executed store
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6474_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	21	[DEBUG]	Check product language entry
2019-12-18	09:43:39	21	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131225
2019-12-18	09:43:39	21	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	21	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stahli-courroie-de-pedale-tressee-nylon-6474' AND `virtuemart_product_id` != 131225
2019-12-18	09:43:39	21	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	21	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stahli-courroie-de-pedale-tressee-nylon-6474' AND `virtuemart_product_id` != 131225
2019-12-18	09:43:39	21	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131225, 'stahli-courroie-de-pedale-tressee-nylon-6474')
2019-12-18	09:43:39	21	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	21	[DEBUG]	Executed store
2019-12-18	09:43:39	21	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17.555',`product_name`='Stähli Courroie de pédale tressée nylon  (6474)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='stahli-courroie-de-pedale-tressee-nylon-6474' WHERE `virtuemart_product_id` = '131225'
2019-12-18	09:43:39	21	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32355_courroie_de_pedale_tressee_nylon_.jpg has not been found.
2019-12-18	09:43:39	21	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	21	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131225 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	21	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	21	[DEBUG]	Executed store
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131225','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	21	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	21	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	21	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131225
2019-12-18	09:43:39	21	[DEBUG]	Load a row
2019-12-18	09:43:39	21	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	21	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '194'
2019-12-18	09:43:39	21	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	21	[DEBUG]	Executed store
2019-12-18	09:43:39	21	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091933903698' WHERE `virtuemart_manufacturer_id` = '194'
2019-12-18	09:43:39	21	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	21	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 194
2019-12-18	09:43:39	21	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	21	[DEBUG]	Executed store
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131225','194')
2019-12-18	09:43:39	21	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	21	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	21	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	21	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	21	[DEBUG]	Store custom available field
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131225,3,'0',1)
2019-12-18	09:43:39	21	[DEBUG]	Checking category
2019-12-18	09:43:39	21	[DEBUG]	Delete old category references
2019-12-18	09:43:39	21	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131225
2019-12-18	09:43:39	21	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	21	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131225 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	21	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	21	[DEBUG]	Add new category references
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131225','392','')
2019-12-18	09:43:39	21	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131225','392','')
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	22	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	22	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	22	[DEBUG]	Process line 22
2019-12-18	09:43:39	22	[DEBUG]	Load a row
2019-12-18	09:43:39	22	[DEBUG]	Processing item: 17.555
2019-12-18	09:43:39	22	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	22	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	22	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6474_1'
2019-12-18	09:43:39	22	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	22	[DEBUG]	Processing product tax
2019-12-18	09:43:39	22	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	22	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	22	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	22	[DEBUG]	Query for Product
2019-12-18	09:43:39	22	[DEBUG]	Executed store
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131225','17.555','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	22	[DEBUG]	No parent found
2019-12-18	09:43:39	22	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131225 AND customfield_value = 'stockable'
2019-12-18	09:43:39	22	[DEBUG]	Check product language entry
2019-12-18	09:43:39	22	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131226
2019-12-18	09:43:39	22	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	22	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stahli-courroie-de-pedale-tressee-nylon-6474-noir' AND `virtuemart_product_id` != 131226
2019-12-18	09:43:39	22	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	22	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stahli-courroie-de-pedale-tressee-nylon-6474-noir' AND `virtuemart_product_id` != 131226
2019-12-18	09:43:39	22	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131226, 'stahli-courroie-de-pedale-tressee-nylon-6474-noir')
2019-12-18	09:43:39	22	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	22	[DEBUG]	Executed store
2019-12-18	09:43:39	22	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Stähli Courroie de pédale tressée nylon  (6474) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='stahli-courroie-de-pedale-tressee-nylon-6474-noir' WHERE `virtuemart_product_id` = '131226'
2019-12-18	09:43:39	22	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32355_courroie_de_pedale_tressee_nylon_.jpg has not been found.
2019-12-18	09:43:39	22	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	22	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131226 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	22	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	22	[DEBUG]	Executed store
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131226','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	22	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	22	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	22	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131226
2019-12-18	09:43:39	22	[DEBUG]	Load a row
2019-12-18	09:43:39	22	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	22	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '194'
2019-12-18	09:43:39	22	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	22	[DEBUG]	Executed store
2019-12-18	09:43:39	22	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091933903698' WHERE `virtuemart_manufacturer_id` = '194'
2019-12-18	09:43:39	22	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	22	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 194
2019-12-18	09:43:39	22	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	22	[DEBUG]	Executed store
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131226','194')
2019-12-18	09:43:39	22	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	22	[DEBUG]	Store custom available field
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131226,3,'',1)
2019-12-18	09:43:39	22	[DEBUG]	Checking category
2019-12-18	09:43:39	22	[DEBUG]	Delete old category references
2019-12-18	09:43:39	22	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131226
2019-12-18	09:43:39	22	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	22	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131226 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	22	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	22	[DEBUG]	Add new category references
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131226','392','')
2019-12-18	09:43:39	22	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131226','392','')
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	23	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field override
2019-12-18	09:43:39	23	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:39	23	[DEBUG]	Process line 23
2019-12-18	09:43:39	23	[DEBUG]	Load a row
2019-12-18	09:43:39	23	[DEBUG]	Processing item: A_6483_208
2019-12-18	09:43:39	23	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	23	[DEBUG]	Processing product tax
2019-12-18	09:43:39	23	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	23	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	23	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	23	[DEBUG]	Query for Product
2019-12-18	09:43:39	23	[DEBUG]	Executed store
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6483_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	23	[DEBUG]	Check product language entry
2019-12-18	09:43:39	23	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131227
2019-12-18	09:43:39	23	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	23	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483' AND `virtuemart_product_id` != 131227
2019-12-18	09:43:39	23	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	23	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483' AND `virtuemart_product_id` != 131227
2019-12-18	09:43:39	23	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131227, 'shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483')
2019-12-18	09:43:39	23	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	23	[DEBUG]	Executed store
2019-12-18	09:43:39	23	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.39481',`product_name`='SHIMANO Shimano jeu de pédalierBB-UN26 carré BSA 73/113 mm pour dérailleur de plaquebox (6483)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483' WHERE `virtuemart_product_id` = '131227'
2019-12-18	09:43:39	23	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32365_shimano_jeu_de_pedalierbb-un26_carre_bsa_73-113_mm_pour_derailleur_de_plaquebox.jpg has not been found.
2019-12-18	09:43:39	23	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	23	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131227 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	23	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	23	[DEBUG]	Executed store
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131227','0','13.8347260909935','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	23	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	23	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	23	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131227
2019-12-18	09:43:39	23	[DEBUG]	Load a row
2019-12-18	09:43:39	23	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	23	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	23	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	23	[DEBUG]	Executed store
2019-12-18	09:43:39	23	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	23	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	23	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:39	23	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	23	[DEBUG]	Executed store
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131227','123')
2019-12-18	09:43:39	23	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	23	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	23	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	23	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	23	[DEBUG]	Store custom available field
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131227,3,'0',1)
2019-12-18	09:43:39	23	[DEBUG]	Checking category
2019-12-18	09:43:39	23	[DEBUG]	Delete old category references
2019-12-18	09:43:39	23	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131227
2019-12-18	09:43:39	23	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	23	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131227 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	23	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	23	[DEBUG]	Add new category references
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131227','392','')
2019-12-18	09:43:39	23	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131227','392','')
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	24	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	24	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	24	[DEBUG]	Process line 24
2019-12-18	09:43:39	24	[DEBUG]	Load a row
2019-12-18	09:43:39	24	[DEBUG]	Processing item: 4524667089513
2019-12-18	09:43:39	24	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	24	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	24	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6483_208'
2019-12-18	09:43:39	24	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	24	[DEBUG]	Processing product tax
2019-12-18	09:43:39	24	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	24	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	24	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	24	[DEBUG]	Query for Product
2019-12-18	09:43:39	24	[DEBUG]	Executed store
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131227','4524667089513','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	24	[DEBUG]	No parent found
2019-12-18	09:43:39	24	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131227 AND customfield_value = 'stockable'
2019-12-18	09:43:39	24	[DEBUG]	Check product language entry
2019-12-18	09:43:39	24	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131228
2019-12-18	09:43:39	24	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	24	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483-aucune' AND `virtuemart_product_id` != 131228
2019-12-18	09:43:39	24	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	24	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483-aucune' AND `virtuemart_product_id` != 131228
2019-12-18	09:43:39	24	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131228, 'shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483-aucune')
2019-12-18	09:43:39	24	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	24	[DEBUG]	Executed store
2019-12-18	09:43:39	24	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano jeu de pédalierBB-UN26 carré BSA 73/113 mm pour dérailleur de plaquebox (6483) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedalierbb-un26-carre-bsa-73-113-mm-pour-derailleur-de-plaquebox-6483-aucune' WHERE `virtuemart_product_id` = '131228'
2019-12-18	09:43:39	24	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32365_shimano_jeu_de_pedalierbb-un26_carre_bsa_73-113_mm_pour_derailleur_de_plaquebox.jpg has not been found.
2019-12-18	09:43:39	24	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	24	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131228 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	24	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	24	[DEBUG]	Executed store
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131228','0','13.8347260909935','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	24	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	24	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	24	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131228
2019-12-18	09:43:39	24	[DEBUG]	Load a row
2019-12-18	09:43:39	24	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	24	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	24	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	24	[DEBUG]	Executed store
2019-12-18	09:43:39	24	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:39	24	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	24	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:39	24	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	24	[DEBUG]	Executed store
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131228','123')
2019-12-18	09:43:39	24	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	24	[DEBUG]	Store custom available field
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131228,3,'',1)
2019-12-18	09:43:39	24	[DEBUG]	Checking category
2019-12-18	09:43:39	24	[DEBUG]	Delete old category references
2019-12-18	09:43:39	24	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131228
2019-12-18	09:43:39	24	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	24	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131228 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	24	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	24	[DEBUG]	Add new category references
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131228','392','')
2019-12-18	09:43:39	24	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131228','392','')
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	25	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field override
2019-12-18	09:43:39	25	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:39	25	[DEBUG]	Process line 25
2019-12-18	09:43:39	25	[DEBUG]	Load a row
2019-12-18	09:43:39	25	[DEBUG]	Processing item: A_6491_4
2019-12-18	09:43:39	25	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	25	[DEBUG]	Processing product tax
2019-12-18	09:43:39	25	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	25	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	25	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	25	[DEBUG]	Query for Product
2019-12-18	09:43:39	25	[DEBUG]	Executed store
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6491_4','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	25	[DEBUG]	Check product language entry
2019-12-18	09:43:39	25	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131229
2019-12-18	09:43:39	25	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	25	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-deluxe-eyelet-bushing1-2x1-2-6491' AND `virtuemart_product_id` != 131229
2019-12-18	09:43:39	25	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	25	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-deluxe-eyelet-bushing1-2x1-2-6491' AND `virtuemart_product_id` != 131229
2019-12-18	09:43:39	25	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131229, 'rock-shok-deluxe-eyelet-bushing1-2x1-2-6491')
2019-12-18	09:43:39	25	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	25	[DEBUG]	Executed store
2019-12-18	09:43:39	25	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D8227C',`product_name`='ROCK SHOK Deluxe Eyelet Bushing1/2x1/2 (6491)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-deluxe-eyelet-bushing1-2x1-2-6491' WHERE `virtuemart_product_id` = '131229'
2019-12-18	09:43:39	25	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32373_deluxe_eyelet_bushing1-2x1-2.jpg has not been found.
2019-12-18	09:43:39	25	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	25	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131229 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	25	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	25	[DEBUG]	Executed store
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131229','0','8.35654596100279','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	25	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	25	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	25	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131229
2019-12-18	09:43:39	25	[DEBUG]	Load a row
2019-12-18	09:43:39	25	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	25	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:39	25	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	25	[DEBUG]	Executed store
2019-12-18	09:43:39	25	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:39	25	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	25	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2019-12-18	09:43:39	25	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	25	[DEBUG]	Executed store
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131229','36')
2019-12-18	09:43:39	25	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	25	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	25	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	25	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	25	[DEBUG]	Store custom available field
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131229,3,'0',1)
2019-12-18	09:43:39	25	[DEBUG]	Checking category
2019-12-18	09:43:39	25	[DEBUG]	Delete old category references
2019-12-18	09:43:39	25	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131229
2019-12-18	09:43:39	25	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	25	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131229 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	25	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	25	[DEBUG]	Add new category references
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131229','392','')
2019-12-18	09:43:39	25	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131229','392','')
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	26	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	26	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	26	[DEBUG]	Process line 26
2019-12-18	09:43:39	26	[DEBUG]	Load a row
2019-12-18	09:43:39	26	[DEBUG]	Processing item: 710845602788
2019-12-18	09:43:39	26	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	26	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	26	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6491_4'
2019-12-18	09:43:39	26	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	26	[DEBUG]	Processing product tax
2019-12-18	09:43:39	26	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	26	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	26	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	26	[DEBUG]	Query for Product
2019-12-18	09:43:39	26	[DEBUG]	Executed store
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131229','710845602788','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	26	[DEBUG]	No parent found
2019-12-18	09:43:39	26	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131229 AND customfield_value = 'stockable'
2019-12-18	09:43:39	26	[DEBUG]	Check product language entry
2019-12-18	09:43:39	26	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131230
2019-12-18	09:43:39	26	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	26	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-deluxe-eyelet-bushing1-2x1-2-6491-acier' AND `virtuemart_product_id` != 131230
2019-12-18	09:43:39	26	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	26	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-deluxe-eyelet-bushing1-2x1-2-6491-acier' AND `virtuemart_product_id` != 131230
2019-12-18	09:43:39	26	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131230, 'rock-shok-deluxe-eyelet-bushing1-2x1-2-6491-acier')
2019-12-18	09:43:39	26	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	26	[DEBUG]	Executed store
2019-12-18	09:43:39	26	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCK SHOK Deluxe Eyelet Bushing1/2x1/2 (6491) (Acier)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-deluxe-eyelet-bushing1-2x1-2-6491-acier' WHERE `virtuemart_product_id` = '131230'
2019-12-18	09:43:39	26	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32373_deluxe_eyelet_bushing1-2x1-2.jpg has not been found.
2019-12-18	09:43:39	26	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	26	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131230 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	26	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	26	[DEBUG]	Executed store
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131230','0','8.35654596100279','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	26	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	26	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	26	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131230
2019-12-18	09:43:39	26	[DEBUG]	Load a row
2019-12-18	09:43:39	26	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	26	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:39	26	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	26	[DEBUG]	Executed store
2019-12-18	09:43:39	26	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:39	26	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	26	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2019-12-18	09:43:39	26	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	26	[DEBUG]	Executed store
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131230','36')
2019-12-18	09:43:39	26	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	26	[DEBUG]	Store custom available field
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131230,3,'',1)
2019-12-18	09:43:39	26	[DEBUG]	Checking category
2019-12-18	09:43:39	26	[DEBUG]	Delete old category references
2019-12-18	09:43:39	26	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131230
2019-12-18	09:43:39	26	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	26	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131230 AND `virtuemart_category_id`  = 392
2019-12-18	09:43:39	26	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	26	[DEBUG]	Add new category references
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131230','392','')
2019-12-18	09:43:39	26	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131230','392','')
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field file_url
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	27	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field override
2019-12-18	09:43:39	27	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:39	27	[DEBUG]	Process line 27
2019-12-18	09:43:39	27	[DEBUG]	Load a row
2019-12-18	09:43:39	27	[DEBUG]	Processing item: A_6259_12
2019-12-18	09:43:39	27	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	27	[DEBUG]	Processing product tax
2019-12-18	09:43:39	27	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	27	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	27	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	27	[DEBUG]	Query for Product
2019-12-18	09:43:39	27	[DEBUG]	Executed store
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6259_12','30','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	27	[DEBUG]	Check product language entry
2019-12-18	09:43:39	27	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131231
2019-12-18	09:43:39	27	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	27	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-support-pour-papier-6259' AND `virtuemart_product_id` != 131231
2019-12-18	09:43:39	27	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	27	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-support-pour-papier-6259' AND `virtuemart_product_id` != 131231
2019-12-18	09:43:39	27	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131231, 'mlv-bike-support-pour-papier-6259')
2019-12-18	09:43:39	27	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	27	[DEBUG]	Executed store
2019-12-18	09:43:39	27	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='- Taille: L100*W100*H160cm - Matériau: Panneau de fibres moyenne densité (MDF) - Façade: stratifié mélaminé en couleur blanche et rouge - Slat gap: 100mm, avec inserts en aluminium de 1 mm - Le panneau latéral avec le logo - Avec porte coulissante comme armoire de rangement (couleur blanche), base rouge avec roulettes et porte avec serrure - Paquet: emballage plat <br>N° art fourn : 611353',`product_name`='MLV-Bike Support pour papier (6259)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-support-pour-papier-6259' WHERE `virtuemart_product_id` = '131231'
2019-12-18	09:43:39	27	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	27	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131231 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	27	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	27	[DEBUG]	Executed store
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131231','0','53.8532961931291','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	27	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	27	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	27	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131231
2019-12-18	09:43:39	27	[DEBUG]	Load a row
2019-12-18	09:43:39	27	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	27	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:39	27	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	27	[DEBUG]	Executed store
2019-12-18	09:43:39	27	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:39	27	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	27	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:39	27	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	27	[DEBUG]	Executed store
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131231','2')
2019-12-18	09:43:39	27	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	27	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	27	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	27	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	27	[DEBUG]	Store custom available field
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131231,3,'667.141666666667',1)
2019-12-18	09:43:39	27	[DEBUG]	Checking category
2019-12-18	09:43:39	27	[DEBUG]	Check if category path exists: AGENCEMENT MAGASIN
2019-12-18	09:43:39	27	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AGENCEMENT MAGASIN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:39	27	[DEBUG]	Check if category path exists: AGENCEMENT MAGASIN
2019-12-18	09:43:39	27	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AGENCEMENT MAGASIN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 393
2019-12-18	09:43:39	27	[DEBUG]	Delete old category references
2019-12-18	09:43:39	27	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131231
2019-12-18	09:43:39	27	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	27	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131231 AND `virtuemart_category_id`  = 394
2019-12-18	09:43:39	27	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	27	[DEBUG]	Add new category references
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131231','394','')
2019-12-18	09:43:39	27	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131231','394','')
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field file_url
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	28	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	28	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	28	[DEBUG]	Process line 28
2019-12-18	09:43:39	28	[DEBUG]	Load a row
2019-12-18	09:43:39	28	[DEBUG]	Processing item: 1000000103328
2019-12-18	09:43:39	28	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	28	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	28	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6259_12'
2019-12-18	09:43:39	28	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	28	[DEBUG]	Processing product tax
2019-12-18	09:43:39	28	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	28	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	28	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	28	[DEBUG]	Query for Product
2019-12-18	09:43:39	28	[DEBUG]	Executed store
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131231','1000000103328','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	28	[DEBUG]	No parent found
2019-12-18	09:43:39	28	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131231 AND customfield_value = 'stockable'
2019-12-18	09:43:39	28	[DEBUG]	Check product language entry
2019-12-18	09:43:39	28	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131232
2019-12-18	09:43:39	28	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	28	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-support-pour-papier-6259-blanc' AND `virtuemart_product_id` != 131232
2019-12-18	09:43:39	28	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	28	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-support-pour-papier-6259-blanc' AND `virtuemart_product_id` != 131232
2019-12-18	09:43:39	28	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131232, 'mlv-bike-support-pour-papier-6259-blanc')
2019-12-18	09:43:39	28	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	28	[DEBUG]	Executed store
2019-12-18	09:43:39	28	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Support pour papier (6259) (Blanc)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-support-pour-papier-6259-blanc' WHERE `virtuemart_product_id` = '131232'
2019-12-18	09:43:39	28	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	28	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131232 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	28	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	28	[DEBUG]	Executed store
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131232','0','53.8532961931291','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	28	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	28	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	28	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131232
2019-12-18	09:43:39	28	[DEBUG]	Load a row
2019-12-18	09:43:39	28	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	28	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:39	28	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	28	[DEBUG]	Executed store
2019-12-18	09:43:39	28	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:39	28	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	28	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:39	28	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	28	[DEBUG]	Executed store
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131232','2')
2019-12-18	09:43:39	28	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	28	[DEBUG]	Store custom available field
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131232,3,'',1)
2019-12-18	09:43:39	28	[DEBUG]	Checking category
2019-12-18	09:43:39	28	[DEBUG]	Delete old category references
2019-12-18	09:43:39	28	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131232
2019-12-18	09:43:39	28	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	28	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131232 AND `virtuemart_category_id`  = 394
2019-12-18	09:43:39	28	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	28	[DEBUG]	Add new category references
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131232','394','')
2019-12-18	09:43:39	28	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131232','394','')
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	29	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field override
2019-12-18	09:43:39	29	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:39	29	[DEBUG]	Process line 29
2019-12-18	09:43:39	29	[DEBUG]	Load a row
2019-12-18	09:43:39	29	[DEBUG]	Processing item: A_4218_1
2019-12-18	09:43:39	29	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	29	[DEBUG]	Processing product tax
2019-12-18	09:43:39	29	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	29	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	29	[DEBUG]	Query for Product
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_4218_1','0.001','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	29	[DEBUG]	Check product language entry
2019-12-18	09:43:39	29	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131233
2019-12-18	09:43:39	29	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218' AND `virtuemart_product_id` != 131233
2019-12-18	09:43:39	29	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218' AND `virtuemart_product_id` != 131233
2019-12-18	09:43:39	29	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131233, 'mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218')
2019-12-18	09:43:39	29	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Marque: Enduro Bearings Description: Vendu à l\'unité, 2 kits sont nécessaires pour équiper un amortisseur Le roulement à aiguilles réduit les frictions pour un meilleur fonctionnement de l\'amortisseur Ce kit remplace les ensembles classiques bagues+buselures ?Kit d\'entretoises + joints + roulement à aiguilles haute qualité pour amortisseur ?? ?? Shock_needle_bearing_4 Compatibilité amortisseur: FOX (TOUS) ROCKSHOX SERIES MONARCH et VIVID ROCKSHOX ARIO 2010 ET + MARZOCCHI ROCO MANITOU SHOCKS 2011 ET + ELKA SHOCKS (TOUS) X-FUSION SHOCKS 2011 ET + CANE CREEK DBINLINE\" <br>    <br>N° art fourn : M6X4890\"',`product_name`='MLV-Bike (SH) Kit Shock Needle Bearing pour amortisseur M6 X 48.90 (4218)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218' WHERE `virtuemart_product_id` = '131233'
2019-12-18	09:43:39	29	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg
2019-12-18	09:43:39	29	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:39	29	[DEBUG]	Process image file
2019-12-18	09:43:39	29	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:39	29	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:39	29	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg
2019-12-18	09:43:39	29	[DEBUG]	Full name target: images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg
2019-12-18	09:43:39	29	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg'
2019-12-18	09:43:39	29	[DEBUG]	Query for Media
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg',`file_url_thumb`='images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '10932'
2019-12-18	09:43:39	29	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131233','10932','1')
2019-12-18	09:43:39	29	[DEBUG]	Store product image relation
2019-12-18	09:43:39	29	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	29	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131233 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	29	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131233','0','32.3119777158774','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	29	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	29	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	29	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131233
2019-12-18	09:43:39	29	[DEBUG]	Load a row
2019-12-18	09:43:39	29	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:39	29	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:39	29	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2019-12-18	09:43:39	29	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	29	[DEBUG]	Executed store
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131233','22')
2019-12-18	09:43:39	29	[DEBUG]	Find the custom field ID
2019-12-18	09:43:39	29	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:39	29	[DEBUG]	No custom field ID found
2019-12-18	09:43:39	29	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	29	[DEBUG]	Store custom available field
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131233,3,'34.8030555555556',1)
2019-12-18	09:43:39	29	[DEBUG]	Checking category
2019-12-18	09:43:39	29	[DEBUG]	Check if category path exists: AMORTISSEURS - DÄMPFER
2019-12-18	09:43:39	29	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AMORTISSEURS - DÄMPFER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:39	29	[DEBUG]	Check if category path exists: ENTRETOISES D'AMORTISSEURS
2019-12-18	09:43:39	29	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ENTRETOISES D\'AMORTISSEURS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 352
2019-12-18	09:43:39	29	[DEBUG]	Delete old category references
2019-12-18	09:43:39	29	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131233
2019-12-18	09:43:39	29	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:39	29	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131233 AND `virtuemart_category_id`  = 395
2019-12-18	09:43:39	29	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:39	29	[DEBUG]	Add new category references
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131233','395','')
2019-12-18	09:43:39	29	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:39	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131233','395','')
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field published
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:39	30	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field override
2019-12-18	09:43:39	30	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:39	30	[DEBUG]	Process line 30
2019-12-18	09:43:39	30	[DEBUG]	Load a row
2019-12-18	09:43:39	30	[DEBUG]	Processing item: 1000000064858
2019-12-18	09:43:39	30	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:39	30	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:39	30	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4218_1'
2019-12-18	09:43:39	30	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:39	30	[DEBUG]	Processing product tax
2019-12-18	09:43:39	30	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:39	30	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:39	30	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:39	30	[DEBUG]	Query for Product
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131233','1000000064858','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	30	[DEBUG]	No parent found
2019-12-18	09:43:39	30	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131233 AND customfield_value = 'stockable'
2019-12-18	09:43:39	30	[DEBUG]	Check product language entry
2019-12-18	09:43:39	30	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131234
2019-12-18	09:43:39	30	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	30	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218-noir' AND `virtuemart_product_id` != 131234
2019-12-18	09:43:39	30	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:39	30	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218-noir' AND `virtuemart_product_id` != 131234
2019-12-18	09:43:39	30	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:39	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131234, 'mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218-noir')
2019-12-18	09:43:39	30	[DEBUG]	Query for ProductLang
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Kit Shock Needle Bearing pour amortisseur M6 X 48.90 (4218) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-kit-shock-needle-bearing-pour-amortisseur-m6-x-48-90-4218-noir' WHERE `virtuemart_product_id` = '131234'
2019-12-18	09:43:39	30	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg
2019-12-18	09:43:39	30	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:39	30	[DEBUG]	Process image file
2019-12-18	09:43:39	30	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:39	30	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:39	30	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg
2019-12-18	09:43:39	30	[DEBUG]	Full name target: images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg
2019-12-18	09:43:39	30	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:39	30	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg'
2019-12-18	09:43:39	30	[DEBUG]	Query for Media
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg',`file_url_thumb`='images/stories/virtuemart/product/26089_kit_shock_needle_bearing_pour_amortisseur_m6_x_48_90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '10932'
2019-12-18	09:43:39	30	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131234','10932','1')
2019-12-18	09:43:39	30	[DEBUG]	Store product image relation
2019-12-18	09:43:39	30	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:39	30	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131234 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:39	30	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131234','0','32.3119777158774','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:39	30	[DEBUG]	Checking manufacturer
2019-12-18	09:43:39	30	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:39	30	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131234
2019-12-18	09:43:39	30	[DEBUG]	Load a row
2019-12-18	09:43:39	30	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:39	30	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:39	30	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:39	30	[DEBUG]	Manufacturer exists
2019-12-18	09:43:39	30	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2019-12-18	09:43:39	30	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:39	30	[DEBUG]	Executed store
2019-12-18	09:43:39	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131234','22')
2019-12-18	09:43:39	30	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:39	30	[DEBUG]	Store custom available field
2019-12-18	09:43:39	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131234,3,'',1)
2019-12-18	09:43:40	30	[DEBUG]	Checking category
2019-12-18	09:43:40	30	[DEBUG]	Delete old category references
2019-12-18	09:43:40	30	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131234
2019-12-18	09:43:40	30	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	30	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131234 AND `virtuemart_category_id`  = 395
2019-12-18	09:43:40	30	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	30	[DEBUG]	Add new category references
2019-12-18	09:43:40	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131234','395','')
2019-12-18	09:43:40	30	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131234','395','')
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	31	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field override
2019-12-18	09:43:40	31	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:40	31	[DEBUG]	Process line 31
2019-12-18	09:43:40	31	[DEBUG]	Load a row
2019-12-18	09:43:40	31	[DEBUG]	Processing item: A_6492_4
2019-12-18	09:43:40	31	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	31	[DEBUG]	Processing product tax
2019-12-18	09:43:40	31	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	31	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	31	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	31	[DEBUG]	Query for Product
2019-12-18	09:43:40	31	[DEBUG]	Executed store
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6492_4','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	31	[DEBUG]	Check product language entry
2019-12-18	09:43:40	31	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131235
2019-12-18	09:43:40	31	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	31	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492' AND `virtuemart_product_id` != 131235
2019-12-18	09:43:40	31	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	31	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492' AND `virtuemart_product_id` != 131235
2019-12-18	09:43:40	31	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131235, 'rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492')
2019-12-18	09:43:40	31	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	31	[DEBUG]	Executed store
2019-12-18	09:43:40	31	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D8391R',`product_name`='ROCK SHOK Hardw 23.8x8mm 3-PC Monarch Vivid (6492)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492' WHERE `virtuemart_product_id` = '131235'
2019-12-18	09:43:40	31	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32374_hardw_23_8x8mm_3-pc_monarch_vivid.jpg has not been found.
2019-12-18	09:43:40	31	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	31	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131235 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	31	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	31	[DEBUG]	Executed store
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131235','0','14.3918291550604','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	31	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	31	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	31	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131235
2019-12-18	09:43:40	31	[DEBUG]	Load a row
2019-12-18	09:43:40	31	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	31	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:40	31	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	31	[DEBUG]	Executed store
2019-12-18	09:43:40	31	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:40	31	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	31	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2019-12-18	09:43:40	31	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	31	[DEBUG]	Executed store
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131235','36')
2019-12-18	09:43:40	31	[DEBUG]	Find the custom field ID
2019-12-18	09:43:40	31	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:40	31	[DEBUG]	No custom field ID found
2019-12-18	09:43:40	31	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	31	[DEBUG]	Store custom available field
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131235,3,'0',1)
2019-12-18	09:43:40	31	[DEBUG]	Checking category
2019-12-18	09:43:40	31	[DEBUG]	Delete old category references
2019-12-18	09:43:40	31	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131235
2019-12-18	09:43:40	31	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	31	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131235 AND `virtuemart_category_id`  = 395
2019-12-18	09:43:40	31	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	31	[DEBUG]	Add new category references
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131235','395','')
2019-12-18	09:43:40	31	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131235','395','')
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:40	32	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field override
2019-12-18	09:43:40	32	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:40	32	[DEBUG]	Process line 32
2019-12-18	09:43:40	32	[DEBUG]	Load a row
2019-12-18	09:43:40	32	[DEBUG]	Processing item: 710845637322
2019-12-18	09:43:40	32	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:40	32	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:40	32	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6492_4'
2019-12-18	09:43:40	32	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	32	[DEBUG]	Processing product tax
2019-12-18	09:43:40	32	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	32	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	32	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	32	[DEBUG]	Query for Product
2019-12-18	09:43:40	32	[DEBUG]	Executed store
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131235','710845637322','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	32	[DEBUG]	No parent found
2019-12-18	09:43:40	32	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131235 AND customfield_value = 'stockable'
2019-12-18	09:43:40	32	[DEBUG]	Check product language entry
2019-12-18	09:43:40	32	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131236
2019-12-18	09:43:40	32	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	32	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492-acier' AND `virtuemart_product_id` != 131236
2019-12-18	09:43:40	32	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	32	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492-acier' AND `virtuemart_product_id` != 131236
2019-12-18	09:43:40	32	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131236, 'rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492-acier')
2019-12-18	09:43:40	32	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	32	[DEBUG]	Executed store
2019-12-18	09:43:40	32	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCK SHOK Hardw 23.8x8mm 3-PC Monarch Vivid (6492) (Acier)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-hardw-23-8x8mm-3-pc-monarch-vivid-6492-acier' WHERE `virtuemart_product_id` = '131236'
2019-12-18	09:43:40	32	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32374_hardw_23_8x8mm_3-pc_monarch_vivid.jpg has not been found.
2019-12-18	09:43:40	32	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	32	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131236 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	32	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	32	[DEBUG]	Executed store
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131236','0','14.3918291550604','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	32	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	32	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	32	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131236
2019-12-18	09:43:40	32	[DEBUG]	Load a row
2019-12-18	09:43:40	32	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	32	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:40	32	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	32	[DEBUG]	Executed store
2019-12-18	09:43:40	32	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2019-12-18	09:43:40	32	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	32	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2019-12-18	09:43:40	32	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	32	[DEBUG]	Executed store
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131236','36')
2019-12-18	09:43:40	32	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	32	[DEBUG]	Store custom available field
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131236,3,'',1)
2019-12-18	09:43:40	32	[DEBUG]	Checking category
2019-12-18	09:43:40	32	[DEBUG]	Delete old category references
2019-12-18	09:43:40	32	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131236
2019-12-18	09:43:40	32	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	32	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131236 AND `virtuemart_category_id`  = 395
2019-12-18	09:43:40	32	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	32	[DEBUG]	Add new category references
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131236','395','')
2019-12-18	09:43:40	32	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131236','395','')
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	33	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field override
2019-12-18	09:43:40	33	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:40	33	[DEBUG]	Process line 33
2019-12-18	09:43:40	33	[DEBUG]	Load a row
2019-12-18	09:43:40	33	[DEBUG]	Processing item: A_32_10
2019-12-18	09:43:40	33	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	33	[DEBUG]	Processing product tax
2019-12-18	09:43:40	33	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	33	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	33	[DEBUG]	Query for Product
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_32_10','0.21','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	33	[DEBUG]	Check product language entry
2019-12-18	09:43:40	33	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131237
2019-12-18	09:43:40	33	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-embouts-de-guidons-ponza-pork-foot-32' AND `virtuemart_product_id` != 131237
2019-12-18	09:43:40	33	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-embouts-de-guidons-ponza-pork-foot-32' AND `virtuemart_product_id` != 131237
2019-12-18	09:43:40	33	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131237, 'mlv-bike-embouts-de-guidons-ponza-pork-foot-32')
2019-12-18	09:43:40	33	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 9003',`product_name`='MLV-Bike EMBOUTS DE GUIDONS PONZA Pork Foot (32)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-embouts-de-guidons-ponza-pork-foot-32' WHERE `virtuemart_product_id` = '131237'
2019-12-18	09:43:40	33	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_32.jpg
2019-12-18	09:43:40	33	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	33	[DEBUG]	Process image file
2019-12-18	09:43:40	33	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	33	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	33	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_32.jpg
2019-12-18	09:43:40	33	[DEBUG]	Full name target: images/stories/virtuemart/product/image_32.jpg
2019-12-18	09:43:40	33	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_32.jpg'
2019-12-18	09:43:40	33	[DEBUG]	Query for Media
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_32.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4973'
2019-12-18	09:43:40	33	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131237','4973','1')
2019-12-18	09:43:40	33	[DEBUG]	Store product image relation
2019-12-18	09:43:40	33	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	33	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131237 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	33	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131237','0','11.9777158774373','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	33	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	33	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	33	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131237
2019-12-18	09:43:40	33	[DEBUG]	Load a row
2019-12-18	09:43:40	33	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:40	33	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:40	33	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:40	33	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	33	[DEBUG]	Executed store
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131237','2')
2019-12-18	09:43:40	33	[DEBUG]	Find the custom field ID
2019-12-18	09:43:40	33	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:40	33	[DEBUG]	No custom field ID found
2019-12-18	09:43:40	33	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	33	[DEBUG]	Store custom available field
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131237,3,'12.8641666666667',1)
2019-12-18	09:43:40	33	[DEBUG]	Checking category
2019-12-18	09:43:40	33	[DEBUG]	Check if category path exists: BAR-END
2019-12-18	09:43:40	33	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BAR-END' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:40	33	[DEBUG]	Check if category path exists: BAR-END
2019-12-18	09:43:40	33	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BAR-END' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 4
2019-12-18	09:43:40	33	[DEBUG]	Delete old category references
2019-12-18	09:43:40	33	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131237
2019-12-18	09:43:40	33	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	33	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131237 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	33	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	33	[DEBUG]	Add new category references
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131237','5','')
2019-12-18	09:43:40	33	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131237','5','')
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:40	34	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field override
2019-12-18	09:43:40	34	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:40	34	[DEBUG]	Process line 34
2019-12-18	09:43:40	34	[DEBUG]	Load a row
2019-12-18	09:43:40	34	[DEBUG]	Processing item: 8436041139393
2019-12-18	09:43:40	34	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:40	34	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:40	34	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_32_10'
2019-12-18	09:43:40	34	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	34	[DEBUG]	Processing product tax
2019-12-18	09:43:40	34	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	34	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	34	[DEBUG]	Query for Product
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131237','8436041139393','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	34	[DEBUG]	No parent found
2019-12-18	09:43:40	34	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131237 AND customfield_value = 'stockable'
2019-12-18	09:43:40	34	[DEBUG]	Check product language entry
2019-12-18	09:43:40	34	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131238
2019-12-18	09:43:40	34	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-embouts-de-guidons-ponza-pork-foot-32-noir-argent' AND `virtuemart_product_id` != 131238
2019-12-18	09:43:40	34	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-embouts-de-guidons-ponza-pork-foot-32-noir-argent' AND `virtuemart_product_id` != 131238
2019-12-18	09:43:40	34	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131238, 'mlv-bike-embouts-de-guidons-ponza-pork-foot-32-noir-argent')
2019-12-18	09:43:40	34	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike EMBOUTS DE GUIDONS PONZA Pork Foot (32) (Noir-argent)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-embouts-de-guidons-ponza-pork-foot-32-noir-argent' WHERE `virtuemart_product_id` = '131238'
2019-12-18	09:43:40	34	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_32.jpg
2019-12-18	09:43:40	34	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	34	[DEBUG]	Process image file
2019-12-18	09:43:40	34	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	34	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	34	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_32.jpg
2019-12-18	09:43:40	34	[DEBUG]	Full name target: images/stories/virtuemart/product/image_32.jpg
2019-12-18	09:43:40	34	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_32.jpg'
2019-12-18	09:43:40	34	[DEBUG]	Query for Media
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_32.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4973'
2019-12-18	09:43:40	34	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131238','4973','1')
2019-12-18	09:43:40	34	[DEBUG]	Store product image relation
2019-12-18	09:43:40	34	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	34	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131238 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	34	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131238','0','11.9777158774373','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	34	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	34	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	34	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131238
2019-12-18	09:43:40	34	[DEBUG]	Load a row
2019-12-18	09:43:40	34	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:40	34	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:40	34	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:40	34	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	34	[DEBUG]	Executed store
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131238','2')
2019-12-18	09:43:40	34	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	34	[DEBUG]	Store custom available field
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131238,3,'',1)
2019-12-18	09:43:40	34	[DEBUG]	Checking category
2019-12-18	09:43:40	34	[DEBUG]	Delete old category references
2019-12-18	09:43:40	34	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131238
2019-12-18	09:43:40	34	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	34	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131238 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	34	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	34	[DEBUG]	Add new category references
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131238','5','')
2019-12-18	09:43:40	34	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131238','5','')
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	35	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field override
2019-12-18	09:43:40	35	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:40	35	[DEBUG]	Process line 35
2019-12-18	09:43:40	35	[DEBUG]	Load a row
2019-12-18	09:43:40	35	[DEBUG]	Processing item: A_283_1
2019-12-18	09:43:40	35	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	35	[DEBUG]	Processing product tax
2019-12-18	09:43:40	35	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	35	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	35	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	35	[DEBUG]	Query for Product
2019-12-18	09:43:40	35	[DEBUG]	Executed store
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_283_1','0.053','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	35	[DEBUG]	Check product language entry
2019-12-18	09:43:40	35	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131239
2019-12-18	09:43:40	35	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	35	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131239
2019-12-18	09:43:40	35	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	35	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131239
2019-12-18	09:43:40	35	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131239, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283')
2019-12-18	09:43:40	35	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	35	[DEBUG]	Executed store
2019-12-18	09:43:40	35	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' WHERE `virtuemart_product_id` = '131239'
2019-12-18	09:43:40	35	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_305.jpg has not been found.
2019-12-18	09:43:40	35	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	35	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131239 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	35	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	35	[DEBUG]	Executed store
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131239','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	35	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	35	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	35	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131239
2019-12-18	09:43:40	35	[DEBUG]	Load a row
2019-12-18	09:43:40	35	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	35	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	35	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	35	[DEBUG]	Executed store
2019-12-18	09:43:40	35	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	35	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	35	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	35	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	35	[DEBUG]	Executed store
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131239','32')
2019-12-18	09:43:40	35	[DEBUG]	Find the custom field ID
2019-12-18	09:43:40	35	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:40	35	[DEBUG]	No custom field ID found
2019-12-18	09:43:40	35	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	35	[DEBUG]	Store custom available field
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131239,3,'59.7336111111111',1)
2019-12-18	09:43:40	35	[DEBUG]	Checking category
2019-12-18	09:43:40	35	[DEBUG]	Delete old category references
2019-12-18	09:43:40	35	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131239
2019-12-18	09:43:40	35	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	35	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131239 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	35	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	35	[DEBUG]	Add new category references
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131239','5','')
2019-12-18	09:43:40	35	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131239','5','')
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:40	36	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field override
2019-12-18	09:43:40	36	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:40	36	[DEBUG]	Process line 36
2019-12-18	09:43:40	36	[DEBUG]	Load a row
2019-12-18	09:43:40	36	[DEBUG]	Processing item: 1000000106879
2019-12-18	09:43:40	36	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:40	36	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:40	36	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_1'
2019-12-18	09:43:40	36	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	36	[DEBUG]	Processing product tax
2019-12-18	09:43:40	36	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	36	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	36	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	36	[DEBUG]	Query for Product
2019-12-18	09:43:40	36	[DEBUG]	Executed store
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131239','1000000106879','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	36	[DEBUG]	No parent found
2019-12-18	09:43:40	36	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131239 AND customfield_value = 'stockable'
2019-12-18	09:43:40	36	[DEBUG]	Check product language entry
2019-12-18	09:43:40	36	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131240
2019-12-18	09:43:40	36	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	36	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-noir' AND `virtuemart_product_id` != 131240
2019-12-18	09:43:40	36	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	36	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-noir' AND `virtuemart_product_id` != 131240
2019-12-18	09:43:40	36	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131240, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-noir')
2019-12-18	09:43:40	36	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	36	[DEBUG]	Executed store
2019-12-18	09:43:40	36	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-noir' WHERE `virtuemart_product_id` = '131240'
2019-12-18	09:43:40	36	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_305.jpg has not been found.
2019-12-18	09:43:40	36	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	36	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131240 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	36	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	36	[DEBUG]	Executed store
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131240','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	36	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	36	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	36	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131240
2019-12-18	09:43:40	36	[DEBUG]	Load a row
2019-12-18	09:43:40	36	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	36	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	36	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	36	[DEBUG]	Executed store
2019-12-18	09:43:40	36	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	36	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	36	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	36	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	36	[DEBUG]	Executed store
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131240','32')
2019-12-18	09:43:40	36	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	36	[DEBUG]	Store custom available field
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131240,3,'',1)
2019-12-18	09:43:40	36	[DEBUG]	Checking category
2019-12-18	09:43:40	36	[DEBUG]	Delete old category references
2019-12-18	09:43:40	36	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131240
2019-12-18	09:43:40	36	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	36	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131240 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	36	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	36	[DEBUG]	Add new category references
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131240','5','')
2019-12-18	09:43:40	36	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131240','5','')
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	37	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field override
2019-12-18	09:43:40	37	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:40	37	[DEBUG]	Process line 37
2019-12-18	09:43:40	37	[DEBUG]	Load a row
2019-12-18	09:43:40	37	[DEBUG]	Processing item: A_283_5
2019-12-18	09:43:40	37	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	37	[DEBUG]	Processing product tax
2019-12-18	09:43:40	37	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	37	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	37	[DEBUG]	Query for Product
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_283_5','0.053','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	37	[DEBUG]	Check product language entry
2019-12-18	09:43:40	37	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131241
2019-12-18	09:43:40	37	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131241
2019-12-18	09:43:40	37	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:40	37	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131241 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:40	37	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-1' AND `virtuemart_product_id` != 131241
2019-12-18	09:43:40	37	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131241, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-1')
2019-12-18	09:43:40	37	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-1' WHERE `virtuemart_product_id` = '131241'
2019-12-18	09:43:40	37	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_306.jpg
2019-12-18	09:43:40	37	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	37	[DEBUG]	Process image file
2019-12-18	09:43:40	37	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	37	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	37	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_306.jpg
2019-12-18	09:43:40	37	[DEBUG]	Full name target: images/stories/virtuemart/product/image_306.jpg
2019-12-18	09:43:40	37	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_306.jpg'
2019-12-18	09:43:40	37	[DEBUG]	Query for Media
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_306.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_306.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4974'
2019-12-18	09:43:40	37	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131241','4974','1')
2019-12-18	09:43:40	37	[DEBUG]	Store product image relation
2019-12-18	09:43:40	37	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	37	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131241 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	37	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131241','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	37	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	37	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	37	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131241
2019-12-18	09:43:40	37	[DEBUG]	Load a row
2019-12-18	09:43:40	37	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	37	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	37	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	37	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	37	[DEBUG]	Executed store
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131241','32')
2019-12-18	09:43:40	37	[DEBUG]	Find the custom field ID
2019-12-18	09:43:40	37	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:40	37	[DEBUG]	No custom field ID found
2019-12-18	09:43:40	37	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	37	[DEBUG]	Store custom available field
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131241,3,'59.7336111111111',1)
2019-12-18	09:43:40	37	[DEBUG]	Checking category
2019-12-18	09:43:40	37	[DEBUG]	Delete old category references
2019-12-18	09:43:40	37	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131241
2019-12-18	09:43:40	37	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	37	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131241 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	37	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	37	[DEBUG]	Add new category references
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131241','5','')
2019-12-18	09:43:40	37	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131241','5','')
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:40	38	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field override
2019-12-18	09:43:40	38	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:40	38	[DEBUG]	Process line 38
2019-12-18	09:43:40	38	[DEBUG]	Load a row
2019-12-18	09:43:40	38	[DEBUG]	Processing item: 8436047357760
2019-12-18	09:43:40	38	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:40	38	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:40	38	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_5'
2019-12-18	09:43:40	38	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	38	[DEBUG]	Processing product tax
2019-12-18	09:43:40	38	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	38	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	38	[DEBUG]	Query for Product
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131241','8436047357760','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	38	[DEBUG]	No parent found
2019-12-18	09:43:40	38	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131241 AND customfield_value = 'stockable'
2019-12-18	09:43:40	38	[DEBUG]	Check product language entry
2019-12-18	09:43:40	38	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131242
2019-12-18	09:43:40	38	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-or' AND `virtuemart_product_id` != 131242
2019-12-18	09:43:40	38	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-or' AND `virtuemart_product_id` != 131242
2019-12-18	09:43:40	38	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131242, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-or')
2019-12-18	09:43:40	38	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283) (Or)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-or' WHERE `virtuemart_product_id` = '131242'
2019-12-18	09:43:40	38	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_306.jpg
2019-12-18	09:43:40	38	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	38	[DEBUG]	Process image file
2019-12-18	09:43:40	38	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	38	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	38	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_306.jpg
2019-12-18	09:43:40	38	[DEBUG]	Full name target: images/stories/virtuemart/product/image_306.jpg
2019-12-18	09:43:40	38	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_306.jpg'
2019-12-18	09:43:40	38	[DEBUG]	Query for Media
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_306.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_306.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4974'
2019-12-18	09:43:40	38	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131242','4974','1')
2019-12-18	09:43:40	38	[DEBUG]	Store product image relation
2019-12-18	09:43:40	38	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	38	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131242 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	38	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131242','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	38	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	38	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	38	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131242
2019-12-18	09:43:40	38	[DEBUG]	Load a row
2019-12-18	09:43:40	38	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	38	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	38	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	38	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	38	[DEBUG]	Executed store
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131242','32')
2019-12-18	09:43:40	38	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	38	[DEBUG]	Store custom available field
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131242,3,'',1)
2019-12-18	09:43:40	38	[DEBUG]	Checking category
2019-12-18	09:43:40	38	[DEBUG]	Delete old category references
2019-12-18	09:43:40	38	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131242
2019-12-18	09:43:40	38	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	38	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131242 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	38	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	38	[DEBUG]	Add new category references
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131242','5','')
2019-12-18	09:43:40	38	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131242','5','')
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	39	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field override
2019-12-18	09:43:40	39	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:40	39	[DEBUG]	Process line 39
2019-12-18	09:43:40	39	[DEBUG]	Load a row
2019-12-18	09:43:40	39	[DEBUG]	Processing item: A_283_7
2019-12-18	09:43:40	39	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	39	[DEBUG]	Processing product tax
2019-12-18	09:43:40	39	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	39	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	39	[DEBUG]	Query for Product
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_283_7','0.053','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	39	[DEBUG]	Check product language entry
2019-12-18	09:43:40	39	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131243
2019-12-18	09:43:40	39	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131243
2019-12-18	09:43:40	39	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:40	39	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131243 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:40	39	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-2' AND `virtuemart_product_id` != 131243
2019-12-18	09:43:40	39	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131243, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-2')
2019-12-18	09:43:40	39	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-2' WHERE `virtuemart_product_id` = '131243'
2019-12-18	09:43:40	39	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5617.jpg
2019-12-18	09:43:40	39	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	39	[DEBUG]	Process image file
2019-12-18	09:43:40	39	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	39	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	39	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5617.jpg
2019-12-18	09:43:40	39	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5617.jpg
2019-12-18	09:43:40	39	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5617.jpg'
2019-12-18	09:43:40	39	[DEBUG]	Query for Media
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5617.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5617.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4975'
2019-12-18	09:43:40	39	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131243','4975','1')
2019-12-18	09:43:40	39	[DEBUG]	Store product image relation
2019-12-18	09:43:40	39	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	39	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131243 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	39	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131243','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	39	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	39	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	39	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131243
2019-12-18	09:43:40	39	[DEBUG]	Load a row
2019-12-18	09:43:40	39	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	39	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	39	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	39	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	39	[DEBUG]	Executed store
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131243','32')
2019-12-18	09:43:40	39	[DEBUG]	Find the custom field ID
2019-12-18	09:43:40	39	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:40	39	[DEBUG]	No custom field ID found
2019-12-18	09:43:40	39	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	39	[DEBUG]	Store custom available field
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131243,3,'59.7336111111111',1)
2019-12-18	09:43:40	39	[DEBUG]	Checking category
2019-12-18	09:43:40	39	[DEBUG]	Delete old category references
2019-12-18	09:43:40	39	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131243
2019-12-18	09:43:40	39	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	39	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131243 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	39	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	39	[DEBUG]	Add new category references
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131243','5','')
2019-12-18	09:43:40	39	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131243','5','')
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:40	40	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field override
2019-12-18	09:43:40	40	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:40	40	[DEBUG]	Process line 40
2019-12-18	09:43:40	40	[DEBUG]	Load a row
2019-12-18	09:43:40	40	[DEBUG]	Processing item: 8436047357739
2019-12-18	09:43:40	40	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:40	40	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:40	40	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_7'
2019-12-18	09:43:40	40	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	40	[DEBUG]	Processing product tax
2019-12-18	09:43:40	40	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	40	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	40	[DEBUG]	Query for Product
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131243','8436047357739','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	40	[DEBUG]	No parent found
2019-12-18	09:43:40	40	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131243 AND customfield_value = 'stockable'
2019-12-18	09:43:40	40	[DEBUG]	Check product language entry
2019-12-18	09:43:40	40	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131244
2019-12-18	09:43:40	40	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-rouge' AND `virtuemart_product_id` != 131244
2019-12-18	09:43:40	40	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-rouge' AND `virtuemart_product_id` != 131244
2019-12-18	09:43:40	40	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131244, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-rouge')
2019-12-18	09:43:40	40	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283) (Rouge)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-rouge' WHERE `virtuemart_product_id` = '131244'
2019-12-18	09:43:40	40	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5617.jpg
2019-12-18	09:43:40	40	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	40	[DEBUG]	Process image file
2019-12-18	09:43:40	40	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:40	40	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	40	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5617.jpg
2019-12-18	09:43:40	40	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5617.jpg
2019-12-18	09:43:40	40	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5617.jpg'
2019-12-18	09:43:40	40	[DEBUG]	Query for Media
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5617.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5617.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4975'
2019-12-18	09:43:40	40	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131244','4975','1')
2019-12-18	09:43:40	40	[DEBUG]	Store product image relation
2019-12-18	09:43:40	40	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	40	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131244 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	40	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131244','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	40	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	40	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	40	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131244
2019-12-18	09:43:40	40	[DEBUG]	Load a row
2019-12-18	09:43:40	40	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	40	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	40	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	40	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	40	[DEBUG]	Executed store
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131244','32')
2019-12-18	09:43:40	40	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	40	[DEBUG]	Store custom available field
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131244,3,'',1)
2019-12-18	09:43:40	40	[DEBUG]	Checking category
2019-12-18	09:43:40	40	[DEBUG]	Delete old category references
2019-12-18	09:43:40	40	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131244
2019-12-18	09:43:40	40	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	40	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131244 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	40	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	40	[DEBUG]	Add new category references
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131244','5','')
2019-12-18	09:43:40	40	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131244','5','')
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	41	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field override
2019-12-18	09:43:40	41	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:40	41	[DEBUG]	Process line 41
2019-12-18	09:43:40	41	[DEBUG]	Load a row
2019-12-18	09:43:40	41	[DEBUG]	Processing item: A_283_12
2019-12-18	09:43:40	41	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	41	[DEBUG]	Processing product tax
2019-12-18	09:43:40	41	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	41	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	41	[DEBUG]	Query for Product
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_283_12','0.053','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	41	[DEBUG]	Check product language entry
2019-12-18	09:43:40	41	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131245
2019-12-18	09:43:40	41	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131245
2019-12-18	09:43:40	41	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:40	41	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131245 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:40	41	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-3' AND `virtuemart_product_id` != 131245
2019-12-18	09:43:40	41	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131245, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-3')
2019-12-18	09:43:40	41	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-3' WHERE `virtuemart_product_id` = '131245'
2019-12-18	09:43:40	41	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_308.jpg
2019-12-18	09:43:40	41	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:40	41	[DEBUG]	Process image file
2019-12-18	09:43:40	41	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:40	41	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	41	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_308.jpg
2019-12-18	09:43:40	41	[DEBUG]	Full name target: images/stories/virtuemart/product/image_308.jpg
2019-12-18	09:43:40	41	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_308.jpg'
2019-12-18	09:43:40	41	[DEBUG]	Query for Media
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_308.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_308.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4977'
2019-12-18	09:43:40	41	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131245','4977','1')
2019-12-18	09:43:40	41	[DEBUG]	Store product image relation
2019-12-18	09:43:40	41	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:40	41	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131245 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:40	41	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131245','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	41	[DEBUG]	Checking manufacturer
2019-12-18	09:43:40	41	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:40	41	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131245
2019-12-18	09:43:40	41	[DEBUG]	Load a row
2019-12-18	09:43:40	41	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	41	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:40	41	[DEBUG]	Manufacturer exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:40	41	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:40	41	[DEBUG]	Executed store
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131245','32')
2019-12-18	09:43:40	41	[DEBUG]	Find the custom field ID
2019-12-18	09:43:40	41	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:40	41	[DEBUG]	No custom field ID found
2019-12-18	09:43:40	41	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:40	41	[DEBUG]	Store custom available field
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131245,3,'59.7336111111111',1)
2019-12-18	09:43:40	41	[DEBUG]	Checking category
2019-12-18	09:43:40	41	[DEBUG]	Delete old category references
2019-12-18	09:43:40	41	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131245
2019-12-18	09:43:40	41	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:40	41	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131245 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:40	41	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:40	41	[DEBUG]	Add new category references
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131245','5','')
2019-12-18	09:43:40	41	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:40	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131245','5','')
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field published
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:40	42	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field override
2019-12-18	09:43:40	42	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:40	42	[DEBUG]	Process line 42
2019-12-18	09:43:40	42	[DEBUG]	Load a row
2019-12-18	09:43:40	42	[DEBUG]	Processing item: 8436047358286
2019-12-18	09:43:40	42	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:40	42	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:40	42	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_12'
2019-12-18	09:43:40	42	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:40	42	[DEBUG]	Processing product tax
2019-12-18	09:43:40	42	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:40	42	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:40	42	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:40	42	[DEBUG]	Query for Product
2019-12-18	09:43:40	42	[DEBUG]	Executed store
2019-12-18	09:43:40	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131245','8436047358286','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:40	42	[DEBUG]	No parent found
2019-12-18	09:43:40	42	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131245 AND customfield_value = 'stockable'
2019-12-18	09:43:40	42	[DEBUG]	Check product language entry
2019-12-18	09:43:40	42	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131246
2019-12-18	09:43:40	42	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	42	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-blanc' AND `virtuemart_product_id` != 131246
2019-12-18	09:43:40	42	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:40	42	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-blanc' AND `virtuemart_product_id` != 131246
2019-12-18	09:43:40	42	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:40	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131246, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-blanc')
2019-12-18	09:43:40	42	[DEBUG]	Query for ProductLang
2019-12-18	09:43:40	42	[DEBUG]	Executed store
2019-12-18	09:43:40	42	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283) (Blanc)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-blanc' WHERE `virtuemart_product_id` = '131246'
2019-12-18	09:43:40	42	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_308.jpg
2019-12-18	09:43:40	42	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:40	42	[DEBUG]	Process image file
2019-12-18	09:43:40	42	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:40	42	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:40	42	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_308.jpg
2019-12-18	09:43:40	42	[DEBUG]	Full name target: images/stories/virtuemart/product/image_308.jpg
2019-12-18	09:43:40	42	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:40	42	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_308.jpg'
2019-12-18	09:43:40	42	[DEBUG]	Query for Media
2019-12-18	09:43:40	42	[DEBUG]	Executed store
2019-12-18	09:43:40	42	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_308.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_308.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4977'
2019-12-18	09:43:40	42	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:40	42	[DEBUG]	Executed store
2019-12-18	09:43:40	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131246','4977','1')
2019-12-18	09:43:41	42	[DEBUG]	Store product image relation
2019-12-18	09:43:41	42	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	42	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131246 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	42	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	42	[DEBUG]	Executed store
2019-12-18	09:43:41	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131246','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	42	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	42	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	42	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131246
2019-12-18	09:43:41	42	[DEBUG]	Load a row
2019-12-18	09:43:41	42	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	42	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	42	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	42	[DEBUG]	Executed store
2019-12-18	09:43:41	42	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	42	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	42	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	42	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	42	[DEBUG]	Executed store
2019-12-18	09:43:41	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131246','32')
2019-12-18	09:43:41	42	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	42	[DEBUG]	Store custom available field
2019-12-18	09:43:41	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131246,3,'',1)
2019-12-18	09:43:41	42	[DEBUG]	Checking category
2019-12-18	09:43:41	42	[DEBUG]	Delete old category references
2019-12-18	09:43:41	42	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131246
2019-12-18	09:43:41	42	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	42	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131246 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	42	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	42	[DEBUG]	Add new category references
2019-12-18	09:43:41	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131246','5','')
2019-12-18	09:43:41	42	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131246','5','')
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	43	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field override
2019-12-18	09:43:41	43	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:41	43	[DEBUG]	Process line 43
2019-12-18	09:43:41	43	[DEBUG]	Load a row
2019-12-18	09:43:41	43	[DEBUG]	Processing item: A_283_13
2019-12-18	09:43:41	43	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	43	[DEBUG]	Processing product tax
2019-12-18	09:43:41	43	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	43	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	43	[DEBUG]	Query for Product
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_283_13','0.053','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	43	[DEBUG]	Check product language entry
2019-12-18	09:43:41	43	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131247
2019-12-18	09:43:41	43	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131247
2019-12-18	09:43:41	43	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:41	43	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131247 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:41	43	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-4' AND `virtuemart_product_id` != 131247
2019-12-18	09:43:41	43	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131247, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-4')
2019-12-18	09:43:41	43	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-4' WHERE `virtuemart_product_id` = '131247'
2019-12-18	09:43:41	43	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_307.jpg
2019-12-18	09:43:41	43	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	43	[DEBUG]	Process image file
2019-12-18	09:43:41	43	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	43	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	43	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_307.jpg
2019-12-18	09:43:41	43	[DEBUG]	Full name target: images/stories/virtuemart/product/image_307.jpg
2019-12-18	09:43:41	43	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_307.jpg'
2019-12-18	09:43:41	43	[DEBUG]	Query for Media
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_307.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_307.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4978'
2019-12-18	09:43:41	43	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131247','4978','1')
2019-12-18	09:43:41	43	[DEBUG]	Store product image relation
2019-12-18	09:43:41	43	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	43	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131247 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	43	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131247','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	43	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	43	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	43	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131247
2019-12-18	09:43:41	43	[DEBUG]	Load a row
2019-12-18	09:43:41	43	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	43	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	43	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	43	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	43	[DEBUG]	Executed store
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131247','32')
2019-12-18	09:43:41	43	[DEBUG]	Find the custom field ID
2019-12-18	09:43:41	43	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:41	43	[DEBUG]	No custom field ID found
2019-12-18	09:43:41	43	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	43	[DEBUG]	Store custom available field
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131247,3,'59.7336111111111',1)
2019-12-18	09:43:41	43	[DEBUG]	Checking category
2019-12-18	09:43:41	43	[DEBUG]	Delete old category references
2019-12-18	09:43:41	43	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131247
2019-12-18	09:43:41	43	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	43	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131247 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	43	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	43	[DEBUG]	Add new category references
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131247','5','')
2019-12-18	09:43:41	43	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131247','5','')
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:41	44	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field override
2019-12-18	09:43:41	44	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:41	44	[DEBUG]	Process line 44
2019-12-18	09:43:41	44	[DEBUG]	Load a row
2019-12-18	09:43:41	44	[DEBUG]	Processing item: 8436047357746
2019-12-18	09:43:41	44	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:41	44	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:41	44	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_13'
2019-12-18	09:43:41	44	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	44	[DEBUG]	Processing product tax
2019-12-18	09:43:41	44	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	44	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	44	[DEBUG]	Query for Product
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131247','8436047357746','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	44	[DEBUG]	No parent found
2019-12-18	09:43:41	44	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131247 AND customfield_value = 'stockable'
2019-12-18	09:43:41	44	[DEBUG]	Check product language entry
2019-12-18	09:43:41	44	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131248
2019-12-18	09:43:41	44	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-argent' AND `virtuemart_product_id` != 131248
2019-12-18	09:43:41	44	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-argent' AND `virtuemart_product_id` != 131248
2019-12-18	09:43:41	44	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131248, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-argent')
2019-12-18	09:43:41	44	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283) (Argent)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-argent' WHERE `virtuemart_product_id` = '131248'
2019-12-18	09:43:41	44	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_307.jpg
2019-12-18	09:43:41	44	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	44	[DEBUG]	Process image file
2019-12-18	09:43:41	44	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	44	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	44	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_307.jpg
2019-12-18	09:43:41	44	[DEBUG]	Full name target: images/stories/virtuemart/product/image_307.jpg
2019-12-18	09:43:41	44	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_307.jpg'
2019-12-18	09:43:41	44	[DEBUG]	Query for Media
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_307.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_307.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4978'
2019-12-18	09:43:41	44	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131248','4978','1')
2019-12-18	09:43:41	44	[DEBUG]	Store product image relation
2019-12-18	09:43:41	44	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	44	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131248 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	44	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131248','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	44	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	44	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	44	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131248
2019-12-18	09:43:41	44	[DEBUG]	Load a row
2019-12-18	09:43:41	44	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	44	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	44	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	44	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	44	[DEBUG]	Executed store
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131248','32')
2019-12-18	09:43:41	44	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	44	[DEBUG]	Store custom available field
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131248,3,'',1)
2019-12-18	09:43:41	44	[DEBUG]	Checking category
2019-12-18	09:43:41	44	[DEBUG]	Delete old category references
2019-12-18	09:43:41	44	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131248
2019-12-18	09:43:41	44	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	44	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131248 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	44	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	44	[DEBUG]	Add new category references
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131248','5','')
2019-12-18	09:43:41	44	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131248','5','')
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	45	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field override
2019-12-18	09:43:41	45	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:41	45	[DEBUG]	Process line 45
2019-12-18	09:43:41	45	[DEBUG]	Load a row
2019-12-18	09:43:41	45	[DEBUG]	Processing item: A_283_22
2019-12-18	09:43:41	45	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	45	[DEBUG]	Processing product tax
2019-12-18	09:43:41	45	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	45	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	45	[DEBUG]	Query for Product
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_283_22','0.053','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	45	[DEBUG]	Check product language entry
2019-12-18	09:43:41	45	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131249
2019-12-18	09:43:41	45	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' AND `virtuemart_product_id` != 131249
2019-12-18	09:43:41	45	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:41	45	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131249 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:41	45	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-5' AND `virtuemart_product_id` != 131249
2019-12-18	09:43:41	45	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131249, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-5')
2019-12-18	09:43:41	45	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-5' WHERE `virtuemart_product_id` = '131249'
2019-12-18	09:43:41	45	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5619.jpg
2019-12-18	09:43:41	45	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	45	[DEBUG]	Process image file
2019-12-18	09:43:41	45	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	45	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	45	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5619.jpg
2019-12-18	09:43:41	45	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5619.jpg
2019-12-18	09:43:41	45	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5619.jpg'
2019-12-18	09:43:41	45	[DEBUG]	Query for Media
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5619.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5619.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4979'
2019-12-18	09:43:41	45	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131249','4979','1')
2019-12-18	09:43:41	45	[DEBUG]	Store product image relation
2019-12-18	09:43:41	45	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	45	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131249 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	45	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131249','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	45	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	45	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	45	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131249
2019-12-18	09:43:41	45	[DEBUG]	Load a row
2019-12-18	09:43:41	45	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	45	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	45	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	45	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	45	[DEBUG]	Executed store
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131249','32')
2019-12-18	09:43:41	45	[DEBUG]	Find the custom field ID
2019-12-18	09:43:41	45	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:41	45	[DEBUG]	No custom field ID found
2019-12-18	09:43:41	45	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	45	[DEBUG]	Store custom available field
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131249,3,'59.7336111111111',1)
2019-12-18	09:43:41	45	[DEBUG]	Checking category
2019-12-18	09:43:41	45	[DEBUG]	Delete old category references
2019-12-18	09:43:41	45	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131249
2019-12-18	09:43:41	45	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	45	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131249 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	45	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	45	[DEBUG]	Add new category references
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131249','5','')
2019-12-18	09:43:41	45	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131249','5','')
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:41	46	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field override
2019-12-18	09:43:41	46	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:41	46	[DEBUG]	Process line 46
2019-12-18	09:43:41	46	[DEBUG]	Load a row
2019-12-18	09:43:41	46	[DEBUG]	Processing item: 8436047357753
2019-12-18	09:43:41	46	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:41	46	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:41	46	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_22'
2019-12-18	09:43:41	46	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	46	[DEBUG]	Processing product tax
2019-12-18	09:43:41	46	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	46	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	46	[DEBUG]	Query for Product
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131249','8436047357753','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	46	[DEBUG]	No parent found
2019-12-18	09:43:41	46	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131249 AND customfield_value = 'stockable'
2019-12-18	09:43:41	46	[DEBUG]	Check product language entry
2019-12-18	09:43:41	46	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131250
2019-12-18	09:43:41	46	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-bleu' AND `virtuemart_product_id` != 131250
2019-12-18	09:43:41	46	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-bleu' AND `virtuemart_product_id` != 131250
2019-12-18	09:43:41	46	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131250, 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-bleu')
2019-12-18	09:43:41	46	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º (283) (Bleu)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-283-bleu' WHERE `virtuemart_product_id` = '131250'
2019-12-18	09:43:41	46	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5619.jpg
2019-12-18	09:43:41	46	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	46	[DEBUG]	Process image file
2019-12-18	09:43:41	46	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	46	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	46	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5619.jpg
2019-12-18	09:43:41	46	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5619.jpg
2019-12-18	09:43:41	46	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5619.jpg'
2019-12-18	09:43:41	46	[DEBUG]	Query for Media
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5619.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5619.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4979'
2019-12-18	09:43:41	46	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131250','4979','1')
2019-12-18	09:43:41	46	[DEBUG]	Store product image relation
2019-12-18	09:43:41	46	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	46	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131250 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	46	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131250','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	46	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	46	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	46	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131250
2019-12-18	09:43:41	46	[DEBUG]	Load a row
2019-12-18	09:43:41	46	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	46	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	46	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	46	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	46	[DEBUG]	Executed store
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131250','32')
2019-12-18	09:43:41	46	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	46	[DEBUG]	Store custom available field
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131250,3,'',1)
2019-12-18	09:43:41	46	[DEBUG]	Checking category
2019-12-18	09:43:41	46	[DEBUG]	Delete old category references
2019-12-18	09:43:41	46	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131250
2019-12-18	09:43:41	46	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	46	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131250 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	46	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	46	[DEBUG]	Add new category references
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131250','5','')
2019-12-18	09:43:41	46	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131250','5','')
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	47	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field override
2019-12-18	09:43:41	47	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:41	47	[DEBUG]	Process line 47
2019-12-18	09:43:41	47	[DEBUG]	Load a row
2019-12-18	09:43:41	47	[DEBUG]	Processing item: A_505_5
2019-12-18	09:43:41	47	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	47	[DEBUG]	Processing product tax
2019-12-18	09:43:41	47	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	47	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	47	[DEBUG]	Query for Product
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_505_5','0.056','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	47	[DEBUG]	Check product language entry
2019-12-18	09:43:41	47	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131251
2019-12-18	09:43:41	47	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' AND `virtuemart_product_id` != 131251
2019-12-18	09:43:41	47	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' AND `virtuemart_product_id` != 131251
2019-12-18	09:43:41	47	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131251, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505')
2019-12-18	09:43:41	47	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' WHERE `virtuemart_product_id` = '131251'
2019-12-18	09:43:41	47	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_574.jpg
2019-12-18	09:43:41	47	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	47	[DEBUG]	Process image file
2019-12-18	09:43:41	47	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	47	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	47	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_574.jpg
2019-12-18	09:43:41	47	[DEBUG]	Full name target: images/stories/virtuemart/product/image_574.jpg
2019-12-18	09:43:41	47	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_574.jpg'
2019-12-18	09:43:41	47	[DEBUG]	Query for Media
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_574.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_574.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4983'
2019-12-18	09:43:41	47	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131251','4983','1')
2019-12-18	09:43:41	47	[DEBUG]	Store product image relation
2019-12-18	09:43:41	47	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	47	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131251 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	47	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131251','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	47	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	47	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	47	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131251
2019-12-18	09:43:41	47	[DEBUG]	Load a row
2019-12-18	09:43:41	47	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	47	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	47	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	47	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	47	[DEBUG]	Executed store
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131251','32')
2019-12-18	09:43:41	47	[DEBUG]	Find the custom field ID
2019-12-18	09:43:41	47	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:41	47	[DEBUG]	No custom field ID found
2019-12-18	09:43:41	47	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	47	[DEBUG]	Store custom available field
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131251,3,'39.7891666666667',1)
2019-12-18	09:43:41	47	[DEBUG]	Checking category
2019-12-18	09:43:41	47	[DEBUG]	Delete old category references
2019-12-18	09:43:41	47	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131251
2019-12-18	09:43:41	47	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	47	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131251 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	47	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	47	[DEBUG]	Add new category references
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131251','5','')
2019-12-18	09:43:41	47	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131251','5','')
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:41	48	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field override
2019-12-18	09:43:41	48	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:41	48	[DEBUG]	Process line 48
2019-12-18	09:43:41	48	[DEBUG]	Load a row
2019-12-18	09:43:41	48	[DEBUG]	Processing item: 8436047357357
2019-12-18	09:43:41	48	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:41	48	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:41	48	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_5'
2019-12-18	09:43:41	48	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	48	[DEBUG]	Processing product tax
2019-12-18	09:43:41	48	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	48	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	48	[DEBUG]	Query for Product
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131251','8436047357357','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	48	[DEBUG]	No parent found
2019-12-18	09:43:41	48	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131251 AND customfield_value = 'stockable'
2019-12-18	09:43:41	48	[DEBUG]	Check product language entry
2019-12-18	09:43:41	48	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131252
2019-12-18	09:43:41	48	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-or' AND `virtuemart_product_id` != 131252
2019-12-18	09:43:41	48	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-or' AND `virtuemart_product_id` != 131252
2019-12-18	09:43:41	48	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131252, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-or')
2019-12-18	09:43:41	48	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505) (Or)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-or' WHERE `virtuemart_product_id` = '131252'
2019-12-18	09:43:41	48	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_574.jpg
2019-12-18	09:43:41	48	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	48	[DEBUG]	Process image file
2019-12-18	09:43:41	48	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	48	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	48	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_574.jpg
2019-12-18	09:43:41	48	[DEBUG]	Full name target: images/stories/virtuemart/product/image_574.jpg
2019-12-18	09:43:41	48	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_574.jpg'
2019-12-18	09:43:41	48	[DEBUG]	Query for Media
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_574.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_574.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4983'
2019-12-18	09:43:41	48	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131252','4983','1')
2019-12-18	09:43:41	48	[DEBUG]	Store product image relation
2019-12-18	09:43:41	48	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	48	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131252 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	48	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131252','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	48	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	48	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	48	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131252
2019-12-18	09:43:41	48	[DEBUG]	Load a row
2019-12-18	09:43:41	48	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	48	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	48	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	48	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	48	[DEBUG]	Executed store
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131252','32')
2019-12-18	09:43:41	48	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	48	[DEBUG]	Store custom available field
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131252,3,'',1)
2019-12-18	09:43:41	48	[DEBUG]	Checking category
2019-12-18	09:43:41	48	[DEBUG]	Delete old category references
2019-12-18	09:43:41	48	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131252
2019-12-18	09:43:41	48	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	48	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131252 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	48	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	48	[DEBUG]	Add new category references
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131252','5','')
2019-12-18	09:43:41	48	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131252','5','')
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	49	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field override
2019-12-18	09:43:41	49	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:41	49	[DEBUG]	Process line 49
2019-12-18	09:43:41	49	[DEBUG]	Load a row
2019-12-18	09:43:41	49	[DEBUG]	Processing item: A_505_7
2019-12-18	09:43:41	49	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	49	[DEBUG]	Processing product tax
2019-12-18	09:43:41	49	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	49	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	49	[DEBUG]	Query for Product
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_505_7','0.056','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	49	[DEBUG]	Check product language entry
2019-12-18	09:43:41	49	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131253
2019-12-18	09:43:41	49	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' AND `virtuemart_product_id` != 131253
2019-12-18	09:43:41	49	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:41	49	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131253 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:41	49	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-1' AND `virtuemart_product_id` != 131253
2019-12-18	09:43:41	49	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131253, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-1')
2019-12-18	09:43:41	49	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-1' WHERE `virtuemart_product_id` = '131253'
2019-12-18	09:43:41	49	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_576.jpg
2019-12-18	09:43:41	49	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	49	[DEBUG]	Process image file
2019-12-18	09:43:41	49	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	49	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	49	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_576.jpg
2019-12-18	09:43:41	49	[DEBUG]	Full name target: images/stories/virtuemart/product/image_576.jpg
2019-12-18	09:43:41	49	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_576.jpg'
2019-12-18	09:43:41	49	[DEBUG]	Query for Media
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_576.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_576.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4984'
2019-12-18	09:43:41	49	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131253','4984','1')
2019-12-18	09:43:41	49	[DEBUG]	Store product image relation
2019-12-18	09:43:41	49	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	49	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131253 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	49	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131253','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	49	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	49	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	49	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131253
2019-12-18	09:43:41	49	[DEBUG]	Load a row
2019-12-18	09:43:41	49	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	49	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	49	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	49	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	49	[DEBUG]	Executed store
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131253','32')
2019-12-18	09:43:41	49	[DEBUG]	Find the custom field ID
2019-12-18	09:43:41	49	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:41	49	[DEBUG]	No custom field ID found
2019-12-18	09:43:41	49	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	49	[DEBUG]	Store custom available field
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131253,3,'39.7891666666667',1)
2019-12-18	09:43:41	49	[DEBUG]	Checking category
2019-12-18	09:43:41	49	[DEBUG]	Delete old category references
2019-12-18	09:43:41	49	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131253
2019-12-18	09:43:41	49	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	49	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131253 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	49	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	49	[DEBUG]	Add new category references
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131253','5','')
2019-12-18	09:43:41	49	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131253','5','')
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:41	50	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field override
2019-12-18	09:43:41	50	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:41	50	[DEBUG]	Process line 50
2019-12-18	09:43:41	50	[DEBUG]	Load a row
2019-12-18	09:43:41	50	[DEBUG]	Processing item: 843604735731
2019-12-18	09:43:41	50	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:41	50	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:41	50	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_7'
2019-12-18	09:43:41	50	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	50	[DEBUG]	Processing product tax
2019-12-18	09:43:41	50	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	50	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	50	[DEBUG]	Query for Product
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131253','843604735731','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	50	[DEBUG]	No parent found
2019-12-18	09:43:41	50	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131253 AND customfield_value = 'stockable'
2019-12-18	09:43:41	50	[DEBUG]	Check product language entry
2019-12-18	09:43:41	50	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131254
2019-12-18	09:43:41	50	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-rouge' AND `virtuemart_product_id` != 131254
2019-12-18	09:43:41	50	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-rouge' AND `virtuemart_product_id` != 131254
2019-12-18	09:43:41	50	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131254, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-rouge')
2019-12-18	09:43:41	50	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505) (Rouge)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-rouge' WHERE `virtuemart_product_id` = '131254'
2019-12-18	09:43:41	50	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_576.jpg
2019-12-18	09:43:41	50	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	50	[DEBUG]	Process image file
2019-12-18	09:43:41	50	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	50	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	50	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_576.jpg
2019-12-18	09:43:41	50	[DEBUG]	Full name target: images/stories/virtuemart/product/image_576.jpg
2019-12-18	09:43:41	50	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_576.jpg'
2019-12-18	09:43:41	50	[DEBUG]	Query for Media
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_576.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_576.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4984'
2019-12-18	09:43:41	50	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131254','4984','1')
2019-12-18	09:43:41	50	[DEBUG]	Store product image relation
2019-12-18	09:43:41	50	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	50	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131254 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	50	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131254','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	50	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	50	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	50	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131254
2019-12-18	09:43:41	50	[DEBUG]	Load a row
2019-12-18	09:43:41	50	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	50	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	50	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	50	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	50	[DEBUG]	Executed store
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131254','32')
2019-12-18	09:43:41	50	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	50	[DEBUG]	Store custom available field
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131254,3,'',1)
2019-12-18	09:43:41	50	[DEBUG]	Checking category
2019-12-18	09:43:41	50	[DEBUG]	Delete old category references
2019-12-18	09:43:41	50	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131254
2019-12-18	09:43:41	50	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	50	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131254 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	50	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	50	[DEBUG]	Add new category references
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131254','5','')
2019-12-18	09:43:41	50	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131254','5','')
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	51	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field override
2019-12-18	09:43:41	51	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:41	51	[DEBUG]	Process line 51
2019-12-18	09:43:41	51	[DEBUG]	Load a row
2019-12-18	09:43:41	51	[DEBUG]	Processing item: A_505_13
2019-12-18	09:43:41	51	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	51	[DEBUG]	Processing product tax
2019-12-18	09:43:41	51	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	51	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	51	[DEBUG]	Query for Product
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_505_13','0.056','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	51	[DEBUG]	Check product language entry
2019-12-18	09:43:41	51	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131255
2019-12-18	09:43:41	51	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' AND `virtuemart_product_id` != 131255
2019-12-18	09:43:41	51	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:41	51	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131255 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:41	51	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-2' AND `virtuemart_product_id` != 131255
2019-12-18	09:43:41	51	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131255, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-2')
2019-12-18	09:43:41	51	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-2' WHERE `virtuemart_product_id` = '131255'
2019-12-18	09:43:41	51	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_575.jpg
2019-12-18	09:43:41	51	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	51	[DEBUG]	Process image file
2019-12-18	09:43:41	51	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	51	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	51	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_575.jpg
2019-12-18	09:43:41	51	[DEBUG]	Full name target: images/stories/virtuemart/product/image_575.jpg
2019-12-18	09:43:41	51	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_575.jpg'
2019-12-18	09:43:41	51	[DEBUG]	Query for Media
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_575.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_575.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4985'
2019-12-18	09:43:41	51	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131255','4985','1')
2019-12-18	09:43:41	51	[DEBUG]	Store product image relation
2019-12-18	09:43:41	51	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	51	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131255 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	51	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131255','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	51	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	51	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	51	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131255
2019-12-18	09:43:41	51	[DEBUG]	Load a row
2019-12-18	09:43:41	51	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	51	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	51	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	51	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	51	[DEBUG]	Executed store
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131255','32')
2019-12-18	09:43:41	51	[DEBUG]	Find the custom field ID
2019-12-18	09:43:41	51	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:41	51	[DEBUG]	No custom field ID found
2019-12-18	09:43:41	51	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	51	[DEBUG]	Store custom available field
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131255,3,'39.7891666666667',1)
2019-12-18	09:43:41	51	[DEBUG]	Checking category
2019-12-18	09:43:41	51	[DEBUG]	Delete old category references
2019-12-18	09:43:41	51	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131255
2019-12-18	09:43:41	51	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	51	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131255 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	51	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	51	[DEBUG]	Add new category references
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131255','5','')
2019-12-18	09:43:41	51	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131255','5','')
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:41	52	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field override
2019-12-18	09:43:41	52	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:41	52	[DEBUG]	Process line 52
2019-12-18	09:43:41	52	[DEBUG]	Load a row
2019-12-18	09:43:41	52	[DEBUG]	Processing item: 8436047356939
2019-12-18	09:43:41	52	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:41	52	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:41	52	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_13'
2019-12-18	09:43:41	52	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	52	[DEBUG]	Processing product tax
2019-12-18	09:43:41	52	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	52	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	52	[DEBUG]	Query for Product
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131255','8436047356939','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	52	[DEBUG]	No parent found
2019-12-18	09:43:41	52	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131255 AND customfield_value = 'stockable'
2019-12-18	09:43:41	52	[DEBUG]	Check product language entry
2019-12-18	09:43:41	52	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131256
2019-12-18	09:43:41	52	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-argent' AND `virtuemart_product_id` != 131256
2019-12-18	09:43:41	52	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-argent' AND `virtuemart_product_id` != 131256
2019-12-18	09:43:41	52	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131256, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-argent')
2019-12-18	09:43:41	52	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505) (Argent)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-argent' WHERE `virtuemart_product_id` = '131256'
2019-12-18	09:43:41	52	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_575.jpg
2019-12-18	09:43:41	52	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	52	[DEBUG]	Process image file
2019-12-18	09:43:41	52	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	52	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	52	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_575.jpg
2019-12-18	09:43:41	52	[DEBUG]	Full name target: images/stories/virtuemart/product/image_575.jpg
2019-12-18	09:43:41	52	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_575.jpg'
2019-12-18	09:43:41	52	[DEBUG]	Query for Media
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_575.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_575.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4985'
2019-12-18	09:43:41	52	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131256','4985','1')
2019-12-18	09:43:41	52	[DEBUG]	Store product image relation
2019-12-18	09:43:41	52	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	52	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131256 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	52	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131256','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	52	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	52	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	52	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131256
2019-12-18	09:43:41	52	[DEBUG]	Load a row
2019-12-18	09:43:41	52	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	52	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	52	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	52	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	52	[DEBUG]	Executed store
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131256','32')
2019-12-18	09:43:41	52	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	52	[DEBUG]	Store custom available field
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131256,3,'',1)
2019-12-18	09:43:41	52	[DEBUG]	Checking category
2019-12-18	09:43:41	52	[DEBUG]	Delete old category references
2019-12-18	09:43:41	52	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131256
2019-12-18	09:43:41	52	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	52	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131256 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	52	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	52	[DEBUG]	Add new category references
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131256','5','')
2019-12-18	09:43:41	52	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131256','5','')
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field published
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:41	53	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field override
2019-12-18	09:43:41	53	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:41	53	[DEBUG]	Process line 53
2019-12-18	09:43:41	53	[DEBUG]	Load a row
2019-12-18	09:43:41	53	[DEBUG]	Processing item: A_505_22
2019-12-18	09:43:41	53	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:41	53	[DEBUG]	Processing product tax
2019-12-18	09:43:41	53	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:41	53	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:41	53	[DEBUG]	Query for Product
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_505_22','0.056','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	53	[DEBUG]	Check product language entry
2019-12-18	09:43:41	53	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131257
2019-12-18	09:43:41	53	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' AND `virtuemart_product_id` != 131257
2019-12-18	09:43:41	53	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:41	53	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131257 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:41	53	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-3' AND `virtuemart_product_id` != 131257
2019-12-18	09:43:41	53	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131257, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-3')
2019-12-18	09:43:41	53	[DEBUG]	Query for ProductLang
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-3' WHERE `virtuemart_product_id` = '131257'
2019-12-18	09:43:41	53	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_572.jpg
2019-12-18	09:43:41	53	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	53	[DEBUG]	Process image file
2019-12-18	09:43:41	53	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:41	53	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:41	53	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_572.jpg
2019-12-18	09:43:41	53	[DEBUG]	Full name target: images/stories/virtuemart/product/image_572.jpg
2019-12-18	09:43:41	53	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_572.jpg'
2019-12-18	09:43:41	53	[DEBUG]	Query for Media
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_572.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_572.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4986'
2019-12-18	09:43:41	53	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131257','4986','1')
2019-12-18	09:43:41	53	[DEBUG]	Store product image relation
2019-12-18	09:43:41	53	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:41	53	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131257 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:41	53	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131257','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:41	53	[DEBUG]	Checking manufacturer
2019-12-18	09:43:41	53	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:41	53	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131257
2019-12-18	09:43:41	53	[DEBUG]	Load a row
2019-12-18	09:43:41	53	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	53	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:41	53	[DEBUG]	Manufacturer exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:41	53	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:41	53	[DEBUG]	Executed store
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131257','32')
2019-12-18	09:43:41	53	[DEBUG]	Find the custom field ID
2019-12-18	09:43:41	53	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:41	53	[DEBUG]	No custom field ID found
2019-12-18	09:43:41	53	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:41	53	[DEBUG]	Store custom available field
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131257,3,'39.7891666666667',1)
2019-12-18	09:43:41	53	[DEBUG]	Checking category
2019-12-18	09:43:41	53	[DEBUG]	Delete old category references
2019-12-18	09:43:41	53	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131257
2019-12-18	09:43:41	53	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:41	53	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131257 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:41	53	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:41	53	[DEBUG]	Add new category references
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131257','5','')
2019-12-18	09:43:41	53	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:41	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131257','5','')
2019-12-18	09:43:41	54	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:41	54	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:41	54	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:41	54	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:41	54	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:41	54	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:42	54	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field override
2019-12-18	09:43:42	54	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:42	54	[DEBUG]	Process line 54
2019-12-18	09:43:42	54	[DEBUG]	Load a row
2019-12-18	09:43:42	54	[DEBUG]	Processing item: 8436047357333
2019-12-18	09:43:42	54	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:42	54	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:42	54	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_22'
2019-12-18	09:43:42	54	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	54	[DEBUG]	Processing product tax
2019-12-18	09:43:42	54	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	54	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	54	[DEBUG]	Query for Product
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131257','8436047357333','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	54	[DEBUG]	No parent found
2019-12-18	09:43:42	54	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131257 AND customfield_value = 'stockable'
2019-12-18	09:43:42	54	[DEBUG]	Check product language entry
2019-12-18	09:43:42	54	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131258
2019-12-18	09:43:42	54	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-bleu' AND `virtuemart_product_id` != 131258
2019-12-18	09:43:42	54	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-bleu' AND `virtuemart_product_id` != 131258
2019-12-18	09:43:42	54	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131258, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-bleu')
2019-12-18	09:43:42	54	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  (505) (Bleu)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-505-bleu' WHERE `virtuemart_product_id` = '131258'
2019-12-18	09:43:42	54	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_572.jpg
2019-12-18	09:43:42	54	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	54	[DEBUG]	Process image file
2019-12-18	09:43:42	54	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	54	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	54	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_572.jpg
2019-12-18	09:43:42	54	[DEBUG]	Full name target: images/stories/virtuemart/product/image_572.jpg
2019-12-18	09:43:42	54	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_572.jpg'
2019-12-18	09:43:42	54	[DEBUG]	Query for Media
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_572.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_572.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4986'
2019-12-18	09:43:42	54	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131258','4986','1')
2019-12-18	09:43:42	54	[DEBUG]	Store product image relation
2019-12-18	09:43:42	54	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	54	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131258 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	54	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131258','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	54	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	54	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	54	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131258
2019-12-18	09:43:42	54	[DEBUG]	Load a row
2019-12-18	09:43:42	54	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	54	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	54	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	54	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	54	[DEBUG]	Executed store
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131258','32')
2019-12-18	09:43:42	54	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	54	[DEBUG]	Store custom available field
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131258,3,'',1)
2019-12-18	09:43:42	54	[DEBUG]	Checking category
2019-12-18	09:43:42	54	[DEBUG]	Delete old category references
2019-12-18	09:43:42	54	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131258
2019-12-18	09:43:42	54	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	54	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131258 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	54	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	54	[DEBUG]	Add new category references
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131258','5','')
2019-12-18	09:43:42	54	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131258','5','')
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	55	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field override
2019-12-18	09:43:42	55	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:42	55	[DEBUG]	Process line 55
2019-12-18	09:43:42	55	[DEBUG]	Load a row
2019-12-18	09:43:42	55	[DEBUG]	Processing item: A_707_1
2019-12-18	09:43:42	55	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	55	[DEBUG]	Processing product tax
2019-12-18	09:43:42	55	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	55	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	55	[DEBUG]	Query for Product
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_707_1','0.049','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	55	[DEBUG]	Check product language entry
2019-12-18	09:43:42	55	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131259
2019-12-18	09:43:42	55	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707' AND `virtuemart_product_id` != 131259
2019-12-18	09:43:42	55	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707' AND `virtuemart_product_id` != 131259
2019-12-18	09:43:42	55	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131259, 'msc-embouts-de-guidons-msc-ultralight-carbone-707')
2019-12-18	09:43:42	55	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/85MM/5º avec visserie aluminium 7075 T6 anodisé, 49 gr<br>N° art fourn : MSCBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT CARBONE (707)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-carbone-707' WHERE `virtuemart_product_id` = '131259'
2019-12-18	09:43:42	55	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_960.jpg
2019-12-18	09:43:42	55	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	55	[DEBUG]	Process image file
2019-12-18	09:43:42	55	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	55	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	55	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_960.jpg
2019-12-18	09:43:42	55	[DEBUG]	Full name target: images/stories/virtuemart/product/image_960.jpg
2019-12-18	09:43:42	55	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_960.jpg'
2019-12-18	09:43:42	55	[DEBUG]	Query for Media
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_960.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_960.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4987'
2019-12-18	09:43:42	55	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131259','4987','1')
2019-12-18	09:43:42	55	[DEBUG]	Store product image relation
2019-12-18	09:43:42	55	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	55	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131259 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	55	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131259','0','83.4726090993501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	55	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	55	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	55	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131259
2019-12-18	09:43:42	55	[DEBUG]	Load a row
2019-12-18	09:43:42	55	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	55	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	55	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	55	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	55	[DEBUG]	Executed store
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131259','32')
2019-12-18	09:43:42	55	[DEBUG]	Find the custom field ID
2019-12-18	09:43:42	55	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:42	55	[DEBUG]	No custom field ID found
2019-12-18	09:43:42	55	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	55	[DEBUG]	Store custom available field
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131259,3,'89.6502777777778',1)
2019-12-18	09:43:42	55	[DEBUG]	Checking category
2019-12-18	09:43:42	55	[DEBUG]	Delete old category references
2019-12-18	09:43:42	55	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131259
2019-12-18	09:43:42	55	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	55	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131259 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	55	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	55	[DEBUG]	Add new category references
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131259','5','')
2019-12-18	09:43:42	55	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131259','5','')
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:42	56	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field override
2019-12-18	09:43:42	56	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:42	56	[DEBUG]	Process line 56
2019-12-18	09:43:42	56	[DEBUG]	Load a row
2019-12-18	09:43:42	56	[DEBUG]	Processing item: 8436047355162
2019-12-18	09:43:42	56	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:42	56	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:42	56	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_707_1'
2019-12-18	09:43:42	56	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	56	[DEBUG]	Processing product tax
2019-12-18	09:43:42	56	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	56	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	56	[DEBUG]	Query for Product
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131259','8436047355162','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	56	[DEBUG]	No parent found
2019-12-18	09:43:42	56	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131259 AND customfield_value = 'stockable'
2019-12-18	09:43:42	56	[DEBUG]	Check product language entry
2019-12-18	09:43:42	56	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131260
2019-12-18	09:43:42	56	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-noir' AND `virtuemart_product_id` != 131260
2019-12-18	09:43:42	56	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-noir' AND `virtuemart_product_id` != 131260
2019-12-18	09:43:42	56	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131260, 'msc-embouts-de-guidons-msc-ultralight-carbone-707-noir')
2019-12-18	09:43:42	56	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT CARBONE (707) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-carbone-707-noir' WHERE `virtuemart_product_id` = '131260'
2019-12-18	09:43:42	56	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_960.jpg
2019-12-18	09:43:42	56	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	56	[DEBUG]	Process image file
2019-12-18	09:43:42	56	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	56	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	56	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_960.jpg
2019-12-18	09:43:42	56	[DEBUG]	Full name target: images/stories/virtuemart/product/image_960.jpg
2019-12-18	09:43:42	56	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_960.jpg'
2019-12-18	09:43:42	56	[DEBUG]	Query for Media
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_960.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_960.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4987'
2019-12-18	09:43:42	56	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131260','4987','1')
2019-12-18	09:43:42	56	[DEBUG]	Store product image relation
2019-12-18	09:43:42	56	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	56	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131260 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	56	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131260','0','83.4726090993501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	56	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	56	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	56	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131260
2019-12-18	09:43:42	56	[DEBUG]	Load a row
2019-12-18	09:43:42	56	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	56	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	56	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	56	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	56	[DEBUG]	Executed store
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131260','32')
2019-12-18	09:43:42	56	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	56	[DEBUG]	Store custom available field
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131260,3,'',1)
2019-12-18	09:43:42	56	[DEBUG]	Checking category
2019-12-18	09:43:42	56	[DEBUG]	Delete old category references
2019-12-18	09:43:42	56	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131260
2019-12-18	09:43:42	56	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	56	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131260 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	56	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	56	[DEBUG]	Add new category references
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131260','5','')
2019-12-18	09:43:42	56	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131260','5','')
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	57	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field override
2019-12-18	09:43:42	57	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:42	57	[DEBUG]	Process line 57
2019-12-18	09:43:42	57	[DEBUG]	Load a row
2019-12-18	09:43:42	57	[DEBUG]	Processing item: A_707_5
2019-12-18	09:43:42	57	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	57	[DEBUG]	Processing product tax
2019-12-18	09:43:42	57	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	57	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	57	[DEBUG]	Query for Product
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_707_5','0.049','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	57	[DEBUG]	Check product language entry
2019-12-18	09:43:42	57	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131261
2019-12-18	09:43:42	57	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707' AND `virtuemart_product_id` != 131261
2019-12-18	09:43:42	57	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:42	57	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-carbone-707', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-carbone-707-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131261 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:42	57	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-1' AND `virtuemart_product_id` != 131261
2019-12-18	09:43:42	57	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131261, 'msc-embouts-de-guidons-msc-ultralight-carbone-707-1')
2019-12-18	09:43:42	57	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/85MM/5º avec visserie aluminium 7075 T6 anodisé, 49 gr<br>N° art fourn : MSCBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT CARBONE (707)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-carbone-707-1' WHERE `virtuemart_product_id` = '131261'
2019-12-18	09:43:42	57	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_961.jpg
2019-12-18	09:43:42	57	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	57	[DEBUG]	Process image file
2019-12-18	09:43:42	57	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	57	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	57	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_961.jpg
2019-12-18	09:43:42	57	[DEBUG]	Full name target: images/stories/virtuemart/product/image_961.jpg
2019-12-18	09:43:42	57	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_961.jpg'
2019-12-18	09:43:42	57	[DEBUG]	Query for Media
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_961.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_961.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4988'
2019-12-18	09:43:42	57	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131261','4988','1')
2019-12-18	09:43:42	57	[DEBUG]	Store product image relation
2019-12-18	09:43:42	57	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	57	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131261 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	57	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131261','0','83.4726090993501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	57	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	57	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	57	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131261
2019-12-18	09:43:42	57	[DEBUG]	Load a row
2019-12-18	09:43:42	57	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	57	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	57	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	57	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	57	[DEBUG]	Executed store
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131261','32')
2019-12-18	09:43:42	57	[DEBUG]	Find the custom field ID
2019-12-18	09:43:42	57	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:42	57	[DEBUG]	No custom field ID found
2019-12-18	09:43:42	57	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	57	[DEBUG]	Store custom available field
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131261,3,'89.6502777777778',1)
2019-12-18	09:43:42	57	[DEBUG]	Checking category
2019-12-18	09:43:42	57	[DEBUG]	Delete old category references
2019-12-18	09:43:42	57	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131261
2019-12-18	09:43:42	57	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	57	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131261 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	57	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	57	[DEBUG]	Add new category references
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131261','5','')
2019-12-18	09:43:42	57	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131261','5','')
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:42	58	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field override
2019-12-18	09:43:42	58	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:42	58	[DEBUG]	Process line 58
2019-12-18	09:43:42	58	[DEBUG]	Load a row
2019-12-18	09:43:42	58	[DEBUG]	Processing item: 8436047355155
2019-12-18	09:43:42	58	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:42	58	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:42	58	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_707_5'
2019-12-18	09:43:42	58	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	58	[DEBUG]	Processing product tax
2019-12-18	09:43:42	58	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	58	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	58	[DEBUG]	Query for Product
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131261','8436047355155','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	58	[DEBUG]	No parent found
2019-12-18	09:43:42	58	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131261 AND customfield_value = 'stockable'
2019-12-18	09:43:42	58	[DEBUG]	Check product language entry
2019-12-18	09:43:42	58	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131262
2019-12-18	09:43:42	58	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-or' AND `virtuemart_product_id` != 131262
2019-12-18	09:43:42	58	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-or' AND `virtuemart_product_id` != 131262
2019-12-18	09:43:42	58	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131262, 'msc-embouts-de-guidons-msc-ultralight-carbone-707-or')
2019-12-18	09:43:42	58	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT CARBONE (707) (Or)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-carbone-707-or' WHERE `virtuemart_product_id` = '131262'
2019-12-18	09:43:42	58	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_961.jpg
2019-12-18	09:43:42	58	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	58	[DEBUG]	Process image file
2019-12-18	09:43:42	58	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	58	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	58	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_961.jpg
2019-12-18	09:43:42	58	[DEBUG]	Full name target: images/stories/virtuemart/product/image_961.jpg
2019-12-18	09:43:42	58	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_961.jpg'
2019-12-18	09:43:42	58	[DEBUG]	Query for Media
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_961.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_961.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4988'
2019-12-18	09:43:42	58	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131262','4988','1')
2019-12-18	09:43:42	58	[DEBUG]	Store product image relation
2019-12-18	09:43:42	58	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	58	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131262 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	58	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131262','0','83.4726090993501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	58	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	58	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	58	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131262
2019-12-18	09:43:42	58	[DEBUG]	Load a row
2019-12-18	09:43:42	58	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	58	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	58	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	58	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	58	[DEBUG]	Executed store
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131262','32')
2019-12-18	09:43:42	58	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	58	[DEBUG]	Store custom available field
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131262,3,'',1)
2019-12-18	09:43:42	58	[DEBUG]	Checking category
2019-12-18	09:43:42	58	[DEBUG]	Delete old category references
2019-12-18	09:43:42	58	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131262
2019-12-18	09:43:42	58	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	58	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131262 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	58	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	58	[DEBUG]	Add new category references
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131262','5','')
2019-12-18	09:43:42	58	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131262','5','')
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	59	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field override
2019-12-18	09:43:42	59	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:42	59	[DEBUG]	Process line 59
2019-12-18	09:43:42	59	[DEBUG]	Load a row
2019-12-18	09:43:42	59	[DEBUG]	Processing item: A_707_7
2019-12-18	09:43:42	59	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	59	[DEBUG]	Processing product tax
2019-12-18	09:43:42	59	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	59	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	59	[DEBUG]	Query for Product
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_707_7','0.049','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	59	[DEBUG]	Check product language entry
2019-12-18	09:43:42	59	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131263
2019-12-18	09:43:42	59	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707' AND `virtuemart_product_id` != 131263
2019-12-18	09:43:42	59	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:42	59	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-carbone-707', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-carbone-707-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131263 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:42	59	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-2' AND `virtuemart_product_id` != 131263
2019-12-18	09:43:42	59	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131263, 'msc-embouts-de-guidons-msc-ultralight-carbone-707-2')
2019-12-18	09:43:42	59	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/85MM/5º avec visserie aluminium 7075 T6 anodisé, 49 gr<br>N° art fourn : MSCBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT CARBONE (707)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-carbone-707-2' WHERE `virtuemart_product_id` = '131263'
2019-12-18	09:43:42	59	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_963.jpg
2019-12-18	09:43:42	59	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	59	[DEBUG]	Process image file
2019-12-18	09:43:42	59	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	59	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	59	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_963.jpg
2019-12-18	09:43:42	59	[DEBUG]	Full name target: images/stories/virtuemart/product/image_963.jpg
2019-12-18	09:43:42	59	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_963.jpg'
2019-12-18	09:43:42	59	[DEBUG]	Query for Media
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_963.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_963.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4989'
2019-12-18	09:43:42	59	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131263','4989','1')
2019-12-18	09:43:42	59	[DEBUG]	Store product image relation
2019-12-18	09:43:42	59	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	59	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131263 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	59	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131263','0','83.4726090993501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	59	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	59	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	59	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131263
2019-12-18	09:43:42	59	[DEBUG]	Load a row
2019-12-18	09:43:42	59	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	59	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	59	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	59	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	59	[DEBUG]	Executed store
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131263','32')
2019-12-18	09:43:42	59	[DEBUG]	Find the custom field ID
2019-12-18	09:43:42	59	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:42	59	[DEBUG]	No custom field ID found
2019-12-18	09:43:42	59	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	59	[DEBUG]	Store custom available field
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131263,3,'89.6502777777778',1)
2019-12-18	09:43:42	59	[DEBUG]	Checking category
2019-12-18	09:43:42	59	[DEBUG]	Delete old category references
2019-12-18	09:43:42	59	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131263
2019-12-18	09:43:42	59	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	59	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131263 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	59	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	59	[DEBUG]	Add new category references
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131263','5','')
2019-12-18	09:43:42	59	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131263','5','')
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:42	60	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field override
2019-12-18	09:43:42	60	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:42	60	[DEBUG]	Process line 60
2019-12-18	09:43:42	60	[DEBUG]	Load a row
2019-12-18	09:43:42	60	[DEBUG]	Processing item: 1000000010428
2019-12-18	09:43:42	60	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:42	60	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:42	60	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_707_7'
2019-12-18	09:43:42	60	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	60	[DEBUG]	Processing product tax
2019-12-18	09:43:42	60	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	60	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	60	[DEBUG]	Query for Product
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131263','1000000010428','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	60	[DEBUG]	No parent found
2019-12-18	09:43:42	60	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131263 AND customfield_value = 'stockable'
2019-12-18	09:43:42	60	[DEBUG]	Check product language entry
2019-12-18	09:43:42	60	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131264
2019-12-18	09:43:42	60	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-rouge' AND `virtuemart_product_id` != 131264
2019-12-18	09:43:42	60	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-carbone-707-rouge' AND `virtuemart_product_id` != 131264
2019-12-18	09:43:42	60	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131264, 'msc-embouts-de-guidons-msc-ultralight-carbone-707-rouge')
2019-12-18	09:43:42	60	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT CARBONE (707) (Rouge)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-carbone-707-rouge' WHERE `virtuemart_product_id` = '131264'
2019-12-18	09:43:42	60	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_963.jpg
2019-12-18	09:43:42	60	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	60	[DEBUG]	Process image file
2019-12-18	09:43:42	60	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:42	60	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	60	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_963.jpg
2019-12-18	09:43:42	60	[DEBUG]	Full name target: images/stories/virtuemart/product/image_963.jpg
2019-12-18	09:43:42	60	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_963.jpg'
2019-12-18	09:43:42	60	[DEBUG]	Query for Media
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_963.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_963.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4989'
2019-12-18	09:43:42	60	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131264','4989','1')
2019-12-18	09:43:42	60	[DEBUG]	Store product image relation
2019-12-18	09:43:42	60	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	60	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131264 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	60	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131264','0','83.4726090993501','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	60	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	60	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	60	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131264
2019-12-18	09:43:42	60	[DEBUG]	Load a row
2019-12-18	09:43:42	60	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	60	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	60	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	60	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	60	[DEBUG]	Executed store
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131264','32')
2019-12-18	09:43:42	60	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	60	[DEBUG]	Store custom available field
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131264,3,'',1)
2019-12-18	09:43:42	60	[DEBUG]	Checking category
2019-12-18	09:43:42	60	[DEBUG]	Delete old category references
2019-12-18	09:43:42	60	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131264
2019-12-18	09:43:42	60	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	60	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131264 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	60	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	60	[DEBUG]	Add new category references
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131264','5','')
2019-12-18	09:43:42	60	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131264','5','')
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	61	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field override
2019-12-18	09:43:42	61	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:42	61	[DEBUG]	Process line 61
2019-12-18	09:43:42	61	[DEBUG]	Load a row
2019-12-18	09:43:42	61	[DEBUG]	Processing item: A_1694_1
2019-12-18	09:43:42	61	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	61	[DEBUG]	Processing product tax
2019-12-18	09:43:42	61	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	61	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	61	[DEBUG]	Query for Product
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1694_1','0.111','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	61	[DEBUG]	Check product language entry
2019-12-18	09:43:42	61	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131265
2019-12-18	09:43:42	61	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694' AND `virtuemart_product_id` != 131265
2019-12-18	09:43:42	61	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694' AND `virtuemart_product_id` != 131265
2019-12-18	09:43:42	61	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131265, 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694')
2019-12-18	09:43:42	61	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts guidon ergonomiques en gommes 75mm, 111 gr.<br>N° art fourn : 600CR',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES GOMME 75mm (1694)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694' WHERE `virtuemart_product_id` = '131265'
2019-12-18	09:43:42	61	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5783.jpg
2019-12-18	09:43:42	61	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	61	[DEBUG]	Process image file
2019-12-18	09:43:42	61	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	61	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	61	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5783.jpg
2019-12-18	09:43:42	61	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5783.jpg
2019-12-18	09:43:42	61	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5783.jpg'
2019-12-18	09:43:42	61	[DEBUG]	Query for Media
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5783.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5783.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4995'
2019-12-18	09:43:42	61	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131265','4995','1')
2019-12-18	09:43:42	61	[DEBUG]	Store product image relation
2019-12-18	09:43:42	61	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	61	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131265 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	61	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131265','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	61	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	61	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	61	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131265
2019-12-18	09:43:42	61	[DEBUG]	Load a row
2019-12-18	09:43:42	61	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	61	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	61	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	61	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	61	[DEBUG]	Executed store
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131265','32')
2019-12-18	09:43:42	61	[DEBUG]	Find the custom field ID
2019-12-18	09:43:42	61	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:42	61	[DEBUG]	No custom field ID found
2019-12-18	09:43:42	61	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	61	[DEBUG]	Store custom available field
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131265,3,'39.7891666666667',1)
2019-12-18	09:43:42	61	[DEBUG]	Checking category
2019-12-18	09:43:42	61	[DEBUG]	Delete old category references
2019-12-18	09:43:42	61	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131265
2019-12-18	09:43:42	61	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	61	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131265 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	61	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	61	[DEBUG]	Add new category references
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131265','5','')
2019-12-18	09:43:42	61	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131265','5','')
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:42	62	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field override
2019-12-18	09:43:42	62	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:42	62	[DEBUG]	Process line 62
2019-12-18	09:43:42	62	[DEBUG]	Load a row
2019-12-18	09:43:42	62	[DEBUG]	Processing item: 1000000030181
2019-12-18	09:43:42	62	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:42	62	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:42	62	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1694_1'
2019-12-18	09:43:42	62	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	62	[DEBUG]	Processing product tax
2019-12-18	09:43:42	62	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	62	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	62	[DEBUG]	Query for Product
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131265','1000000030181','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	62	[DEBUG]	No parent found
2019-12-18	09:43:42	62	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131265 AND customfield_value = 'stockable'
2019-12-18	09:43:42	62	[DEBUG]	Check product language entry
2019-12-18	09:43:42	62	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131266
2019-12-18	09:43:42	62	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-noir' AND `virtuemart_product_id` != 131266
2019-12-18	09:43:42	62	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-noir' AND `virtuemart_product_id` != 131266
2019-12-18	09:43:42	62	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131266, 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-noir')
2019-12-18	09:43:42	62	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES GOMME 75mm (1694) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-noir' WHERE `virtuemart_product_id` = '131266'
2019-12-18	09:43:42	62	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5783.jpg
2019-12-18	09:43:42	62	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	62	[DEBUG]	Process image file
2019-12-18	09:43:42	62	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	62	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	62	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5783.jpg
2019-12-18	09:43:42	62	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5783.jpg
2019-12-18	09:43:42	62	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5783.jpg'
2019-12-18	09:43:42	62	[DEBUG]	Query for Media
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5783.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5783.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4995'
2019-12-18	09:43:42	62	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131266','4995','1')
2019-12-18	09:43:42	62	[DEBUG]	Store product image relation
2019-12-18	09:43:42	62	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	62	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131266 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	62	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131266','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	62	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	62	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	62	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131266
2019-12-18	09:43:42	62	[DEBUG]	Load a row
2019-12-18	09:43:42	62	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	62	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	62	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	62	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	62	[DEBUG]	Executed store
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131266','32')
2019-12-18	09:43:42	62	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	62	[DEBUG]	Store custom available field
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131266,3,'',1)
2019-12-18	09:43:42	62	[DEBUG]	Checking category
2019-12-18	09:43:42	62	[DEBUG]	Delete old category references
2019-12-18	09:43:42	62	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131266
2019-12-18	09:43:42	62	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	62	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131266 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	62	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	62	[DEBUG]	Add new category references
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131266','5','')
2019-12-18	09:43:42	62	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131266','5','')
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	63	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field override
2019-12-18	09:43:42	63	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:42	63	[DEBUG]	Process line 63
2019-12-18	09:43:42	63	[DEBUG]	Load a row
2019-12-18	09:43:42	63	[DEBUG]	Processing item: A_1694_12
2019-12-18	09:43:42	63	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	63	[DEBUG]	Processing product tax
2019-12-18	09:43:42	63	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	63	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	63	[DEBUG]	Query for Product
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1694_12','0.111','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	63	[DEBUG]	Check product language entry
2019-12-18	09:43:42	63	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131267
2019-12-18	09:43:42	63	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694' AND `virtuemart_product_id` != 131267
2019-12-18	09:43:42	63	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:42	63	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131267 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:42	63	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-1' AND `virtuemart_product_id` != 131267
2019-12-18	09:43:42	63	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131267, 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-1')
2019-12-18	09:43:42	63	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts guidon ergonomiques en gommes 75mm, 111 gr.<br>N° art fourn : 600CR',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES GOMME 75mm (1694)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-1' WHERE `virtuemart_product_id` = '131267'
2019-12-18	09:43:42	63	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5784.jpg
2019-12-18	09:43:42	63	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	63	[DEBUG]	Process image file
2019-12-18	09:43:42	63	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	63	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	63	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5784.jpg
2019-12-18	09:43:42	63	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5784.jpg
2019-12-18	09:43:42	63	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5784.jpg'
2019-12-18	09:43:42	63	[DEBUG]	Query for Media
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5784.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5784.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4996'
2019-12-18	09:43:42	63	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131267','4996','1')
2019-12-18	09:43:42	63	[DEBUG]	Store product image relation
2019-12-18	09:43:42	63	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:42	63	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131267 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:42	63	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131267','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	63	[DEBUG]	Checking manufacturer
2019-12-18	09:43:42	63	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:42	63	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131267
2019-12-18	09:43:42	63	[DEBUG]	Load a row
2019-12-18	09:43:42	63	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	63	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:42	63	[DEBUG]	Manufacturer exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:42	63	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:42	63	[DEBUG]	Executed store
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131267','32')
2019-12-18	09:43:42	63	[DEBUG]	Find the custom field ID
2019-12-18	09:43:42	63	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:42	63	[DEBUG]	No custom field ID found
2019-12-18	09:43:42	63	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:42	63	[DEBUG]	Store custom available field
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131267,3,'39.7891666666667',1)
2019-12-18	09:43:42	63	[DEBUG]	Checking category
2019-12-18	09:43:42	63	[DEBUG]	Delete old category references
2019-12-18	09:43:42	63	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131267
2019-12-18	09:43:42	63	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:42	63	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131267 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:42	63	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:42	63	[DEBUG]	Add new category references
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131267','5','')
2019-12-18	09:43:42	63	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:42	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131267','5','')
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field published
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:42	64	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field override
2019-12-18	09:43:42	64	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:42	64	[DEBUG]	Process line 64
2019-12-18	09:43:42	64	[DEBUG]	Load a row
2019-12-18	09:43:42	64	[DEBUG]	Processing item: 1000000030174
2019-12-18	09:43:42	64	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:42	64	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:42	64	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1694_12'
2019-12-18	09:43:42	64	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:42	64	[DEBUG]	Processing product tax
2019-12-18	09:43:42	64	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:42	64	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:42	64	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:42	64	[DEBUG]	Query for Product
2019-12-18	09:43:42	64	[DEBUG]	Executed store
2019-12-18	09:43:42	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131267','1000000030174','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:42	64	[DEBUG]	No parent found
2019-12-18	09:43:42	64	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131267 AND customfield_value = 'stockable'
2019-12-18	09:43:42	64	[DEBUG]	Check product language entry
2019-12-18	09:43:42	64	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131268
2019-12-18	09:43:42	64	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	64	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-blanc' AND `virtuemart_product_id` != 131268
2019-12-18	09:43:42	64	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:42	64	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-blanc' AND `virtuemart_product_id` != 131268
2019-12-18	09:43:42	64	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:42	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131268, 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-blanc')
2019-12-18	09:43:42	64	[DEBUG]	Query for ProductLang
2019-12-18	09:43:42	64	[DEBUG]	Executed store
2019-12-18	09:43:42	64	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES GOMME 75mm (1694) (Blanc)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-1694-blanc' WHERE `virtuemart_product_id` = '131268'
2019-12-18	09:43:42	64	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5784.jpg
2019-12-18	09:43:42	64	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	64	[DEBUG]	Process image file
2019-12-18	09:43:42	64	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:42	64	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:42	64	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5784.jpg
2019-12-18	09:43:42	64	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5784.jpg
2019-12-18	09:43:42	64	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:42	64	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5784.jpg'
2019-12-18	09:43:42	64	[DEBUG]	Query for Media
2019-12-18	09:43:42	64	[DEBUG]	Executed store
2019-12-18	09:43:42	64	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5784.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5784.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4996'
2019-12-18	09:43:42	64	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:42	64	[DEBUG]	Executed store
2019-12-18	09:43:42	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131268','4996','1')
2019-12-18	09:43:43	64	[DEBUG]	Store product image relation
2019-12-18	09:43:43	64	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	64	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131268 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	64	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	64	[DEBUG]	Executed store
2019-12-18	09:43:43	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131268','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	64	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	64	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	64	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131268
2019-12-18	09:43:43	64	[DEBUG]	Load a row
2019-12-18	09:43:43	64	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	64	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	64	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	64	[DEBUG]	Executed store
2019-12-18	09:43:43	64	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	64	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	64	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	64	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	64	[DEBUG]	Executed store
2019-12-18	09:43:43	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131268','32')
2019-12-18	09:43:43	64	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	64	[DEBUG]	Store custom available field
2019-12-18	09:43:43	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131268,3,'',1)
2019-12-18	09:43:43	64	[DEBUG]	Checking category
2019-12-18	09:43:43	64	[DEBUG]	Delete old category references
2019-12-18	09:43:43	64	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131268
2019-12-18	09:43:43	64	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	64	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131268 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	64	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	64	[DEBUG]	Add new category references
2019-12-18	09:43:43	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131268','5','')
2019-12-18	09:43:43	64	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131268','5','')
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	65	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field override
2019-12-18	09:43:43	65	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:43	65	[DEBUG]	Process line 65
2019-12-18	09:43:43	65	[DEBUG]	Load a row
2019-12-18	09:43:43	65	[DEBUG]	Processing item: A_1695_1
2019-12-18	09:43:43	65	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	65	[DEBUG]	Processing product tax
2019-12-18	09:43:43	65	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	65	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	65	[DEBUG]	Query for Product
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1695_1','0.11','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	65	[DEBUG]	Check product language entry
2019-12-18	09:43:43	65	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131269
2019-12-18	09:43:43	65	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695' AND `virtuemart_product_id` != 131269
2019-12-18	09:43:43	65	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695' AND `virtuemart_product_id` != 131269
2019-12-18	09:43:43	65	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131269, 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695')
2019-12-18	09:43:43	65	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts guidons aluminium ergonomiques 50mm<br>N° art fourn : 600D',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES ALU 50mm (1695)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695' WHERE `virtuemart_product_id` = '131269'
2019-12-18	09:43:43	65	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5786.jpg
2019-12-18	09:43:43	65	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	65	[DEBUG]	Process image file
2019-12-18	09:43:43	65	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	65	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:43	65	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5786.jpg
2019-12-18	09:43:43	65	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5786.jpg
2019-12-18	09:43:43	65	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5786.jpg'
2019-12-18	09:43:43	65	[DEBUG]	Query for Media
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5786.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5786.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4997'
2019-12-18	09:43:43	65	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131269','4997','1')
2019-12-18	09:43:43	65	[DEBUG]	Store product image relation
2019-12-18	09:43:43	65	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	65	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131269 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	65	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131269','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	65	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	65	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	65	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131269
2019-12-18	09:43:43	65	[DEBUG]	Load a row
2019-12-18	09:43:43	65	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	65	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	65	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	65	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	65	[DEBUG]	Executed store
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131269','32')
2019-12-18	09:43:43	65	[DEBUG]	Find the custom field ID
2019-12-18	09:43:43	65	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:43	65	[DEBUG]	No custom field ID found
2019-12-18	09:43:43	65	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	65	[DEBUG]	Store custom available field
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131269,3,'39.7891666666667',1)
2019-12-18	09:43:43	65	[DEBUG]	Checking category
2019-12-18	09:43:43	65	[DEBUG]	Delete old category references
2019-12-18	09:43:43	65	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131269
2019-12-18	09:43:43	65	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	65	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131269 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	65	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	65	[DEBUG]	Add new category references
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131269','5','')
2019-12-18	09:43:43	65	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131269','5','')
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:43	66	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field override
2019-12-18	09:43:43	66	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:43	66	[DEBUG]	Process line 66
2019-12-18	09:43:43	66	[DEBUG]	Load a row
2019-12-18	09:43:43	66	[DEBUG]	Processing item: 8436041523550
2019-12-18	09:43:43	66	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:43	66	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:43	66	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1695_1'
2019-12-18	09:43:43	66	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	66	[DEBUG]	Processing product tax
2019-12-18	09:43:43	66	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	66	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	66	[DEBUG]	Query for Product
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131269','8436041523550','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	66	[DEBUG]	No parent found
2019-12-18	09:43:43	66	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131269 AND customfield_value = 'stockable'
2019-12-18	09:43:43	66	[DEBUG]	Check product language entry
2019-12-18	09:43:43	66	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131270
2019-12-18	09:43:43	66	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695-noir' AND `virtuemart_product_id` != 131270
2019-12-18	09:43:43	66	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695-noir' AND `virtuemart_product_id` != 131270
2019-12-18	09:43:43	66	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131270, 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695-noir')
2019-12-18	09:43:43	66	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES ALU 50mm (1695) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-1695-noir' WHERE `virtuemart_product_id` = '131270'
2019-12-18	09:43:43	66	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5786.jpg
2019-12-18	09:43:43	66	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	66	[DEBUG]	Process image file
2019-12-18	09:43:43	66	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	66	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:43	66	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5786.jpg
2019-12-18	09:43:43	66	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5786.jpg
2019-12-18	09:43:43	66	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5786.jpg'
2019-12-18	09:43:43	66	[DEBUG]	Query for Media
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5786.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5786.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '4997'
2019-12-18	09:43:43	66	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131270','4997','1')
2019-12-18	09:43:43	66	[DEBUG]	Store product image relation
2019-12-18	09:43:43	66	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	66	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131270 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	66	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131270','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	66	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	66	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	66	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131270
2019-12-18	09:43:43	66	[DEBUG]	Load a row
2019-12-18	09:43:43	66	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	66	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	66	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	66	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	66	[DEBUG]	Executed store
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131270','32')
2019-12-18	09:43:43	66	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	66	[DEBUG]	Store custom available field
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131270,3,'',1)
2019-12-18	09:43:43	66	[DEBUG]	Checking category
2019-12-18	09:43:43	66	[DEBUG]	Delete old category references
2019-12-18	09:43:43	66	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131270
2019-12-18	09:43:43	66	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	66	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131270 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	66	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	66	[DEBUG]	Add new category references
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131270','5','')
2019-12-18	09:43:43	66	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131270','5','')
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	67	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field override
2019-12-18	09:43:43	67	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:43	67	[DEBUG]	Process line 67
2019-12-18	09:43:43	67	[DEBUG]	Load a row
2019-12-18	09:43:43	67	[DEBUG]	Processing item: A_1871_13
2019-12-18	09:43:43	67	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	67	[DEBUG]	Processing product tax
2019-12-18	09:43:43	67	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	67	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	67	[DEBUG]	Query for Product
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1871_13','0.049','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	67	[DEBUG]	Check product language entry
2019-12-18	09:43:43	67	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131271
2019-12-18	09:43:43	67	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871' AND `virtuemart_product_id` != 131271
2019-12-18	09:43:43	67	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871' AND `virtuemart_product_id` != 131271
2019-12-18	09:43:43	67	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131271, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871')
2019-12-18	09:43:43	67	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts de guidon alu7075 T6 MSC Ultralight, 25,5Ø/85MM/5º <br>49gr !<br>N° art fourn : ALUBEN',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu 7075 T6 (1871)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871' WHERE `virtuemart_product_id` = '131271'
2019-12-18	09:43:43	67	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7218.jpg
2019-12-18	09:43:43	67	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	67	[DEBUG]	Process image file
2019-12-18	09:43:43	67	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	67	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:43	67	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7218.jpg
2019-12-18	09:43:43	67	[DEBUG]	Full name target: images/stories/virtuemart/product/image_7218.jpg
2019-12-18	09:43:43	67	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_7218.jpg'
2019-12-18	09:43:43	67	[DEBUG]	Query for Media
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_7218.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_7218.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5001'
2019-12-18	09:43:43	67	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131271','5001','1')
2019-12-18	09:43:43	67	[DEBUG]	Store product image relation
2019-12-18	09:43:43	67	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	67	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131271 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	67	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131271','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	67	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	67	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	67	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131271
2019-12-18	09:43:43	67	[DEBUG]	Load a row
2019-12-18	09:43:43	67	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	67	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	67	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	67	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	67	[DEBUG]	Executed store
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131271','32')
2019-12-18	09:43:43	67	[DEBUG]	Find the custom field ID
2019-12-18	09:43:43	67	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:43	67	[DEBUG]	No custom field ID found
2019-12-18	09:43:43	67	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	67	[DEBUG]	Store custom available field
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131271,3,'59.7336111111111',1)
2019-12-18	09:43:43	67	[DEBUG]	Checking category
2019-12-18	09:43:43	67	[DEBUG]	Delete old category references
2019-12-18	09:43:43	67	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131271
2019-12-18	09:43:43	67	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	67	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131271 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	67	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	67	[DEBUG]	Add new category references
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131271','5','')
2019-12-18	09:43:43	67	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131271','5','')
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:43	68	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field override
2019-12-18	09:43:43	68	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:43	68	[DEBUG]	Process line 68
2019-12-18	09:43:43	68	[DEBUG]	Load a row
2019-12-18	09:43:43	68	[DEBUG]	Processing item: 8436047355926
2019-12-18	09:43:43	68	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:43	68	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:43	68	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1871_13'
2019-12-18	09:43:43	68	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	68	[DEBUG]	Processing product tax
2019-12-18	09:43:43	68	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	68	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	68	[DEBUG]	Query for Product
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131271','8436047355926','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	68	[DEBUG]	No parent found
2019-12-18	09:43:43	68	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131271 AND customfield_value = 'stockable'
2019-12-18	09:43:43	68	[DEBUG]	Check product language entry
2019-12-18	09:43:43	68	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131272
2019-12-18	09:43:43	68	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-argent' AND `virtuemart_product_id` != 131272
2019-12-18	09:43:43	68	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-argent' AND `virtuemart_product_id` != 131272
2019-12-18	09:43:43	68	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131272, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-argent')
2019-12-18	09:43:43	68	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu 7075 T6 (1871) (Argent)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-argent' WHERE `virtuemart_product_id` = '131272'
2019-12-18	09:43:43	68	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7218.jpg
2019-12-18	09:43:43	68	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	68	[DEBUG]	Process image file
2019-12-18	09:43:43	68	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	68	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:43	68	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7218.jpg
2019-12-18	09:43:43	68	[DEBUG]	Full name target: images/stories/virtuemart/product/image_7218.jpg
2019-12-18	09:43:43	68	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_7218.jpg'
2019-12-18	09:43:43	68	[DEBUG]	Query for Media
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_7218.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_7218.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5001'
2019-12-18	09:43:43	68	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131272','5001','1')
2019-12-18	09:43:43	68	[DEBUG]	Store product image relation
2019-12-18	09:43:43	68	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	68	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131272 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	68	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131272','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	68	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	68	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	68	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131272
2019-12-18	09:43:43	68	[DEBUG]	Load a row
2019-12-18	09:43:43	68	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	68	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	68	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	68	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	68	[DEBUG]	Executed store
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131272','32')
2019-12-18	09:43:43	68	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	68	[DEBUG]	Store custom available field
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131272,3,'',1)
2019-12-18	09:43:43	68	[DEBUG]	Checking category
2019-12-18	09:43:43	68	[DEBUG]	Delete old category references
2019-12-18	09:43:43	68	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131272
2019-12-18	09:43:43	68	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	68	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131272 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	68	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	68	[DEBUG]	Add new category references
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131272','5','')
2019-12-18	09:43:43	68	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131272','5','')
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	69	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field override
2019-12-18	09:43:43	69	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:43	69	[DEBUG]	Process line 69
2019-12-18	09:43:43	69	[DEBUG]	Load a row
2019-12-18	09:43:43	69	[DEBUG]	Processing item: A_1871_22
2019-12-18	09:43:43	69	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	69	[DEBUG]	Processing product tax
2019-12-18	09:43:43	69	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	69	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	69	[DEBUG]	Query for Product
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1871_22','0.049','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','not_available.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	69	[DEBUG]	Check product language entry
2019-12-18	09:43:43	69	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131273
2019-12-18	09:43:43	69	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871' AND `virtuemart_product_id` != 131273
2019-12-18	09:43:43	69	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:43	69	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871' OR `slug` REGEXP '^msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131273 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:43	69	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-1' AND `virtuemart_product_id` != 131273
2019-12-18	09:43:43	69	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131273, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-1')
2019-12-18	09:43:43	69	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts de guidon alu7075 T6 MSC Ultralight, 25,5Ø/85MM/5º <br>49gr !<br>N° art fourn : ALUBEN',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu 7075 T6 (1871)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-1' WHERE `virtuemart_product_id` = '131273'
2019-12-18	09:43:43	69	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7217.jpg
2019-12-18	09:43:43	69	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	69	[DEBUG]	Process image file
2019-12-18	09:43:43	69	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	69	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:43	69	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7217.jpg
2019-12-18	09:43:43	69	[DEBUG]	Full name target: images/stories/virtuemart/product/image_7217.jpg
2019-12-18	09:43:43	69	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_7217.jpg'
2019-12-18	09:43:43	69	[DEBUG]	Query for Media
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_7217.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_7217.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5002'
2019-12-18	09:43:43	69	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131273','5002','1')
2019-12-18	09:43:43	69	[DEBUG]	Store product image relation
2019-12-18	09:43:43	69	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	69	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131273 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	69	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131273','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	69	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	69	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	69	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131273
2019-12-18	09:43:43	69	[DEBUG]	Load a row
2019-12-18	09:43:43	69	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	69	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	69	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	69	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	69	[DEBUG]	Executed store
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131273','32')
2019-12-18	09:43:43	69	[DEBUG]	Find the custom field ID
2019-12-18	09:43:43	69	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:43	69	[DEBUG]	No custom field ID found
2019-12-18	09:43:43	69	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	69	[DEBUG]	Store custom available field
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131273,3,'59.7336111111111',1)
2019-12-18	09:43:43	69	[DEBUG]	Checking category
2019-12-18	09:43:43	69	[DEBUG]	Delete old category references
2019-12-18	09:43:43	69	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131273
2019-12-18	09:43:43	69	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	69	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131273 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	69	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	69	[DEBUG]	Add new category references
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131273','5','')
2019-12-18	09:43:43	69	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131273','5','')
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:43	70	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field override
2019-12-18	09:43:43	70	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:43	70	[DEBUG]	Process line 70
2019-12-18	09:43:43	70	[DEBUG]	Load a row
2019-12-18	09:43:43	70	[DEBUG]	Processing item: 8436047355933
2019-12-18	09:43:43	70	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:43	70	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:43	70	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1871_22'
2019-12-18	09:43:43	70	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	70	[DEBUG]	Processing product tax
2019-12-18	09:43:43	70	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	70	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	70	[DEBUG]	Query for Product
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131273','8436047355933','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	70	[DEBUG]	No parent found
2019-12-18	09:43:43	70	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131273 AND customfield_value = 'stockable'
2019-12-18	09:43:43	70	[DEBUG]	Check product language entry
2019-12-18	09:43:43	70	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131274
2019-12-18	09:43:43	70	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-bleu' AND `virtuemart_product_id` != 131274
2019-12-18	09:43:43	70	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-bleu' AND `virtuemart_product_id` != 131274
2019-12-18	09:43:43	70	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131274, 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-bleu')
2019-12-18	09:43:43	70	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu 7075 T6 (1871) (Bleu)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-1871-bleu' WHERE `virtuemart_product_id` = '131274'
2019-12-18	09:43:43	70	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7217.jpg
2019-12-18	09:43:43	70	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	70	[DEBUG]	Process image file
2019-12-18	09:43:43	70	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:43	70	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:43	70	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_7217.jpg
2019-12-18	09:43:43	70	[DEBUG]	Full name target: images/stories/virtuemart/product/image_7217.jpg
2019-12-18	09:43:43	70	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_7217.jpg'
2019-12-18	09:43:43	70	[DEBUG]	Query for Media
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_7217.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_7217.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5002'
2019-12-18	09:43:43	70	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131274','5002','1')
2019-12-18	09:43:43	70	[DEBUG]	Store product image relation
2019-12-18	09:43:43	70	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	70	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131274 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	70	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131274','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	70	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	70	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	70	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131274
2019-12-18	09:43:43	70	[DEBUG]	Load a row
2019-12-18	09:43:43	70	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	70	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:43	70	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:43	70	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	70	[DEBUG]	Executed store
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131274','32')
2019-12-18	09:43:43	70	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	70	[DEBUG]	Store custom available field
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131274,3,'',1)
2019-12-18	09:43:43	70	[DEBUG]	Checking category
2019-12-18	09:43:43	70	[DEBUG]	Delete old category references
2019-12-18	09:43:43	70	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131274
2019-12-18	09:43:43	70	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	70	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131274 AND `virtuemart_category_id`  = 5
2019-12-18	09:43:43	70	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	70	[DEBUG]	Add new category references
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131274','5','')
2019-12-18	09:43:43	70	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131274','5','')
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	71	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field override
2019-12-18	09:43:43	71	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:43	71	[DEBUG]	Process line 71
2019-12-18	09:43:43	71	[DEBUG]	Load a row
2019-12-18	09:43:43	71	[DEBUG]	Processing item: A_6464_3
2019-12-18	09:43:43	71	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	71	[DEBUG]	Processing product tax
2019-12-18	09:43:43	71	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	71	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	71	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	71	[DEBUG]	Query for Product
2019-12-18	09:43:43	71	[DEBUG]	Executed store
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6464_3','5','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	71	[DEBUG]	Check product language entry
2019-12-18	09:43:43	71	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131275
2019-12-18	09:43:43	71	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	71	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-giant-batterie-de-cadre-500-watt-6464' AND `virtuemart_product_id` != 131275
2019-12-18	09:43:43	71	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	71	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-giant-batterie-de-cadre-500-watt-6464' AND `virtuemart_product_id` != 131275
2019-12-18	09:43:43	71	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131275, 'giant-giant-batterie-de-cadre-500-watt-6464')
2019-12-18	09:43:43	71	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	71	[DEBUG]	Executed store
2019-12-18	09:43:43	71	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.032',`product_name`='GIANT GIANT Batterie de cadre 500 watt (6464)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-giant-batterie-de-cadre-500-watt-6464' WHERE `virtuemart_product_id` = '131275'
2019-12-18	09:43:43	71	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32347_giant_batterie_de_cadre_500_watt.jpg has not been found.
2019-12-18	09:43:43	71	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	71	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131275 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	71	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	71	[DEBUG]	Executed store
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131275','0','834.7260909935','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	71	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	71	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	71	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131275
2019-12-18	09:43:43	71	[DEBUG]	Load a row
2019-12-18	09:43:43	71	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	71	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:43	71	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	71	[DEBUG]	Executed store
2019-12-18	09:43:43	71	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:43	71	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	71	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2019-12-18	09:43:43	71	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	71	[DEBUG]	Executed store
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131275','29')
2019-12-18	09:43:43	71	[DEBUG]	Find the custom field ID
2019-12-18	09:43:43	71	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:43	71	[DEBUG]	No custom field ID found
2019-12-18	09:43:43	71	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	71	[DEBUG]	Store custom available field
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131275,3,'0',1)
2019-12-18	09:43:43	71	[DEBUG]	Checking category
2019-12-18	09:43:43	71	[DEBUG]	Check if category path exists: BATTERIE
2019-12-18	09:43:43	71	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:43	71	[DEBUG]	Check if category path exists: BATTERIE
2019-12-18	09:43:43	71	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 461
2019-12-18	09:43:43	71	[DEBUG]	Delete old category references
2019-12-18	09:43:43	71	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131275
2019-12-18	09:43:43	71	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	71	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131275 AND `virtuemart_category_id`  = 462
2019-12-18	09:43:43	71	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	71	[DEBUG]	Add new category references
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131275','462','')
2019-12-18	09:43:43	71	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131275','462','')
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:43	72	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field override
2019-12-18	09:43:43	72	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:43	72	[DEBUG]	Process line 72
2019-12-18	09:43:43	72	[DEBUG]	Load a row
2019-12-18	09:43:43	72	[DEBUG]	Processing item: 1000000105605
2019-12-18	09:43:43	72	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:43	72	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:43	72	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6464_3'
2019-12-18	09:43:43	72	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	72	[DEBUG]	Processing product tax
2019-12-18	09:43:43	72	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	72	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	72	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	72	[DEBUG]	Query for Product
2019-12-18	09:43:43	72	[DEBUG]	Executed store
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131275','1000000105605','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	72	[DEBUG]	No parent found
2019-12-18	09:43:43	72	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131275 AND customfield_value = 'stockable'
2019-12-18	09:43:43	72	[DEBUG]	Check product language entry
2019-12-18	09:43:43	72	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131276
2019-12-18	09:43:43	72	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	72	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-giant-batterie-de-cadre-500-watt-6464-none' AND `virtuemart_product_id` != 131276
2019-12-18	09:43:43	72	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	72	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-giant-batterie-de-cadre-500-watt-6464-none' AND `virtuemart_product_id` != 131276
2019-12-18	09:43:43	72	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131276, 'giant-giant-batterie-de-cadre-500-watt-6464-none')
2019-12-18	09:43:43	72	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	72	[DEBUG]	Executed store
2019-12-18	09:43:43	72	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT GIANT Batterie de cadre 500 watt (6464) (None)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-giant-batterie-de-cadre-500-watt-6464-none' WHERE `virtuemart_product_id` = '131276'
2019-12-18	09:43:43	72	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32347_giant_batterie_de_cadre_500_watt.jpg has not been found.
2019-12-18	09:43:43	72	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	72	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131276 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	72	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	72	[DEBUG]	Executed store
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131276','0','834.7260909935','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	72	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	72	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	72	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131276
2019-12-18	09:43:43	72	[DEBUG]	Load a row
2019-12-18	09:43:43	72	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	72	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:43	72	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	72	[DEBUG]	Executed store
2019-12-18	09:43:43	72	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:43	72	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	72	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2019-12-18	09:43:43	72	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	72	[DEBUG]	Executed store
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131276','29')
2019-12-18	09:43:43	72	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	72	[DEBUG]	Store custom available field
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131276,3,'',1)
2019-12-18	09:43:43	72	[DEBUG]	Checking category
2019-12-18	09:43:43	72	[DEBUG]	Delete old category references
2019-12-18	09:43:43	72	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131276
2019-12-18	09:43:43	72	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	72	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131276 AND `virtuemart_category_id`  = 462
2019-12-18	09:43:43	72	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	72	[DEBUG]	Add new category references
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131276','462','')
2019-12-18	09:43:43	72	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131276','462','')
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	73	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field override
2019-12-18	09:43:43	73	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:43	73	[DEBUG]	Process line 73
2019-12-18	09:43:43	73	[DEBUG]	Load a row
2019-12-18	09:43:43	73	[DEBUG]	Processing item: A_6501_1
2019-12-18	09:43:43	73	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	73	[DEBUG]	Processing product tax
2019-12-18	09:43:43	73	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	73	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	73	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	73	[DEBUG]	Query for Product
2019-12-18	09:43:43	73	[DEBUG]	Executed store
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6501_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	73	[DEBUG]	Check product language entry
2019-12-18	09:43:43	73	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131277
2019-12-18	09:43:43	73	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	73	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-etap-batterie-6501' AND `virtuemart_product_id` != 131277
2019-12-18	09:43:43	73	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	73	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-etap-batterie-6501' AND `virtuemart_product_id` != 131277
2019-12-18	09:43:43	73	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131277, 'sram-etap-batterie-6501')
2019-12-18	09:43:43	73	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	73	[DEBUG]	Executed store
2019-12-18	09:43:43	73	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7520R',`product_name`='SRAM eTap Batterie (6501)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-etap-batterie-6501' WHERE `virtuemart_product_id` = '131277'
2019-12-18	09:43:43	73	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32383_etap_batterie.jpg has not been found.
2019-12-18	09:43:43	73	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	73	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131277 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	73	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	73	[DEBUG]	Executed store
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131277','0','60.3528319405757','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	73	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	73	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	73	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131277
2019-12-18	09:43:43	73	[DEBUG]	Load a row
2019-12-18	09:43:43	73	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	73	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:43	73	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	73	[DEBUG]	Executed store
2019-12-18	09:43:43	73	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:43	73	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	73	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:43	73	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	73	[DEBUG]	Executed store
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131277','35')
2019-12-18	09:43:43	73	[DEBUG]	Find the custom field ID
2019-12-18	09:43:43	73	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:43	73	[DEBUG]	No custom field ID found
2019-12-18	09:43:43	73	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	73	[DEBUG]	Store custom available field
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131277,3,'0',1)
2019-12-18	09:43:43	73	[DEBUG]	Checking category
2019-12-18	09:43:43	73	[DEBUG]	Check if category path exists: BATTERIE ACCESSOIRES
2019-12-18	09:43:43	73	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE ACCESSOIRES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 461
2019-12-18	09:43:43	73	[DEBUG]	Delete old category references
2019-12-18	09:43:43	73	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131277
2019-12-18	09:43:43	73	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	73	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131277 AND `virtuemart_category_id`  = 463
2019-12-18	09:43:43	73	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	73	[DEBUG]	Add new category references
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131277','463','')
2019-12-18	09:43:43	73	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131277','463','')
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:43	74	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field override
2019-12-18	09:43:43	74	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:43	74	[DEBUG]	Process line 74
2019-12-18	09:43:43	74	[DEBUG]	Load a row
2019-12-18	09:43:43	74	[DEBUG]	Processing item: 3823904459
2019-12-18	09:43:43	74	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:43	74	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:43	74	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6501_1'
2019-12-18	09:43:43	74	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	74	[DEBUG]	Processing product tax
2019-12-18	09:43:43	74	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	74	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	74	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	74	[DEBUG]	Query for Product
2019-12-18	09:43:43	74	[DEBUG]	Executed store
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131277','3823904459','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	74	[DEBUG]	No parent found
2019-12-18	09:43:43	74	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131277 AND customfield_value = 'stockable'
2019-12-18	09:43:43	74	[DEBUG]	Check product language entry
2019-12-18	09:43:43	74	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131278
2019-12-18	09:43:43	74	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	74	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-etap-batterie-6501-noir' AND `virtuemart_product_id` != 131278
2019-12-18	09:43:43	74	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	74	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-etap-batterie-6501-noir' AND `virtuemart_product_id` != 131278
2019-12-18	09:43:43	74	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131278, 'sram-etap-batterie-6501-noir')
2019-12-18	09:43:43	74	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	74	[DEBUG]	Executed store
2019-12-18	09:43:43	74	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM eTap Batterie (6501) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-etap-batterie-6501-noir' WHERE `virtuemart_product_id` = '131278'
2019-12-18	09:43:43	74	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32383_etap_batterie.jpg has not been found.
2019-12-18	09:43:43	74	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	74	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131278 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	74	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	74	[DEBUG]	Executed store
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131278','0','60.3528319405757','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	74	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	74	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	74	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131278
2019-12-18	09:43:43	74	[DEBUG]	Load a row
2019-12-18	09:43:43	74	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	74	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:43	74	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	74	[DEBUG]	Executed store
2019-12-18	09:43:43	74	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:43	74	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	74	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:43	74	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:43	74	[DEBUG]	Executed store
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131278','35')
2019-12-18	09:43:43	74	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:43	74	[DEBUG]	Store custom available field
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131278,3,'',1)
2019-12-18	09:43:43	74	[DEBUG]	Checking category
2019-12-18	09:43:43	74	[DEBUG]	Delete old category references
2019-12-18	09:43:43	74	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131278
2019-12-18	09:43:43	74	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:43	74	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131278 AND `virtuemart_category_id`  = 463
2019-12-18	09:43:43	74	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:43	74	[DEBUG]	Add new category references
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131278','463','')
2019-12-18	09:43:43	74	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:43	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131278','463','')
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field published
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:43	75	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field override
2019-12-18	09:43:43	75	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:43	75	[DEBUG]	Process line 75
2019-12-18	09:43:43	75	[DEBUG]	Load a row
2019-12-18	09:43:43	75	[DEBUG]	Processing item: A_5148_1
2019-12-18	09:43:43	75	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:43	75	[DEBUG]	Processing product tax
2019-12-18	09:43:43	75	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:43	75	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:43	75	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:43	75	[DEBUG]	Query for Product
2019-12-18	09:43:43	75	[DEBUG]	Executed store
2019-12-18	09:43:43	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5148_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	75	[DEBUG]	Check product language entry
2019-12-18	09:43:43	75	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131279
2019-12-18	09:43:43	75	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	75	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-arriere-universal-29-alu-27-5-29-5148' AND `virtuemart_product_id` != 131279
2019-12-18	09:43:43	75	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:43	75	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-arriere-universal-29-alu-27-5-29-5148' AND `virtuemart_product_id` != 131279
2019-12-18	09:43:43	75	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:43	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131279, 'ergotec-bequille-arriere-universal-29-alu-27-5-29-5148')
2019-12-18	09:43:43	75	[DEBUG]	Query for ProductLang
2019-12-18	09:43:43	75	[DEBUG]	Executed store
2019-12-18	09:43:43	75	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 510.004',`product_name`='ERGOTEC Béquille arrière Universal 29 alu 27.5/29 (5148)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergotec-bequille-arriere-universal-29-alu-27-5-29-5148' WHERE `virtuemart_product_id` = '131279'
2019-12-18	09:43:43	75	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29609_bequille_arriere_universal_29__alu_27_5-29.jpg has not been found.
2019-12-18	09:43:43	75	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:43	75	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131279 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:43	75	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:43	75	[DEBUG]	Executed store
2019-12-18	09:43:43	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131279','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:43	75	[DEBUG]	Checking manufacturer
2019-12-18	09:43:43	75	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:43	75	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131279
2019-12-18	09:43:43	75	[DEBUG]	Load a row
2019-12-18	09:43:43	75	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:43	75	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:43	75	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:43	75	[DEBUG]	Executed store
2019-12-18	09:43:43	75	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-092018277109' WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:43	75	[DEBUG]	Manufacturer exists
2019-12-18	09:43:43	75	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 122
2019-12-18	09:43:43	75	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	75	[DEBUG]	Executed store
2019-12-18	09:43:44	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131279','122')
2019-12-18	09:43:44	75	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	75	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	75	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	75	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	75	[DEBUG]	Store custom available field
2019-12-18	09:43:44	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131279,3,'0',1)
2019-12-18	09:43:44	75	[DEBUG]	Checking category
2019-12-18	09:43:44	75	[DEBUG]	Check if category path exists: BEQUILLES - STÄNDER
2019-12-18	09:43:44	75	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BEQUILLES - STÄNDER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:44	75	[DEBUG]	Check if category path exists: BEQUILLES - STÄNDER
2019-12-18	09:43:44	75	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BEQUILLES - STÄNDER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 464
2019-12-18	09:43:44	75	[DEBUG]	Delete old category references
2019-12-18	09:43:44	75	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131279
2019-12-18	09:43:44	75	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	75	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131279 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	75	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	75	[DEBUG]	Add new category references
2019-12-18	09:43:44	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131279','465','')
2019-12-18	09:43:44	75	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131279','465','')
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	76	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	76	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	76	[DEBUG]	Process line 76
2019-12-18	09:43:44	76	[DEBUG]	Load a row
2019-12-18	09:43:44	76	[DEBUG]	Processing item: 4016538078998
2019-12-18	09:43:44	76	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	76	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	76	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5148_1'
2019-12-18	09:43:44	76	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	76	[DEBUG]	Processing product tax
2019-12-18	09:43:44	76	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	76	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	76	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	76	[DEBUG]	Query for Product
2019-12-18	09:43:44	76	[DEBUG]	Executed store
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131279','4016538078998','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	76	[DEBUG]	No parent found
2019-12-18	09:43:44	76	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131279 AND customfield_value = 'stockable'
2019-12-18	09:43:44	76	[DEBUG]	Check product language entry
2019-12-18	09:43:44	76	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131280
2019-12-18	09:43:44	76	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	76	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-arriere-universal-29-alu-27-5-29-5148-noir' AND `virtuemart_product_id` != 131280
2019-12-18	09:43:44	76	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	76	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-arriere-universal-29-alu-27-5-29-5148-noir' AND `virtuemart_product_id` != 131280
2019-12-18	09:43:44	76	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131280, 'ergotec-bequille-arriere-universal-29-alu-27-5-29-5148-noir')
2019-12-18	09:43:44	76	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	76	[DEBUG]	Executed store
2019-12-18	09:43:44	76	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ERGOTEC Béquille arrière Universal 29 alu 27.5/29 (5148) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergotec-bequille-arriere-universal-29-alu-27-5-29-5148-noir' WHERE `virtuemart_product_id` = '131280'
2019-12-18	09:43:44	76	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29609_bequille_arriere_universal_29__alu_27_5-29.jpg has not been found.
2019-12-18	09:43:44	76	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	76	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131280 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	76	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	76	[DEBUG]	Executed store
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131280','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	76	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	76	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	76	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131280
2019-12-18	09:43:44	76	[DEBUG]	Load a row
2019-12-18	09:43:44	76	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	76	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:44	76	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	76	[DEBUG]	Executed store
2019-12-18	09:43:44	76	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-092018277109' WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:44	76	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	76	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 122
2019-12-18	09:43:44	76	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	76	[DEBUG]	Executed store
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131280','122')
2019-12-18	09:43:44	76	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	76	[DEBUG]	Store custom available field
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131280,3,'',1)
2019-12-18	09:43:44	76	[DEBUG]	Checking category
2019-12-18	09:43:44	76	[DEBUG]	Delete old category references
2019-12-18	09:43:44	76	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131280
2019-12-18	09:43:44	76	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	76	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131280 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	76	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	76	[DEBUG]	Add new category references
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131280','465','')
2019-12-18	09:43:44	76	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131280','465','')
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	77	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	77	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	77	[DEBUG]	Process line 77
2019-12-18	09:43:44	77	[DEBUG]	Load a row
2019-12-18	09:43:44	77	[DEBUG]	Processing item: A_5156_4
2019-12-18	09:43:44	77	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	77	[DEBUG]	Processing product tax
2019-12-18	09:43:44	77	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	77	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	77	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	77	[DEBUG]	Query for Product
2019-12-18	09:43:44	77	[DEBUG]	Executed store
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5156_4','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	77	[DEBUG]	Check product language entry
2019-12-18	09:43:44	77	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131281
2019-12-18	09:43:44	77	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	77	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-5156' AND `virtuemart_product_id` != 131281
2019-12-18	09:43:44	77	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	77	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-5156' AND `virtuemart_product_id` != 131281
2019-12-18	09:43:44	77	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131281, 'fabien-bike-bequille-pletscher-5156')
2019-12-18	09:43:44	77	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	77	[DEBUG]	Executed store
2019-12-18	09:43:44	77	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.102',`product_name`='Fabien Bike Béquille  pletscher (5156)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-bequille-pletscher-5156' WHERE `virtuemart_product_id` = '131281'
2019-12-18	09:43:44	77	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29621_bequille__pletscher.jpg has not been found.
2019-12-18	09:43:44	77	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	77	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131281 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	77	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	77	[DEBUG]	Executed store
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131281','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	77	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	77	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	77	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131281
2019-12-18	09:43:44	77	[DEBUG]	Load a row
2019-12-18	09:43:44	77	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	77	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:44	77	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	77	[DEBUG]	Executed store
2019-12-18	09:43:44	77	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:44	77	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	77	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2019-12-18	09:43:44	77	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	77	[DEBUG]	Executed store
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131281','27')
2019-12-18	09:43:44	77	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	77	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	77	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	77	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	77	[DEBUG]	Store custom available field
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131281,3,'0',1)
2019-12-18	09:43:44	77	[DEBUG]	Checking category
2019-12-18	09:43:44	77	[DEBUG]	Delete old category references
2019-12-18	09:43:44	77	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131281
2019-12-18	09:43:44	77	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	77	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131281 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	77	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	77	[DEBUG]	Add new category references
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131281','465','')
2019-12-18	09:43:44	77	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131281','465','')
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	78	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	78	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	78	[DEBUG]	Process line 78
2019-12-18	09:43:44	78	[DEBUG]	Load a row
2019-12-18	09:43:44	78	[DEBUG]	Processing item: 1000000078541
2019-12-18	09:43:44	78	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	78	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	78	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5156_4'
2019-12-18	09:43:44	78	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	78	[DEBUG]	Processing product tax
2019-12-18	09:43:44	78	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	78	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	78	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	78	[DEBUG]	Query for Product
2019-12-18	09:43:44	78	[DEBUG]	Executed store
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131281','1000000078541','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	78	[DEBUG]	No parent found
2019-12-18	09:43:44	78	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131281 AND customfield_value = 'stockable'
2019-12-18	09:43:44	78	[DEBUG]	Check product language entry
2019-12-18	09:43:44	78	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131282
2019-12-18	09:43:44	78	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	78	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-5156-acier' AND `virtuemart_product_id` != 131282
2019-12-18	09:43:44	78	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	78	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-5156-acier' AND `virtuemart_product_id` != 131282
2019-12-18	09:43:44	78	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131282, 'fabien-bike-bequille-pletscher-5156-acier')
2019-12-18	09:43:44	78	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	78	[DEBUG]	Executed store
2019-12-18	09:43:44	78	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fabien Bike Béquille  pletscher (5156) (Acier)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-bequille-pletscher-5156-acier' WHERE `virtuemart_product_id` = '131282'
2019-12-18	09:43:44	78	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29621_bequille__pletscher.jpg has not been found.
2019-12-18	09:43:44	78	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	78	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131282 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	78	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	78	[DEBUG]	Executed store
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131282','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	78	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	78	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	78	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131282
2019-12-18	09:43:44	78	[DEBUG]	Load a row
2019-12-18	09:43:44	78	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	78	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:44	78	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	78	[DEBUG]	Executed store
2019-12-18	09:43:44	78	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:44	78	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	78	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2019-12-18	09:43:44	78	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	78	[DEBUG]	Executed store
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131282','27')
2019-12-18	09:43:44	78	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	78	[DEBUG]	Store custom available field
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131282,3,'',1)
2019-12-18	09:43:44	78	[DEBUG]	Checking category
2019-12-18	09:43:44	78	[DEBUG]	Delete old category references
2019-12-18	09:43:44	78	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131282
2019-12-18	09:43:44	78	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	78	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131282 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	78	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	78	[DEBUG]	Add new category references
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131282','465','')
2019-12-18	09:43:44	78	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131282','465','')
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	79	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	79	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	79	[DEBUG]	Process line 79
2019-12-18	09:43:44	79	[DEBUG]	Load a row
2019-12-18	09:43:44	79	[DEBUG]	Processing item: A_5209_1
2019-12-18	09:43:44	79	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	79	[DEBUG]	Processing product tax
2019-12-18	09:43:44	79	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	79	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	79	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	79	[DEBUG]	Query for Product
2019-12-18	09:43:44	79	[DEBUG]	Executed store
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5209_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	79	[DEBUG]	Check product language entry
2019-12-18	09:43:44	79	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131283
2019-12-18	09:43:44	79	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	79	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bequille-oversize-24-28-5209' AND `virtuemart_product_id` != 131283
2019-12-18	09:43:44	79	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	79	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bequille-oversize-24-28-5209' AND `virtuemart_product_id` != 131283
2019-12-18	09:43:44	79	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131283, 'giant-bequille-oversize-24-28-5209')
2019-12-18	09:43:44	79	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	79	[DEBUG]	Executed store
2019-12-18	09:43:44	79	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.148',`product_name`='GIANT Béquille oversize 24-28 (5209)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-bequille-oversize-24-28-5209' WHERE `virtuemart_product_id` = '131283'
2019-12-18	09:43:44	79	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29680_bequille_oversize_24-28_.jpg has not been found.
2019-12-18	09:43:44	79	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	79	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131283 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	79	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	79	[DEBUG]	Executed store
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131283','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	79	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	79	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	79	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131283
2019-12-18	09:43:44	79	[DEBUG]	Load a row
2019-12-18	09:43:44	79	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	79	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:44	79	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	79	[DEBUG]	Executed store
2019-12-18	09:43:44	79	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:44	79	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	79	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2019-12-18	09:43:44	79	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	79	[DEBUG]	Executed store
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131283','29')
2019-12-18	09:43:44	79	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	79	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	79	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	79	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	79	[DEBUG]	Store custom available field
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131283,3,'0',1)
2019-12-18	09:43:44	79	[DEBUG]	Checking category
2019-12-18	09:43:44	79	[DEBUG]	Delete old category references
2019-12-18	09:43:44	79	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131283
2019-12-18	09:43:44	79	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	79	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131283 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	79	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	79	[DEBUG]	Add new category references
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131283','465','')
2019-12-18	09:43:44	79	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131283','465','')
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	80	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	80	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	80	[DEBUG]	Process line 80
2019-12-18	09:43:44	80	[DEBUG]	Load a row
2019-12-18	09:43:44	80	[DEBUG]	Processing item: 1000000079760
2019-12-18	09:43:44	80	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	80	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	80	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5209_1'
2019-12-18	09:43:44	80	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	80	[DEBUG]	Processing product tax
2019-12-18	09:43:44	80	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	80	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	80	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	80	[DEBUG]	Query for Product
2019-12-18	09:43:44	80	[DEBUG]	Executed store
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131283','1000000079760','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	80	[DEBUG]	No parent found
2019-12-18	09:43:44	80	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131283 AND customfield_value = 'stockable'
2019-12-18	09:43:44	80	[DEBUG]	Check product language entry
2019-12-18	09:43:44	80	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131284
2019-12-18	09:43:44	80	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	80	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bequille-oversize-24-28-5209-noir' AND `virtuemart_product_id` != 131284
2019-12-18	09:43:44	80	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	80	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bequille-oversize-24-28-5209-noir' AND `virtuemart_product_id` != 131284
2019-12-18	09:43:44	80	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131284, 'giant-bequille-oversize-24-28-5209-noir')
2019-12-18	09:43:44	80	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	80	[DEBUG]	Executed store
2019-12-18	09:43:44	80	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Béquille oversize 24-28 (5209) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-bequille-oversize-24-28-5209-noir' WHERE `virtuemart_product_id` = '131284'
2019-12-18	09:43:44	80	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29680_bequille_oversize_24-28_.jpg has not been found.
2019-12-18	09:43:44	80	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	80	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131284 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	80	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	80	[DEBUG]	Executed store
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131284','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	80	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	80	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	80	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131284
2019-12-18	09:43:44	80	[DEBUG]	Load a row
2019-12-18	09:43:44	80	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	80	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:44	80	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	80	[DEBUG]	Executed store
2019-12-18	09:43:44	80	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2019-12-18	09:43:44	80	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	80	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2019-12-18	09:43:44	80	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	80	[DEBUG]	Executed store
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131284','29')
2019-12-18	09:43:44	80	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	80	[DEBUG]	Store custom available field
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131284,3,'',1)
2019-12-18	09:43:44	80	[DEBUG]	Checking category
2019-12-18	09:43:44	80	[DEBUG]	Delete old category references
2019-12-18	09:43:44	80	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131284
2019-12-18	09:43:44	80	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	80	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131284 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	80	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	80	[DEBUG]	Add new category references
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131284','465','')
2019-12-18	09:43:44	80	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131284','465','')
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	81	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	81	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	81	[DEBUG]	Process line 81
2019-12-18	09:43:44	81	[DEBUG]	Load a row
2019-12-18	09:43:44	81	[DEBUG]	Processing item: A_5388_208
2019-12-18	09:43:44	81	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	81	[DEBUG]	Processing product tax
2019-12-18	09:43:44	81	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	81	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	81	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	81	[DEBUG]	Query for Product
2019-12-18	09:43:44	81	[DEBUG]	Executed store
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5388_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	81	[DEBUG]	Check product language entry
2019-12-18	09:43:44	81	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131285
2019-12-18	09:43:44	81	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	81	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388' AND `virtuemart_product_id` != 131285
2019-12-18	09:43:44	81	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	81	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388' AND `virtuemart_product_id` != 131285
2019-12-18	09:43:44	81	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131285, 'pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388')
2019-12-18	09:43:44	81	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	81	[DEBUG]	Executed store
2019-12-18	09:43:44	81	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.22473',`product_name`='Pletscher Pletscher Béquille arrière Multi pour 24-28 noir OEM (5388)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388' WHERE `virtuemart_product_id` = '131285'
2019-12-18	09:43:44	81	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29876_pletscher_bequille_arriere_multi_pour_24-28__noir_oem.jpg has not been found.
2019-12-18	09:43:44	81	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	81	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131285 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	81	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	81	[DEBUG]	Executed store
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131285','0','31.4763231197772','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	81	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	81	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	81	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131285
2019-12-18	09:43:44	81	[DEBUG]	Load a row
2019-12-18	09:43:44	81	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	81	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:44	81	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	81	[DEBUG]	Executed store
2019-12-18	09:43:44	81	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:44	81	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	81	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2019-12-18	09:43:44	81	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	81	[DEBUG]	Executed store
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131285','74')
2019-12-18	09:43:44	81	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	81	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	81	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	81	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	81	[DEBUG]	Store custom available field
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131285,3,'0',1)
2019-12-18	09:43:44	81	[DEBUG]	Checking category
2019-12-18	09:43:44	81	[DEBUG]	Delete old category references
2019-12-18	09:43:44	81	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131285
2019-12-18	09:43:44	81	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	81	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131285 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	81	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	81	[DEBUG]	Add new category references
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131285','465','')
2019-12-18	09:43:44	81	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131285','465','')
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	82	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	82	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	82	[DEBUG]	Process line 82
2019-12-18	09:43:44	82	[DEBUG]	Load a row
2019-12-18	09:43:44	82	[DEBUG]	Processing item: 7612616048258
2019-12-18	09:43:44	82	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	82	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	82	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5388_208'
2019-12-18	09:43:44	82	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	82	[DEBUG]	Processing product tax
2019-12-18	09:43:44	82	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	82	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	82	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	82	[DEBUG]	Query for Product
2019-12-18	09:43:44	82	[DEBUG]	Executed store
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131285','7612616048258','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	82	[DEBUG]	No parent found
2019-12-18	09:43:44	82	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131285 AND customfield_value = 'stockable'
2019-12-18	09:43:44	82	[DEBUG]	Check product language entry
2019-12-18	09:43:44	82	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131286
2019-12-18	09:43:44	82	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	82	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388-aucune' AND `virtuemart_product_id` != 131286
2019-12-18	09:43:44	82	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	82	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388-aucune' AND `virtuemart_product_id` != 131286
2019-12-18	09:43:44	82	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131286, 'pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388-aucune')
2019-12-18	09:43:44	82	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	82	[DEBUG]	Executed store
2019-12-18	09:43:44	82	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Pletscher Béquille arrière Multi pour 24-28 noir OEM (5388) (&#60;aucune&#62;)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-pletscher-bequille-arriere-multi-pour-24-28-noir-oem-5388-aucune' WHERE `virtuemart_product_id` = '131286'
2019-12-18	09:43:44	82	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29876_pletscher_bequille_arriere_multi_pour_24-28__noir_oem.jpg has not been found.
2019-12-18	09:43:44	82	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	82	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131286 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	82	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	82	[DEBUG]	Executed store
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131286','0','31.4763231197772','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	82	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	82	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	82	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131286
2019-12-18	09:43:44	82	[DEBUG]	Load a row
2019-12-18	09:43:44	82	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	82	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:44	82	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	82	[DEBUG]	Executed store
2019-12-18	09:43:44	82	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:44	82	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	82	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2019-12-18	09:43:44	82	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	82	[DEBUG]	Executed store
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131286','74')
2019-12-18	09:43:44	82	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	82	[DEBUG]	Store custom available field
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131286,3,'',1)
2019-12-18	09:43:44	82	[DEBUG]	Checking category
2019-12-18	09:43:44	82	[DEBUG]	Delete old category references
2019-12-18	09:43:44	82	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131286
2019-12-18	09:43:44	82	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	82	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131286 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	82	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	82	[DEBUG]	Add new category references
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131286','465','')
2019-12-18	09:43:44	82	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131286','465','')
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	83	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	83	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	83	[DEBUG]	Process line 83
2019-12-18	09:43:44	83	[DEBUG]	Load a row
2019-12-18	09:43:44	83	[DEBUG]	Processing item: A_5389_208
2019-12-18	09:43:44	83	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	83	[DEBUG]	Processing product tax
2019-12-18	09:43:44	83	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	83	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	83	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	83	[DEBUG]	Query for Product
2019-12-18	09:43:44	83	[DEBUG]	Executed store
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5389_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	83	[DEBUG]	Check product language entry
2019-12-18	09:43:44	83	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131287
2019-12-18	09:43:44	83	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	83	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389' AND `virtuemart_product_id` != 131287
2019-12-18	09:43:44	83	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	83	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389' AND `virtuemart_product_id` != 131287
2019-12-18	09:43:44	83	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131287, 'bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389')
2019-12-18	09:43:44	83	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	83	[DEBUG]	Executed store
2019-12-18	09:43:44	83	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.65768',`product_name`='Bike Attitude Bike Attitude Béquille arrière CD-172 pour 26-29&#34; noir (5389)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389' WHERE `virtuemart_product_id` = '131287'
2019-12-18	09:43:44	83	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29877_bike_attitude_bequille_arriere_cd-172_pour_26_-29__noir.jpg has not been found.
2019-12-18	09:43:44	83	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	83	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131287 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	83	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	83	[DEBUG]	Executed store
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131287','0','34.2618384401114','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	83	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	83	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	83	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131287
2019-12-18	09:43:44	83	[DEBUG]	Load a row
2019-12-18	09:43:44	83	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	83	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	83	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	83	[DEBUG]	Executed store
2019-12-18	09:43:44	83	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	83	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	83	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:44	83	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	83	[DEBUG]	Executed store
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131287','48')
2019-12-18	09:43:44	83	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	83	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	83	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	83	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	83	[DEBUG]	Store custom available field
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131287,3,'0',1)
2019-12-18	09:43:44	83	[DEBUG]	Checking category
2019-12-18	09:43:44	83	[DEBUG]	Delete old category references
2019-12-18	09:43:44	83	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131287
2019-12-18	09:43:44	83	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	83	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131287 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	83	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	83	[DEBUG]	Add new category references
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131287','465','')
2019-12-18	09:43:44	83	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131287','465','')
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	84	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	84	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	84	[DEBUG]	Process line 84
2019-12-18	09:43:44	84	[DEBUG]	Load a row
2019-12-18	09:43:44	84	[DEBUG]	Processing item: 4714150556435
2019-12-18	09:43:44	84	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	84	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	84	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5389_208'
2019-12-18	09:43:44	84	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	84	[DEBUG]	Processing product tax
2019-12-18	09:43:44	84	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	84	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	84	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	84	[DEBUG]	Query for Product
2019-12-18	09:43:44	84	[DEBUG]	Executed store
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131287','4714150556435','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	84	[DEBUG]	No parent found
2019-12-18	09:43:44	84	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131287 AND customfield_value = 'stockable'
2019-12-18	09:43:44	84	[DEBUG]	Check product language entry
2019-12-18	09:43:44	84	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131288
2019-12-18	09:43:44	84	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	84	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389-aucune' AND `virtuemart_product_id` != 131288
2019-12-18	09:43:44	84	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	84	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389-aucune' AND `virtuemart_product_id` != 131288
2019-12-18	09:43:44	84	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131288, 'bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389-aucune')
2019-12-18	09:43:44	84	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	84	[DEBUG]	Executed store
2019-12-18	09:43:44	84	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Bike Attitude Béquille arrière CD-172 pour 26-29&#34; noir (5389) (&#60;aucune&#62;)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-bequille-arriere-cd-172-pour-26-29-noir-5389-aucune' WHERE `virtuemart_product_id` = '131288'
2019-12-18	09:43:44	84	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29877_bike_attitude_bequille_arriere_cd-172_pour_26_-29__noir.jpg has not been found.
2019-12-18	09:43:44	84	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	84	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131288 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	84	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	84	[DEBUG]	Executed store
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131288','0','34.2618384401114','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	84	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	84	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	84	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131288
2019-12-18	09:43:44	84	[DEBUG]	Load a row
2019-12-18	09:43:44	84	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	84	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	84	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	84	[DEBUG]	Executed store
2019-12-18	09:43:44	84	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	84	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	84	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:44	84	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	84	[DEBUG]	Executed store
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131288','48')
2019-12-18	09:43:44	84	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	84	[DEBUG]	Store custom available field
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131288,3,'',1)
2019-12-18	09:43:44	84	[DEBUG]	Checking category
2019-12-18	09:43:44	84	[DEBUG]	Delete old category references
2019-12-18	09:43:44	84	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131288
2019-12-18	09:43:44	84	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	84	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131288 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	84	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	84	[DEBUG]	Add new category references
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131288','465','')
2019-12-18	09:43:44	84	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131288','465','')
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	85	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	85	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	85	[DEBUG]	Process line 85
2019-12-18	09:43:44	85	[DEBUG]	Load a row
2019-12-18	09:43:44	85	[DEBUG]	Processing item: A_5390_1
2019-12-18	09:43:44	85	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	85	[DEBUG]	Processing product tax
2019-12-18	09:43:44	85	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	85	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	85	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	85	[DEBUG]	Query for Product
2019-12-18	09:43:44	85	[DEBUG]	Executed store
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5390_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	85	[DEBUG]	Check product language entry
2019-12-18	09:43:44	85	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131289
2019-12-18	09:43:44	85	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	85	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390' AND `virtuemart_product_id` != 131289
2019-12-18	09:43:44	85	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	85	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390' AND `virtuemart_product_id` != 131289
2019-12-18	09:43:44	85	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131289, 'bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390')
2019-12-18	09:43:44	85	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	85	[DEBUG]	Executed store
2019-12-18	09:43:44	85	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.52066',`product_name`='Bike Attitude Béquille Bike Attitude YRA-36B pour 24-28 (5390)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390' WHERE `virtuemart_product_id` = '131289'
2019-12-18	09:43:44	85	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29878_bequille_bike_attitude_yra-36b_pour_24-28_.jpg has not been found.
2019-12-18	09:43:44	85	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	85	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131289 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	85	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	85	[DEBUG]	Executed store
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131289','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	85	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	85	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	85	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131289
2019-12-18	09:43:44	85	[DEBUG]	Load a row
2019-12-18	09:43:44	85	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	85	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	85	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	85	[DEBUG]	Executed store
2019-12-18	09:43:44	85	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	85	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	85	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:44	85	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	85	[DEBUG]	Executed store
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131289','48')
2019-12-18	09:43:44	85	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	85	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	85	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	85	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	85	[DEBUG]	Store custom available field
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131289,3,'0',1)
2019-12-18	09:43:44	85	[DEBUG]	Checking category
2019-12-18	09:43:44	85	[DEBUG]	Delete old category references
2019-12-18	09:43:44	85	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131289
2019-12-18	09:43:44	85	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	85	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131289 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	85	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	85	[DEBUG]	Add new category references
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131289','465','')
2019-12-18	09:43:44	85	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131289','465','')
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	86	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	86	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	86	[DEBUG]	Process line 86
2019-12-18	09:43:44	86	[DEBUG]	Load a row
2019-12-18	09:43:44	86	[DEBUG]	Processing item: 7640116344204
2019-12-18	09:43:44	86	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	86	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	86	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5390_1'
2019-12-18	09:43:44	86	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	86	[DEBUG]	Processing product tax
2019-12-18	09:43:44	86	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	86	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	86	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	86	[DEBUG]	Query for Product
2019-12-18	09:43:44	86	[DEBUG]	Executed store
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131289','7640116344204','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	86	[DEBUG]	No parent found
2019-12-18	09:43:44	86	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131289 AND customfield_value = 'stockable'
2019-12-18	09:43:44	86	[DEBUG]	Check product language entry
2019-12-18	09:43:44	86	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131290
2019-12-18	09:43:44	86	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	86	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390-noir' AND `virtuemart_product_id` != 131290
2019-12-18	09:43:44	86	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	86	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390-noir' AND `virtuemart_product_id` != 131290
2019-12-18	09:43:44	86	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131290, 'bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390-noir')
2019-12-18	09:43:44	86	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	86	[DEBUG]	Executed store
2019-12-18	09:43:44	86	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Béquille Bike Attitude YRA-36B pour 24-28 (5390) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bequille-bike-attitude-yra-36b-pour-24-28-5390-noir' WHERE `virtuemart_product_id` = '131290'
2019-12-18	09:43:44	86	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29878_bequille_bike_attitude_yra-36b_pour_24-28_.jpg has not been found.
2019-12-18	09:43:44	86	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	86	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131290 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	86	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	86	[DEBUG]	Executed store
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131290','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	86	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	86	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	86	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131290
2019-12-18	09:43:44	86	[DEBUG]	Load a row
2019-12-18	09:43:44	86	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	86	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	86	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	86	[DEBUG]	Executed store
2019-12-18	09:43:44	86	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	86	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	86	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:44	86	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	86	[DEBUG]	Executed store
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131290','48')
2019-12-18	09:43:44	86	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	86	[DEBUG]	Store custom available field
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131290,3,'',1)
2019-12-18	09:43:44	86	[DEBUG]	Checking category
2019-12-18	09:43:44	86	[DEBUG]	Delete old category references
2019-12-18	09:43:44	86	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131290
2019-12-18	09:43:44	86	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	86	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131290 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	86	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	86	[DEBUG]	Add new category references
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131290','465','')
2019-12-18	09:43:44	86	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131290','465','')
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	87	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	87	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	87	[DEBUG]	Process line 87
2019-12-18	09:43:44	87	[DEBUG]	Load a row
2019-12-18	09:43:44	87	[DEBUG]	Processing item: A_5391_1
2019-12-18	09:43:44	87	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	87	[DEBUG]	Processing product tax
2019-12-18	09:43:44	87	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	87	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	87	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	87	[DEBUG]	Query for Product
2019-12-18	09:43:44	87	[DEBUG]	Executed store
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5391_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	87	[DEBUG]	Check product language entry
2019-12-18	09:43:44	87	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131291
2019-12-18	09:43:44	87	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	87	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391' AND `virtuemart_product_id` != 131291
2019-12-18	09:43:44	87	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	87	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391' AND `virtuemart_product_id` != 131291
2019-12-18	09:43:44	87	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131291, 'bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391')
2019-12-18	09:43:44	87	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	87	[DEBUG]	Executed store
2019-12-18	09:43:44	87	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.55379',`product_name`='Bike Attitude Béquille Bike Attitude CD-96N pour 26-29 (5391)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391' WHERE `virtuemart_product_id` = '131291'
2019-12-18	09:43:44	87	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29879_bequille_bike_attitude_cd-96n_pour_26-29_.jpg has not been found.
2019-12-18	09:43:44	87	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	87	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131291 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	87	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	87	[DEBUG]	Executed store
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131291','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	87	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	87	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	87	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131291
2019-12-18	09:43:44	87	[DEBUG]	Load a row
2019-12-18	09:43:44	87	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	87	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	87	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	87	[DEBUG]	Executed store
2019-12-18	09:43:44	87	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	87	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	87	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:44	87	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	87	[DEBUG]	Executed store
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131291','48')
2019-12-18	09:43:44	87	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	87	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	87	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	87	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	87	[DEBUG]	Store custom available field
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131291,3,'0',1)
2019-12-18	09:43:44	87	[DEBUG]	Checking category
2019-12-18	09:43:44	87	[DEBUG]	Delete old category references
2019-12-18	09:43:44	87	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131291
2019-12-18	09:43:44	87	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	87	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131291 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	87	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	87	[DEBUG]	Add new category references
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131291','465','')
2019-12-18	09:43:44	87	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131291','465','')
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	88	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	88	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	88	[DEBUG]	Process line 88
2019-12-18	09:43:44	88	[DEBUG]	Load a row
2019-12-18	09:43:44	88	[DEBUG]	Processing item: 4714150553373
2019-12-18	09:43:44	88	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:44	88	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:44	88	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5391_1'
2019-12-18	09:43:44	88	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	88	[DEBUG]	Processing product tax
2019-12-18	09:43:44	88	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	88	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	88	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	88	[DEBUG]	Query for Product
2019-12-18	09:43:44	88	[DEBUG]	Executed store
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131291','4714150553373','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	88	[DEBUG]	No parent found
2019-12-18	09:43:44	88	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131291 AND customfield_value = 'stockable'
2019-12-18	09:43:44	88	[DEBUG]	Check product language entry
2019-12-18	09:43:44	88	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131292
2019-12-18	09:43:44	88	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	88	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391-noir' AND `virtuemart_product_id` != 131292
2019-12-18	09:43:44	88	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	88	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391-noir' AND `virtuemart_product_id` != 131292
2019-12-18	09:43:44	88	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131292, 'bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391-noir')
2019-12-18	09:43:44	88	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	88	[DEBUG]	Executed store
2019-12-18	09:43:44	88	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Béquille Bike Attitude CD-96N pour 26-29 (5391) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bequille-bike-attitude-cd-96n-pour-26-29-5391-noir' WHERE `virtuemart_product_id` = '131292'
2019-12-18	09:43:44	88	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29879_bequille_bike_attitude_cd-96n_pour_26-29_.jpg has not been found.
2019-12-18	09:43:44	88	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	88	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131292 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	88	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	88	[DEBUG]	Executed store
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131292','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	88	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	88	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	88	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131292
2019-12-18	09:43:44	88	[DEBUG]	Load a row
2019-12-18	09:43:44	88	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	88	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	88	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	88	[DEBUG]	Executed store
2019-12-18	09:43:44	88	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:44	88	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	88	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:44	88	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	88	[DEBUG]	Executed store
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131292','48')
2019-12-18	09:43:44	88	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	88	[DEBUG]	Store custom available field
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131292,3,'',1)
2019-12-18	09:43:44	88	[DEBUG]	Checking category
2019-12-18	09:43:44	88	[DEBUG]	Delete old category references
2019-12-18	09:43:44	88	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131292
2019-12-18	09:43:44	88	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	88	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131292 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	88	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	88	[DEBUG]	Add new category references
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131292','465','')
2019-12-18	09:43:44	88	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131292','465','')
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	89	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field override
2019-12-18	09:43:44	89	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:44	89	[DEBUG]	Process line 89
2019-12-18	09:43:44	89	[DEBUG]	Load a row
2019-12-18	09:43:44	89	[DEBUG]	Processing item: A_5583_1
2019-12-18	09:43:44	89	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:44	89	[DEBUG]	Processing product tax
2019-12-18	09:43:44	89	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:44	89	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:44	89	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:44	89	[DEBUG]	Query for Product
2019-12-18	09:43:44	89	[DEBUG]	Executed store
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5583_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	89	[DEBUG]	Check product language entry
2019-12-18	09:43:44	89	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131293
2019-12-18	09:43:44	89	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	89	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583' AND `virtuemart_product_id` != 131293
2019-12-18	09:43:44	89	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:44	89	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583' AND `virtuemart_product_id` != 131293
2019-12-18	09:43:44	89	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131293, 'thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583')
2019-12-18	09:43:44	89	[DEBUG]	Query for ProductLang
2019-12-18	09:43:44	89	[DEBUG]	Executed store
2019-12-18	09:43:44	89	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 511001',`product_name`='Thule Béquille  pletscher arrière comp 18 24\'\' / 28\'\' montage sur base (5583)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583' WHERE `virtuemart_product_id` = '131293'
2019-12-18	09:43:44	89	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30083_bequille__pletscher_arriere_comp_18_24___-_28___montage_sur_base.jpg has not been found.
2019-12-18	09:43:44	89	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:44	89	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131293 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:44	89	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:44	89	[DEBUG]	Executed store
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131293','0','24.9767873723305','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:44	89	[DEBUG]	Checking manufacturer
2019-12-18	09:43:44	89	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:44	89	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131293
2019-12-18	09:43:44	89	[DEBUG]	Load a row
2019-12-18	09:43:44	89	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:44	89	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:44	89	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:44	89	[DEBUG]	Executed store
2019-12-18	09:43:44	89	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:44	89	[DEBUG]	Manufacturer exists
2019-12-18	09:43:44	89	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2019-12-18	09:43:44	89	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:44	89	[DEBUG]	Executed store
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131293','138')
2019-12-18	09:43:44	89	[DEBUG]	Find the custom field ID
2019-12-18	09:43:44	89	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:44	89	[DEBUG]	No custom field ID found
2019-12-18	09:43:44	89	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:44	89	[DEBUG]	Store custom available field
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131293,3,'0',1)
2019-12-18	09:43:44	89	[DEBUG]	Checking category
2019-12-18	09:43:44	89	[DEBUG]	Delete old category references
2019-12-18	09:43:44	89	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131293
2019-12-18	09:43:44	89	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:44	89	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131293 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:44	89	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:44	89	[DEBUG]	Add new category references
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131293','465','')
2019-12-18	09:43:44	89	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:44	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131293','465','')
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field published
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:44	90	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field override
2019-12-18	09:43:44	90	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:44	90	[DEBUG]	Process line 90
2019-12-18	09:43:45	90	[DEBUG]	Load a row
2019-12-18	09:43:45	90	[DEBUG]	Processing item: 1000000084993
2019-12-18	09:43:45	90	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	90	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	90	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5583_1'
2019-12-18	09:43:45	90	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	90	[DEBUG]	Processing product tax
2019-12-18	09:43:45	90	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	90	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	90	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	90	[DEBUG]	Query for Product
2019-12-18	09:43:45	90	[DEBUG]	Executed store
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131293','1000000084993','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	90	[DEBUG]	No parent found
2019-12-18	09:43:45	90	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131293 AND customfield_value = 'stockable'
2019-12-18	09:43:45	90	[DEBUG]	Check product language entry
2019-12-18	09:43:45	90	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131294
2019-12-18	09:43:45	90	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	90	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583-noir' AND `virtuemart_product_id` != 131294
2019-12-18	09:43:45	90	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	90	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583-noir' AND `virtuemart_product_id` != 131294
2019-12-18	09:43:45	90	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131294, 'thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583-noir')
2019-12-18	09:43:45	90	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	90	[DEBUG]	Executed store
2019-12-18	09:43:45	90	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Béquille  pletscher arrière comp 18 24\'\' / 28\'\' montage sur base (5583) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-bequille-pletscher-arriere-comp-18-24-28-montage-sur-base-5583-noir' WHERE `virtuemart_product_id` = '131294'
2019-12-18	09:43:45	90	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30083_bequille__pletscher_arriere_comp_18_24___-_28___montage_sur_base.jpg has not been found.
2019-12-18	09:43:45	90	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	90	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131294 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	90	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	90	[DEBUG]	Executed store
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131294','0','24.9767873723305','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	90	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	90	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	90	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131294
2019-12-18	09:43:45	90	[DEBUG]	Load a row
2019-12-18	09:43:45	90	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	90	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:45	90	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	90	[DEBUG]	Executed store
2019-12-18	09:43:45	90	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2019-12-18	09:43:45	90	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	90	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2019-12-18	09:43:45	90	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	90	[DEBUG]	Executed store
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131294','138')
2019-12-18	09:43:45	90	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	90	[DEBUG]	Store custom available field
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131294,3,'',1)
2019-12-18	09:43:45	90	[DEBUG]	Checking category
2019-12-18	09:43:45	90	[DEBUG]	Delete old category references
2019-12-18	09:43:45	90	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131294
2019-12-18	09:43:45	90	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	90	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131294 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	90	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	90	[DEBUG]	Add new category references
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131294','465','')
2019-12-18	09:43:45	90	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131294','465','')
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	91	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	91	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	91	[DEBUG]	Process line 91
2019-12-18	09:43:45	91	[DEBUG]	Load a row
2019-12-18	09:43:45	91	[DEBUG]	Processing item: A_5595_1
2019-12-18	09:43:45	91	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	91	[DEBUG]	Processing product tax
2019-12-18	09:43:45	91	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	91	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	91	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	91	[DEBUG]	Query for Product
2019-12-18	09:43:45	91	[DEBUG]	Executed store
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5595_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	91	[DEBUG]	Check product language entry
2019-12-18	09:43:45	91	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131295
2019-12-18	09:43:45	91	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	91	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595' AND `virtuemart_product_id` != 131295
2019-12-18	09:43:45	91	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	91	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595' AND `virtuemart_product_id` != 131295
2019-12-18	09:43:45	91	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131295, 'stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595')
2019-12-18	09:43:45	91	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	91	[DEBUG]	Executed store
2019-12-18	09:43:45	91	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 137003',`product_name`='STYLO Béquille Atran STYLO DV 24-28 noir 18mm, réglable 325gr (5595)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595' WHERE `virtuemart_product_id` = '131295'
2019-12-18	09:43:45	91	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30095_bequille_atran_stylo_dv_24-28__noir_18mm,_reglable_325gr.jpg has not been found.
2019-12-18	09:43:45	91	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	91	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131295 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	91	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	91	[DEBUG]	Executed store
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131295','0','19.405756731662','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	91	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	91	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	91	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131295
2019-12-18	09:43:45	91	[DEBUG]	Load a row
2019-12-18	09:43:45	91	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	91	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '155'
2019-12-18	09:43:45	91	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	91	[DEBUG]	Executed store
2019-12-18	09:43:45	91	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09286601090' WHERE `virtuemart_manufacturer_id` = '155'
2019-12-18	09:43:45	91	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	91	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 155
2019-12-18	09:43:45	91	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	91	[DEBUG]	Executed store
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131295','155')
2019-12-18	09:43:45	91	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	91	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	91	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	91	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	91	[DEBUG]	Store custom available field
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131295,3,'0',1)
2019-12-18	09:43:45	91	[DEBUG]	Checking category
2019-12-18	09:43:45	91	[DEBUG]	Delete old category references
2019-12-18	09:43:45	91	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131295
2019-12-18	09:43:45	91	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	91	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131295 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	91	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	91	[DEBUG]	Add new category references
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131295','465','')
2019-12-18	09:43:45	91	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131295','465','')
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	92	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	92	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	92	[DEBUG]	Process line 92
2019-12-18	09:43:45	92	[DEBUG]	Load a row
2019-12-18	09:43:45	92	[DEBUG]	Processing item: 7350006381324
2019-12-18	09:43:45	92	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	92	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	92	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5595_1'
2019-12-18	09:43:45	92	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	92	[DEBUG]	Processing product tax
2019-12-18	09:43:45	92	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	92	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	92	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	92	[DEBUG]	Query for Product
2019-12-18	09:43:45	92	[DEBUG]	Executed store
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131295','7350006381324','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	92	[DEBUG]	No parent found
2019-12-18	09:43:45	92	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131295 AND customfield_value = 'stockable'
2019-12-18	09:43:45	92	[DEBUG]	Check product language entry
2019-12-18	09:43:45	92	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131296
2019-12-18	09:43:45	92	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	92	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595-noir' AND `virtuemart_product_id` != 131296
2019-12-18	09:43:45	92	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	92	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595-noir' AND `virtuemart_product_id` != 131296
2019-12-18	09:43:45	92	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131296, 'stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595-noir')
2019-12-18	09:43:45	92	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	92	[DEBUG]	Executed store
2019-12-18	09:43:45	92	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='STYLO Béquille Atran STYLO DV 24-28 noir 18mm, réglable 325gr (5595) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='stylo-bequille-atran-stylo-dv-24-28-noir-18mm-reglable-325gr-5595-noir' WHERE `virtuemart_product_id` = '131296'
2019-12-18	09:43:45	92	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30095_bequille_atran_stylo_dv_24-28__noir_18mm,_reglable_325gr.jpg has not been found.
2019-12-18	09:43:45	92	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	92	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131296 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	92	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	92	[DEBUG]	Executed store
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131296','0','19.405756731662','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	92	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	92	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	92	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131296
2019-12-18	09:43:45	92	[DEBUG]	Load a row
2019-12-18	09:43:45	92	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	92	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '155'
2019-12-18	09:43:45	92	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	92	[DEBUG]	Executed store
2019-12-18	09:43:45	92	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09286601090' WHERE `virtuemart_manufacturer_id` = '155'
2019-12-18	09:43:45	92	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	92	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 155
2019-12-18	09:43:45	92	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	92	[DEBUG]	Executed store
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131296','155')
2019-12-18	09:43:45	92	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	92	[DEBUG]	Store custom available field
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131296,3,'',1)
2019-12-18	09:43:45	92	[DEBUG]	Checking category
2019-12-18	09:43:45	92	[DEBUG]	Delete old category references
2019-12-18	09:43:45	92	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131296
2019-12-18	09:43:45	92	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	92	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131296 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	92	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	92	[DEBUG]	Add new category references
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131296','465','')
2019-12-18	09:43:45	92	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131296','465','')
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	93	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	93	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	93	[DEBUG]	Process line 93
2019-12-18	09:43:45	93	[DEBUG]	Load a row
2019-12-18	09:43:45	93	[DEBUG]	Processing item: A_5596_1
2019-12-18	09:43:45	93	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	93	[DEBUG]	Processing product tax
2019-12-18	09:43:45	93	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	93	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	93	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	93	[DEBUG]	Query for Product
2019-12-18	09:43:45	93	[DEBUG]	Executed store
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5596_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	93	[DEBUG]	Check product language entry
2019-12-18	09:43:45	93	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131297
2019-12-18	09:43:45	93	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	93	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596' AND `virtuemart_product_id` != 131297
2019-12-18	09:43:45	93	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	93	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596' AND `virtuemart_product_id` != 131297
2019-12-18	09:43:45	93	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131297, 'dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596')
2019-12-18	09:43:45	93	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	93	[DEBUG]	Executed store
2019-12-18	09:43:45	93	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 137020',`product_name`='DUX Béquille Atran DUX AUTO DV 24-29 entre-axe 18mm longeur réglable 310gr (5596)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596' WHERE `virtuemart_product_id` = '131297'
2019-12-18	09:43:45	93	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30096_bequille_atran_dux_auto_dv_24-29__entre-axe_18mm_longeur_reglable_310gr.jpg has not been found.
2019-12-18	09:43:45	93	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	93	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131297 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	93	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	93	[DEBUG]	Executed store
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131297','0','24.0482822655525','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	93	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	93	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	93	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131297
2019-12-18	09:43:45	93	[DEBUG]	Load a row
2019-12-18	09:43:45	93	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	93	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	93	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	93	[DEBUG]	Executed store
2019-12-18	09:43:45	93	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09312341123' WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	93	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	93	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 156
2019-12-18	09:43:45	93	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	93	[DEBUG]	Executed store
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131297','156')
2019-12-18	09:43:45	93	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	93	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	93	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	93	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	93	[DEBUG]	Store custom available field
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131297,3,'0',1)
2019-12-18	09:43:45	93	[DEBUG]	Checking category
2019-12-18	09:43:45	93	[DEBUG]	Delete old category references
2019-12-18	09:43:45	93	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131297
2019-12-18	09:43:45	93	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	93	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131297 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	93	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	93	[DEBUG]	Add new category references
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131297','465','')
2019-12-18	09:43:45	93	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131297','465','')
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	94	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	94	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	94	[DEBUG]	Process line 94
2019-12-18	09:43:45	94	[DEBUG]	Load a row
2019-12-18	09:43:45	94	[DEBUG]	Processing item: 1000000085129
2019-12-18	09:43:45	94	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	94	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	94	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5596_1'
2019-12-18	09:43:45	94	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	94	[DEBUG]	Processing product tax
2019-12-18	09:43:45	94	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	94	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	94	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	94	[DEBUG]	Query for Product
2019-12-18	09:43:45	94	[DEBUG]	Executed store
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131297','1000000085129','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	94	[DEBUG]	No parent found
2019-12-18	09:43:45	94	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131297 AND customfield_value = 'stockable'
2019-12-18	09:43:45	94	[DEBUG]	Check product language entry
2019-12-18	09:43:45	94	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131298
2019-12-18	09:43:45	94	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	94	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596-noir' AND `virtuemart_product_id` != 131298
2019-12-18	09:43:45	94	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	94	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596-noir' AND `virtuemart_product_id` != 131298
2019-12-18	09:43:45	94	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131298, 'dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596-noir')
2019-12-18	09:43:45	94	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	94	[DEBUG]	Executed store
2019-12-18	09:43:45	94	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DUX Béquille Atran DUX AUTO DV 24-29 entre-axe 18mm longeur réglable 310gr (5596) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux-bequille-atran-dux-auto-dv-24-29-entre-axe-18mm-longeur-reglable-310gr-5596-noir' WHERE `virtuemart_product_id` = '131298'
2019-12-18	09:43:45	94	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30096_bequille_atran_dux_auto_dv_24-29__entre-axe_18mm_longeur_reglable_310gr.jpg has not been found.
2019-12-18	09:43:45	94	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	94	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131298 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	94	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	94	[DEBUG]	Executed store
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131298','0','24.0482822655525','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	94	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	94	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	94	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131298
2019-12-18	09:43:45	94	[DEBUG]	Load a row
2019-12-18	09:43:45	94	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	94	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	94	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	94	[DEBUG]	Executed store
2019-12-18	09:43:45	94	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09312341123' WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	94	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	94	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 156
2019-12-18	09:43:45	94	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	94	[DEBUG]	Executed store
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131298','156')
2019-12-18	09:43:45	94	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	94	[DEBUG]	Store custom available field
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131298,3,'',1)
2019-12-18	09:43:45	94	[DEBUG]	Checking category
2019-12-18	09:43:45	94	[DEBUG]	Delete old category references
2019-12-18	09:43:45	94	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131298
2019-12-18	09:43:45	94	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	94	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131298 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	94	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	94	[DEBUG]	Add new category references
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131298','465','')
2019-12-18	09:43:45	94	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131298','465','')
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	95	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	95	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	95	[DEBUG]	Process line 95
2019-12-18	09:43:45	95	[DEBUG]	Load a row
2019-12-18	09:43:45	95	[DEBUG]	Processing item: A_5597_1
2019-12-18	09:43:45	95	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	95	[DEBUG]	Processing product tax
2019-12-18	09:43:45	95	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	95	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	95	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	95	[DEBUG]	Query for Product
2019-12-18	09:43:45	95	[DEBUG]	Executed store
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5597_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	95	[DEBUG]	Check product language entry
2019-12-18	09:43:45	95	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131299
2019-12-18	09:43:45	95	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	95	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597' AND `virtuemart_product_id` != 131299
2019-12-18	09:43:45	95	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	95	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597' AND `virtuemart_product_id` != 131299
2019-12-18	09:43:45	95	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131299, 'dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597')
2019-12-18	09:43:45	95	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	95	[DEBUG]	Executed store
2019-12-18	09:43:45	95	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 137018',`product_name`='DUX Béquille Atran DUX  DV 24-29 entre-axe 18mm longeur réglable 325gr  (5597)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597' WHERE `virtuemart_product_id` = '131299'
2019-12-18	09:43:45	95	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30097_bequille_atran_dux__dv_24-29__entre-axe_18mm_longeur_reglable_325gr_.jpg has not been found.
2019-12-18	09:43:45	95	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	95	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131299 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	95	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	95	[DEBUG]	Executed store
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131299','0','23.1197771587744','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	95	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	95	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	95	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131299
2019-12-18	09:43:45	95	[DEBUG]	Load a row
2019-12-18	09:43:45	95	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	95	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	95	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	95	[DEBUG]	Executed store
2019-12-18	09:43:45	95	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09312341123' WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	95	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	95	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 156
2019-12-18	09:43:45	95	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	95	[DEBUG]	Executed store
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131299','156')
2019-12-18	09:43:45	95	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	95	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	95	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	95	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	95	[DEBUG]	Store custom available field
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131299,3,'0',1)
2019-12-18	09:43:45	95	[DEBUG]	Checking category
2019-12-18	09:43:45	95	[DEBUG]	Delete old category references
2019-12-18	09:43:45	95	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131299
2019-12-18	09:43:45	95	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	95	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131299 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	95	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	95	[DEBUG]	Add new category references
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131299','465','')
2019-12-18	09:43:45	95	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131299','465','')
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	96	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	96	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	96	[DEBUG]	Process line 96
2019-12-18	09:43:45	96	[DEBUG]	Load a row
2019-12-18	09:43:45	96	[DEBUG]	Processing item: 7350006381737
2019-12-18	09:43:45	96	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	96	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	96	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5597_1'
2019-12-18	09:43:45	96	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	96	[DEBUG]	Processing product tax
2019-12-18	09:43:45	96	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	96	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	96	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	96	[DEBUG]	Query for Product
2019-12-18	09:43:45	96	[DEBUG]	Executed store
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131299','7350006381737','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	96	[DEBUG]	No parent found
2019-12-18	09:43:45	96	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131299 AND customfield_value = 'stockable'
2019-12-18	09:43:45	96	[DEBUG]	Check product language entry
2019-12-18	09:43:45	96	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131300
2019-12-18	09:43:45	96	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	96	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597-noir' AND `virtuemart_product_id` != 131300
2019-12-18	09:43:45	96	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	96	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597-noir' AND `virtuemart_product_id` != 131300
2019-12-18	09:43:45	96	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131300, 'dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597-noir')
2019-12-18	09:43:45	96	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	96	[DEBUG]	Executed store
2019-12-18	09:43:45	96	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DUX Béquille Atran DUX  DV 24-29 entre-axe 18mm longeur réglable 325gr  (5597) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux-bequille-atran-dux-dv-24-29-entre-axe-18mm-longeur-reglable-325gr-5597-noir' WHERE `virtuemart_product_id` = '131300'
2019-12-18	09:43:45	96	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30097_bequille_atran_dux__dv_24-29__entre-axe_18mm_longeur_reglable_325gr_.jpg has not been found.
2019-12-18	09:43:45	96	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	96	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131300 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	96	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	96	[DEBUG]	Executed store
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131300','0','23.1197771587744','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	96	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	96	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	96	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131300
2019-12-18	09:43:45	96	[DEBUG]	Load a row
2019-12-18	09:43:45	96	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	96	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	96	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	96	[DEBUG]	Executed store
2019-12-18	09:43:45	96	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09312341123' WHERE `virtuemart_manufacturer_id` = '156'
2019-12-18	09:43:45	96	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	96	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 156
2019-12-18	09:43:45	96	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	96	[DEBUG]	Executed store
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131300','156')
2019-12-18	09:43:45	96	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	96	[DEBUG]	Store custom available field
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131300,3,'',1)
2019-12-18	09:43:45	96	[DEBUG]	Checking category
2019-12-18	09:43:45	96	[DEBUG]	Delete old category references
2019-12-18	09:43:45	96	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131300
2019-12-18	09:43:45	96	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	96	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131300 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	96	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	96	[DEBUG]	Add new category references
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131300','465','')
2019-12-18	09:43:45	96	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131300','465','')
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	97	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	97	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	97	[DEBUG]	Process line 97
2019-12-18	09:43:45	97	[DEBUG]	Load a row
2019-12-18	09:43:45	97	[DEBUG]	Processing item: A_5807_1
2019-12-18	09:43:45	97	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	97	[DEBUG]	Processing product tax
2019-12-18	09:43:45	97	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	97	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	97	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	97	[DEBUG]	Query for Product
2019-12-18	09:43:45	97	[DEBUG]	Executed store
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5807_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	97	[DEBUG]	Check product language entry
2019-12-18	09:43:45	97	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131301
2019-12-18	09:43:45	97	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	97	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-easy-adjust-26-28-29-5807' AND `virtuemart_product_id` != 131301
2019-12-18	09:43:45	97	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	97	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-easy-adjust-26-28-29-5807' AND `virtuemart_product_id` != 131301
2019-12-18	09:43:45	97	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131301, 'scott-bequille-syncros-easy-adjust-26-28-29-5807')
2019-12-18	09:43:45	97	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	97	[DEBUG]	Executed store
2019-12-18	09:43:45	97	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 210210',`product_name`='Scott Béquille Syncros Easy Adjust 26/28/29 (5807)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='scott-bequille-syncros-easy-adjust-26-28-29-5807' WHERE `virtuemart_product_id` = '131301'
2019-12-18	09:43:45	97	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30325_bequille_syncros_easy_adjust_26-28-29.jpg has not been found.
2019-12-18	09:43:45	97	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	97	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131301 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	97	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	97	[DEBUG]	Executed store
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131301','0','14.7632311977716','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	97	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	97	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	97	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131301
2019-12-18	09:43:45	97	[DEBUG]	Load a row
2019-12-18	09:43:45	97	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	97	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	97	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	97	[DEBUG]	Executed store
2019-12-18	09:43:45	97	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271026043539' WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	97	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	97	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 168
2019-12-18	09:43:45	97	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	97	[DEBUG]	Executed store
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131301','168')
2019-12-18	09:43:45	97	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	97	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	97	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	97	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	97	[DEBUG]	Store custom available field
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131301,3,'0',1)
2019-12-18	09:43:45	97	[DEBUG]	Checking category
2019-12-18	09:43:45	97	[DEBUG]	Delete old category references
2019-12-18	09:43:45	97	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131301
2019-12-18	09:43:45	97	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	97	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131301 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	97	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	97	[DEBUG]	Add new category references
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131301','465','')
2019-12-18	09:43:45	97	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131301','465','')
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	98	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	98	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	98	[DEBUG]	Process line 98
2019-12-18	09:43:45	98	[DEBUG]	Load a row
2019-12-18	09:43:45	98	[DEBUG]	Processing item: 7613152584385
2019-12-18	09:43:45	98	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	98	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	98	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5807_1'
2019-12-18	09:43:45	98	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	98	[DEBUG]	Processing product tax
2019-12-18	09:43:45	98	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	98	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	98	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	98	[DEBUG]	Query for Product
2019-12-18	09:43:45	98	[DEBUG]	Executed store
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131301','7613152584385','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	98	[DEBUG]	No parent found
2019-12-18	09:43:45	98	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131301 AND customfield_value = 'stockable'
2019-12-18	09:43:45	98	[DEBUG]	Check product language entry
2019-12-18	09:43:45	98	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131302
2019-12-18	09:43:45	98	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	98	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-easy-adjust-26-28-29-5807-noir' AND `virtuemart_product_id` != 131302
2019-12-18	09:43:45	98	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	98	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-easy-adjust-26-28-29-5807-noir' AND `virtuemart_product_id` != 131302
2019-12-18	09:43:45	98	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131302, 'scott-bequille-syncros-easy-adjust-26-28-29-5807-noir')
2019-12-18	09:43:45	98	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	98	[DEBUG]	Executed store
2019-12-18	09:43:45	98	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Scott Béquille Syncros Easy Adjust 26/28/29 (5807) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='scott-bequille-syncros-easy-adjust-26-28-29-5807-noir' WHERE `virtuemart_product_id` = '131302'
2019-12-18	09:43:45	98	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30325_bequille_syncros_easy_adjust_26-28-29.jpg has not been found.
2019-12-18	09:43:45	98	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	98	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131302 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	98	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	98	[DEBUG]	Executed store
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131302','0','14.7632311977716','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	98	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	98	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	98	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131302
2019-12-18	09:43:45	98	[DEBUG]	Load a row
2019-12-18	09:43:45	98	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	98	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	98	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	98	[DEBUG]	Executed store
2019-12-18	09:43:45	98	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271026043539' WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	98	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	98	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 168
2019-12-18	09:43:45	98	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	98	[DEBUG]	Executed store
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131302','168')
2019-12-18	09:43:45	98	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	98	[DEBUG]	Store custom available field
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131302,3,'',1)
2019-12-18	09:43:45	98	[DEBUG]	Checking category
2019-12-18	09:43:45	98	[DEBUG]	Delete old category references
2019-12-18	09:43:45	98	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131302
2019-12-18	09:43:45	98	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	98	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131302 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	98	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	98	[DEBUG]	Add new category references
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131302','465','')
2019-12-18	09:43:45	98	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131302','465','')
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	99	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	99	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	99	[DEBUG]	Process line 99
2019-12-18	09:43:45	99	[DEBUG]	Load a row
2019-12-18	09:43:45	99	[DEBUG]	Processing item: A_5808_1
2019-12-18	09:43:45	99	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	99	[DEBUG]	Processing product tax
2019-12-18	09:43:45	99	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	99	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	99	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	99	[DEBUG]	Query for Product
2019-12-18	09:43:45	99	[DEBUG]	Executed store
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5808_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	99	[DEBUG]	Check product language entry
2019-12-18	09:43:45	99	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131303
2019-12-18	09:43:45	99	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	99	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-2-bolts-direct-mount-5808' AND `virtuemart_product_id` != 131303
2019-12-18	09:43:45	99	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	99	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-2-bolts-direct-mount-5808' AND `virtuemart_product_id` != 131303
2019-12-18	09:43:45	99	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131303, 'scott-bequille-syncros-2-bolts-direct-mount-5808')
2019-12-18	09:43:45	99	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	99	[DEBUG]	Executed store
2019-12-18	09:43:45	99	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 250604',`product_name`='Scott Béquille Syncros 2 Bolts Direct Mount (5808)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='scott-bequille-syncros-2-bolts-direct-mount-5808' WHERE `virtuemart_product_id` = '131303'
2019-12-18	09:43:45	99	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30326_bequille_syncros_2_bolts_direct_mount.jpg has not been found.
2019-12-18	09:43:45	99	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	99	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131303 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	99	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	99	[DEBUG]	Executed store
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131303','0','24.0482822655525','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	99	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	99	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	99	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131303
2019-12-18	09:43:45	99	[DEBUG]	Load a row
2019-12-18	09:43:45	99	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	99	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	99	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	99	[DEBUG]	Executed store
2019-12-18	09:43:45	99	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271026043539' WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	99	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	99	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 168
2019-12-18	09:43:45	99	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	99	[DEBUG]	Executed store
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131303','168')
2019-12-18	09:43:45	99	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	99	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	99	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	99	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	99	[DEBUG]	Store custom available field
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131303,3,'0',1)
2019-12-18	09:43:45	99	[DEBUG]	Checking category
2019-12-18	09:43:45	99	[DEBUG]	Delete old category references
2019-12-18	09:43:45	99	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131303
2019-12-18	09:43:45	99	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	99	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131303 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	99	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	99	[DEBUG]	Add new category references
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131303','465','')
2019-12-18	09:43:45	99	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131303','465','')
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	100	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	100	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	100	[DEBUG]	Process line 100
2019-12-18	09:43:45	100	[DEBUG]	Load a row
2019-12-18	09:43:45	100	[DEBUG]	Processing item: 7613317731326
2019-12-18	09:43:45	100	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	100	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	100	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5808_1'
2019-12-18	09:43:45	100	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	100	[DEBUG]	Processing product tax
2019-12-18	09:43:45	100	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	100	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	100	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	100	[DEBUG]	Query for Product
2019-12-18	09:43:45	100	[DEBUG]	Executed store
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131303','7613317731326','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	100	[DEBUG]	No parent found
2019-12-18	09:43:45	100	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131303 AND customfield_value = 'stockable'
2019-12-18	09:43:45	100	[DEBUG]	Check product language entry
2019-12-18	09:43:45	100	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131304
2019-12-18	09:43:45	100	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-2-bolts-direct-mount-5808-noir' AND `virtuemart_product_id` != 131304
2019-12-18	09:43:45	100	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'scott-bequille-syncros-2-bolts-direct-mount-5808-noir' AND `virtuemart_product_id` != 131304
2019-12-18	09:43:45	100	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131304, 'scott-bequille-syncros-2-bolts-direct-mount-5808-noir')
2019-12-18	09:43:45	100	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	100	[DEBUG]	Executed store
2019-12-18	09:43:45	100	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Scott Béquille Syncros 2 Bolts Direct Mount (5808) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='scott-bequille-syncros-2-bolts-direct-mount-5808-noir' WHERE `virtuemart_product_id` = '131304'
2019-12-18	09:43:45	100	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30326_bequille_syncros_2_bolts_direct_mount.jpg has not been found.
2019-12-18	09:43:45	100	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	100	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131304 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	100	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	100	[DEBUG]	Executed store
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131304','0','24.0482822655525','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	100	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	100	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	100	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131304
2019-12-18	09:43:45	100	[DEBUG]	Load a row
2019-12-18	09:43:45	100	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	100	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	100	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	100	[DEBUG]	Executed store
2019-12-18	09:43:45	100	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271026043539' WHERE `virtuemart_manufacturer_id` = '168'
2019-12-18	09:43:45	100	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	100	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 168
2019-12-18	09:43:45	100	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	100	[DEBUG]	Executed store
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131304','168')
2019-12-18	09:43:45	100	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	100	[DEBUG]	Store custom available field
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131304,3,'',1)
2019-12-18	09:43:45	100	[DEBUG]	Checking category
2019-12-18	09:43:45	100	[DEBUG]	Delete old category references
2019-12-18	09:43:45	100	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131304
2019-12-18	09:43:45	100	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	100	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131304 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	100	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	100	[DEBUG]	Add new category references
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131304','465','')
2019-12-18	09:43:45	100	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131304','465','')
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	101	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	101	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	101	[DEBUG]	Process line 101
2019-12-18	09:43:45	101	[DEBUG]	Load a row
2019-12-18	09:43:45	101	[DEBUG]	Processing item: A_5830_1
2019-12-18	09:43:45	101	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	101	[DEBUG]	Processing product tax
2019-12-18	09:43:45	101	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	101	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	101	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	101	[DEBUG]	Query for Product
2019-12-18	09:43:45	101	[DEBUG]	Executed store
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5830_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	101	[DEBUG]	Check product language entry
2019-12-18	09:43:45	101	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131305
2019-12-18	09:43:45	101	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-40-flex-5830' AND `virtuemart_product_id` != 131305
2019-12-18	09:43:45	101	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-40-flex-5830' AND `virtuemart_product_id` != 131305
2019-12-18	09:43:45	101	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131305, 'pletscher-pletscher-seitenstutze-comp-40-flex-5830')
2019-12-18	09:43:45	101	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	101	[DEBUG]	Executed store
2019-12-18	09:43:45	101	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.71920',`product_name`='Pletscher Pletscher Seitenstütze Comp 40 Flex (5830)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-pletscher-seitenstutze-comp-40-flex-5830' WHERE `virtuemart_product_id` = '131305'
2019-12-18	09:43:45	101	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30357_pletscher_seitenstutze_comp_40_flex.jpg has not been found.
2019-12-18	09:43:45	101	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	101	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131305 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	101	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	101	[DEBUG]	Executed store
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131305','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	101	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	101	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	101	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131305
2019-12-18	09:43:45	101	[DEBUG]	Load a row
2019-12-18	09:43:45	101	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	101	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:45	101	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	101	[DEBUG]	Executed store
2019-12-18	09:43:45	101	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:45	101	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	101	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2019-12-18	09:43:45	101	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	101	[DEBUG]	Executed store
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131305','74')
2019-12-18	09:43:45	101	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	101	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	101	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	101	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	101	[DEBUG]	Store custom available field
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131305,3,'0',1)
2019-12-18	09:43:45	101	[DEBUG]	Checking category
2019-12-18	09:43:45	101	[DEBUG]	Delete old category references
2019-12-18	09:43:45	101	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131305
2019-12-18	09:43:45	101	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	101	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131305 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	101	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	101	[DEBUG]	Add new category references
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131305','465','')
2019-12-18	09:43:45	101	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131305','465','')
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	102	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	102	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	102	[DEBUG]	Process line 102
2019-12-18	09:43:45	102	[DEBUG]	Load a row
2019-12-18	09:43:45	102	[DEBUG]	Processing item: 1000000087765
2019-12-18	09:43:45	102	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	102	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	102	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5830_1'
2019-12-18	09:43:45	102	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	102	[DEBUG]	Processing product tax
2019-12-18	09:43:45	102	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	102	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	102	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	102	[DEBUG]	Query for Product
2019-12-18	09:43:45	102	[DEBUG]	Executed store
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131305','1000000087765','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	102	[DEBUG]	No parent found
2019-12-18	09:43:45	102	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131305 AND customfield_value = 'stockable'
2019-12-18	09:43:45	102	[DEBUG]	Check product language entry
2019-12-18	09:43:45	102	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131306
2019-12-18	09:43:45	102	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-40-flex-5830-noir' AND `virtuemart_product_id` != 131306
2019-12-18	09:43:45	102	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-40-flex-5830-noir' AND `virtuemart_product_id` != 131306
2019-12-18	09:43:45	102	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131306, 'pletscher-pletscher-seitenstutze-comp-40-flex-5830-noir')
2019-12-18	09:43:45	102	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	102	[DEBUG]	Executed store
2019-12-18	09:43:45	102	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Pletscher Seitenstütze Comp 40 Flex (5830) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-pletscher-seitenstutze-comp-40-flex-5830-noir' WHERE `virtuemart_product_id` = '131306'
2019-12-18	09:43:45	102	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30357_pletscher_seitenstutze_comp_40_flex.jpg has not been found.
2019-12-18	09:43:45	102	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	102	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131306 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	102	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	102	[DEBUG]	Executed store
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131306','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	102	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	102	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	102	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131306
2019-12-18	09:43:45	102	[DEBUG]	Load a row
2019-12-18	09:43:45	102	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	102	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:45	102	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	102	[DEBUG]	Executed store
2019-12-18	09:43:45	102	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:45	102	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	102	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2019-12-18	09:43:45	102	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	102	[DEBUG]	Executed store
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131306','74')
2019-12-18	09:43:45	102	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	102	[DEBUG]	Store custom available field
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131306,3,'',1)
2019-12-18	09:43:45	102	[DEBUG]	Checking category
2019-12-18	09:43:45	102	[DEBUG]	Delete old category references
2019-12-18	09:43:45	102	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131306
2019-12-18	09:43:45	102	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	102	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131306 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	102	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	102	[DEBUG]	Add new category references
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131306','465','')
2019-12-18	09:43:45	102	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131306','465','')
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	103	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field override
2019-12-18	09:43:45	103	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:45	103	[DEBUG]	Process line 103
2019-12-18	09:43:45	103	[DEBUG]	Load a row
2019-12-18	09:43:45	103	[DEBUG]	Processing item: A_5831_1
2019-12-18	09:43:45	103	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	103	[DEBUG]	Processing product tax
2019-12-18	09:43:45	103	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	103	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	103	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	103	[DEBUG]	Query for Product
2019-12-18	09:43:45	103	[DEBUG]	Executed store
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5831_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	103	[DEBUG]	Check product language entry
2019-12-18	09:43:45	103	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131307
2019-12-18	09:43:45	103	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-18-flex-5831' AND `virtuemart_product_id` != 131307
2019-12-18	09:43:45	103	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-18-flex-5831' AND `virtuemart_product_id` != 131307
2019-12-18	09:43:45	103	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131307, 'pletscher-pletscher-seitenstutze-comp-18-flex-5831')
2019-12-18	09:43:45	103	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	103	[DEBUG]	Executed store
2019-12-18	09:43:45	103	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.71919',`product_name`='Pletscher Pletscher Seitenstütze Comp 18 Flex (5831)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-pletscher-seitenstutze-comp-18-flex-5831' WHERE `virtuemart_product_id` = '131307'
2019-12-18	09:43:45	103	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30358_pletscher_seitenstutze_comp_18_flex.jpg has not been found.
2019-12-18	09:43:45	103	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:45	103	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131307 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:45	103	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:45	103	[DEBUG]	Executed store
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131307','0','32.4048282265552','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	103	[DEBUG]	Checking manufacturer
2019-12-18	09:43:45	103	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:45	103	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131307
2019-12-18	09:43:45	103	[DEBUG]	Load a row
2019-12-18	09:43:45	103	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:45	103	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:45	103	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:45	103	[DEBUG]	Executed store
2019-12-18	09:43:45	103	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:45	103	[DEBUG]	Manufacturer exists
2019-12-18	09:43:45	103	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2019-12-18	09:43:45	103	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:45	103	[DEBUG]	Executed store
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131307','74')
2019-12-18	09:43:45	103	[DEBUG]	Find the custom field ID
2019-12-18	09:43:45	103	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:45	103	[DEBUG]	No custom field ID found
2019-12-18	09:43:45	103	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:45	103	[DEBUG]	Store custom available field
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131307,3,'0',1)
2019-12-18	09:43:45	103	[DEBUG]	Checking category
2019-12-18	09:43:45	103	[DEBUG]	Delete old category references
2019-12-18	09:43:45	103	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131307
2019-12-18	09:43:45	103	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:45	103	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131307 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:45	103	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:45	103	[DEBUG]	Add new category references
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131307','465','')
2019-12-18	09:43:45	103	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131307','465','')
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field published
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:45	104	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field override
2019-12-18	09:43:45	104	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:45	104	[DEBUG]	Process line 104
2019-12-18	09:43:45	104	[DEBUG]	Load a row
2019-12-18	09:43:45	104	[DEBUG]	Processing item: 7612616058417
2019-12-18	09:43:45	104	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:45	104	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:45	104	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5831_1'
2019-12-18	09:43:45	104	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:45	104	[DEBUG]	Processing product tax
2019-12-18	09:43:45	104	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:45	104	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:45	104	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:45	104	[DEBUG]	Query for Product
2019-12-18	09:43:45	104	[DEBUG]	Executed store
2019-12-18	09:43:45	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131307','7612616058417','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:45	104	[DEBUG]	No parent found
2019-12-18	09:43:45	104	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131307 AND customfield_value = 'stockable'
2019-12-18	09:43:45	104	[DEBUG]	Check product language entry
2019-12-18	09:43:45	104	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131308
2019-12-18	09:43:45	104	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-18-flex-5831-noir' AND `virtuemart_product_id` != 131308
2019-12-18	09:43:45	104	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:45	104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-pletscher-seitenstutze-comp-18-flex-5831-noir' AND `virtuemart_product_id` != 131308
2019-12-18	09:43:45	104	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:45	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131308, 'pletscher-pletscher-seitenstutze-comp-18-flex-5831-noir')
2019-12-18	09:43:45	104	[DEBUG]	Query for ProductLang
2019-12-18	09:43:45	104	[DEBUG]	Executed store
2019-12-18	09:43:45	104	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Pletscher Seitenstütze Comp 18 Flex (5831) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-pletscher-seitenstutze-comp-18-flex-5831-noir' WHERE `virtuemart_product_id` = '131308'
2019-12-18	09:43:46	104	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30358_pletscher_seitenstutze_comp_18_flex.jpg has not been found.
2019-12-18	09:43:46	104	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	104	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131308 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	104	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	104	[DEBUG]	Executed store
2019-12-18	09:43:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131308','0','32.4048282265552','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	104	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	104	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	104	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131308
2019-12-18	09:43:46	104	[DEBUG]	Load a row
2019-12-18	09:43:46	104	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	104	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:46	104	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	104	[DEBUG]	Executed store
2019-12-18	09:43:46	104	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2019-12-18	09:43:46	104	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	104	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2019-12-18	09:43:46	104	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	104	[DEBUG]	Executed store
2019-12-18	09:43:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131308','74')
2019-12-18	09:43:46	104	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	104	[DEBUG]	Store custom available field
2019-12-18	09:43:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131308,3,'',1)
2019-12-18	09:43:46	104	[DEBUG]	Checking category
2019-12-18	09:43:46	104	[DEBUG]	Delete old category references
2019-12-18	09:43:46	104	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131308
2019-12-18	09:43:46	104	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	104	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131308 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	104	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	104	[DEBUG]	Add new category references
2019-12-18	09:43:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131308','465','')
2019-12-18	09:43:46	104	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131308','465','')
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	105	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	105	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	105	[DEBUG]	Process line 105
2019-12-18	09:43:46	105	[DEBUG]	Load a row
2019-12-18	09:43:46	105	[DEBUG]	Processing item: A_6017_1
2019-12-18	09:43:46	105	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	105	[DEBUG]	Processing product tax
2019-12-18	09:43:46	105	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	105	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	105	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	105	[DEBUG]	Query for Product
2019-12-18	09:43:46	105	[DEBUG]	Executed store
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6017_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	105	[DEBUG]	Check product language entry
2019-12-18	09:43:46	105	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131309
2019-12-18	09:43:46	105	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-laterale-standard-6017' AND `virtuemart_product_id` != 131309
2019-12-18	09:43:46	105	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-laterale-standard-6017' AND `virtuemart_product_id` != 131309
2019-12-18	09:43:46	105	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131309, 'fabien-bike-bequille-pletscher-laterale-standard-6017')
2019-12-18	09:43:46	105	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	105	[DEBUG]	Executed store
2019-12-18	09:43:46	105	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.17512',`product_name`='Fabien Bike Béquille  pletscher latérale standard (6017)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-bequille-pletscher-laterale-standard-6017' WHERE `virtuemart_product_id` = '131309'
2019-12-18	09:43:46	105	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/31618_bequille__pletscher_laterale_standard.jpg has not been found.
2019-12-18	09:43:46	105	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	105	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131309 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	105	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	105	[DEBUG]	Executed store
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131309','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	105	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	105	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	105	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131309
2019-12-18	09:43:46	105	[DEBUG]	Load a row
2019-12-18	09:43:46	105	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	105	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:46	105	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	105	[DEBUG]	Executed store
2019-12-18	09:43:46	105	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:46	105	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	105	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2019-12-18	09:43:46	105	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	105	[DEBUG]	Executed store
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131309','27')
2019-12-18	09:43:46	105	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	105	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	105	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	105	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	105	[DEBUG]	Store custom available field
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131309,3,'0',1)
2019-12-18	09:43:46	105	[DEBUG]	Checking category
2019-12-18	09:43:46	105	[DEBUG]	Delete old category references
2019-12-18	09:43:46	105	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131309
2019-12-18	09:43:46	105	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	105	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131309 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	105	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	105	[DEBUG]	Add new category references
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131309','465','')
2019-12-18	09:43:46	105	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131309','465','')
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	106	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	106	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	106	[DEBUG]	Process line 106
2019-12-18	09:43:46	106	[DEBUG]	Load a row
2019-12-18	09:43:46	106	[DEBUG]	Processing item: 7612616049231
2019-12-18	09:43:46	106	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	106	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	106	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6017_1'
2019-12-18	09:43:46	106	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	106	[DEBUG]	Processing product tax
2019-12-18	09:43:46	106	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	106	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	106	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	106	[DEBUG]	Query for Product
2019-12-18	09:43:46	106	[DEBUG]	Executed store
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131309','7612616049231','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	106	[DEBUG]	No parent found
2019-12-18	09:43:46	106	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131309 AND customfield_value = 'stockable'
2019-12-18	09:43:46	106	[DEBUG]	Check product language entry
2019-12-18	09:43:46	106	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131310
2019-12-18	09:43:46	106	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-laterale-standard-6017-noir' AND `virtuemart_product_id` != 131310
2019-12-18	09:43:46	106	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-bequille-pletscher-laterale-standard-6017-noir' AND `virtuemart_product_id` != 131310
2019-12-18	09:43:46	106	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131310, 'fabien-bike-bequille-pletscher-laterale-standard-6017-noir')
2019-12-18	09:43:46	106	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	106	[DEBUG]	Executed store
2019-12-18	09:43:46	106	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fabien Bike Béquille  pletscher latérale standard (6017) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-bequille-pletscher-laterale-standard-6017-noir' WHERE `virtuemart_product_id` = '131310'
2019-12-18	09:43:46	106	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/31618_bequille__pletscher_laterale_standard.jpg has not been found.
2019-12-18	09:43:46	106	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	106	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131310 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	106	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	106	[DEBUG]	Executed store
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131310','0','15.6917363045497','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	106	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	106	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	106	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131310
2019-12-18	09:43:46	106	[DEBUG]	Load a row
2019-12-18	09:43:46	106	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	106	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:46	106	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	106	[DEBUG]	Executed store
2019-12-18	09:43:46	106	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2019-12-18	09:43:46	106	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	106	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2019-12-18	09:43:46	106	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	106	[DEBUG]	Executed store
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131310','27')
2019-12-18	09:43:46	106	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	106	[DEBUG]	Store custom available field
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131310,3,'',1)
2019-12-18	09:43:46	106	[DEBUG]	Checking category
2019-12-18	09:43:46	106	[DEBUG]	Delete old category references
2019-12-18	09:43:46	106	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131310
2019-12-18	09:43:46	106	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	106	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131310 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	106	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	106	[DEBUG]	Add new category references
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131310','465','')
2019-12-18	09:43:46	106	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131310','465','')
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	107	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	107	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	107	[DEBUG]	Process line 107
2019-12-18	09:43:46	107	[DEBUG]	Load a row
2019-12-18	09:43:46	107	[DEBUG]	Processing item: A_6193_1
2019-12-18	09:43:46	107	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	107	[DEBUG]	Processing product tax
2019-12-18	09:43:46	107	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	107	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	107	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	107	[DEBUG]	Query for Product
2019-12-18	09:43:46	107	[DEBUG]	Executed store
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6193_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	107	[DEBUG]	Check product language entry
2019-12-18	09:43:46	107	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131311
2019-12-18	09:43:46	107	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-24-28-universelle-6193' AND `virtuemart_product_id` != 131311
2019-12-18	09:43:46	107	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-24-28-universelle-6193' AND `virtuemart_product_id` != 131311
2019-12-18	09:43:46	107	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131311, 'ergotec-bequille-24-28-universelle-6193')
2019-12-18	09:43:46	107	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	107	[DEBUG]	Executed store
2019-12-18	09:43:46	107	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.149',`product_name`='ERGOTEC Béquille 24-28\'\'  universelle  (6193)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergotec-bequille-24-28-universelle-6193' WHERE `virtuemart_product_id` = '131311'
2019-12-18	09:43:46	107	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32033_bequille_24-28____universelle_.jpg has not been found.
2019-12-18	09:43:46	107	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	107	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131311 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	107	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	107	[DEBUG]	Executed store
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131311','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	107	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	107	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	107	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131311
2019-12-18	09:43:46	107	[DEBUG]	Load a row
2019-12-18	09:43:46	107	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	107	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	107	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	107	[DEBUG]	Executed store
2019-12-18	09:43:46	107	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-092018277109' WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	107	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	107	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 122
2019-12-18	09:43:46	107	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	107	[DEBUG]	Executed store
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131311','122')
2019-12-18	09:43:46	107	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	107	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	107	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	107	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	107	[DEBUG]	Store custom available field
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131311,3,'0',1)
2019-12-18	09:43:46	107	[DEBUG]	Checking category
2019-12-18	09:43:46	107	[DEBUG]	Delete old category references
2019-12-18	09:43:46	107	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131311
2019-12-18	09:43:46	107	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	107	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131311 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	107	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	107	[DEBUG]	Add new category references
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131311','465','')
2019-12-18	09:43:46	107	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131311','465','')
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	108	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	108	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	108	[DEBUG]	Process line 108
2019-12-18	09:43:46	108	[DEBUG]	Load a row
2019-12-18	09:43:46	108	[DEBUG]	Processing item: 1000000102512
2019-12-18	09:43:46	108	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	108	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	108	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6193_1'
2019-12-18	09:43:46	108	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	108	[DEBUG]	Processing product tax
2019-12-18	09:43:46	108	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	108	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	108	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	108	[DEBUG]	Query for Product
2019-12-18	09:43:46	108	[DEBUG]	Executed store
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131311','1000000102512','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	108	[DEBUG]	No parent found
2019-12-18	09:43:46	108	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131311 AND customfield_value = 'stockable'
2019-12-18	09:43:46	108	[DEBUG]	Check product language entry
2019-12-18	09:43:46	108	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131312
2019-12-18	09:43:46	108	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-24-28-universelle-6193-noir' AND `virtuemart_product_id` != 131312
2019-12-18	09:43:46	108	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-24-28-universelle-6193-noir' AND `virtuemart_product_id` != 131312
2019-12-18	09:43:46	108	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131312, 'ergotec-bequille-24-28-universelle-6193-noir')
2019-12-18	09:43:46	108	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	108	[DEBUG]	Executed store
2019-12-18	09:43:46	108	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ERGOTEC Béquille 24-28\'\'  universelle  (6193) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergotec-bequille-24-28-universelle-6193-noir' WHERE `virtuemart_product_id` = '131312'
2019-12-18	09:43:46	108	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32033_bequille_24-28____universelle_.jpg has not been found.
2019-12-18	09:43:46	108	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	108	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131312 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	108	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	108	[DEBUG]	Executed store
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131312','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	108	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	108	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	108	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131312
2019-12-18	09:43:46	108	[DEBUG]	Load a row
2019-12-18	09:43:46	108	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	108	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	108	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	108	[DEBUG]	Executed store
2019-12-18	09:43:46	108	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-092018277109' WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	108	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	108	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 122
2019-12-18	09:43:46	108	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	108	[DEBUG]	Executed store
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131312','122')
2019-12-18	09:43:46	108	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	108	[DEBUG]	Store custom available field
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131312,3,'',1)
2019-12-18	09:43:46	108	[DEBUG]	Checking category
2019-12-18	09:43:46	108	[DEBUG]	Delete old category references
2019-12-18	09:43:46	108	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131312
2019-12-18	09:43:46	108	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	108	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131312 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	108	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	108	[DEBUG]	Add new category references
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131312','465','')
2019-12-18	09:43:46	108	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131312','465','')
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	109	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	109	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	109	[DEBUG]	Process line 109
2019-12-18	09:43:46	109	[DEBUG]	Load a row
2019-12-18	09:43:46	109	[DEBUG]	Processing item: A_6194_1
2019-12-18	09:43:46	109	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	109	[DEBUG]	Processing product tax
2019-12-18	09:43:46	109	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	109	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	109	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	109	[DEBUG]	Query for Product
2019-12-18	09:43:46	109	[DEBUG]	Executed store
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6194_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	109	[DEBUG]	Check product language entry
2019-12-18	09:43:46	109	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131313
2019-12-18	09:43:46	109	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-universelle-24-28-6194' AND `virtuemart_product_id` != 131313
2019-12-18	09:43:46	109	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-universelle-24-28-6194' AND `virtuemart_product_id` != 131313
2019-12-18	09:43:46	109	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131313, 'ergotec-bequille-universelle-24-28-6194')
2019-12-18	09:43:46	109	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	109	[DEBUG]	Executed store
2019-12-18	09:43:46	109	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.145',`product_name`='ERGOTEC Béquille Universelle 24-28&#34; (6194)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergotec-bequille-universelle-24-28-6194' WHERE `virtuemart_product_id` = '131313'
2019-12-18	09:43:46	109	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32034_bequille_universelle_24_-28_.jpg has not been found.
2019-12-18	09:43:46	109	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	109	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131313 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	109	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	109	[DEBUG]	Executed store
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131313','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	109	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	109	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	109	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131313
2019-12-18	09:43:46	109	[DEBUG]	Load a row
2019-12-18	09:43:46	109	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	109	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	109	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	109	[DEBUG]	Executed store
2019-12-18	09:43:46	109	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-092018277109' WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	109	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	109	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 122
2019-12-18	09:43:46	109	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	109	[DEBUG]	Executed store
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131313','122')
2019-12-18	09:43:46	109	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	109	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	109	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	109	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	109	[DEBUG]	Store custom available field
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131313,3,'0',1)
2019-12-18	09:43:46	109	[DEBUG]	Checking category
2019-12-18	09:43:46	109	[DEBUG]	Delete old category references
2019-12-18	09:43:46	109	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131313
2019-12-18	09:43:46	109	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	109	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131313 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	109	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	109	[DEBUG]	Add new category references
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131313','465','')
2019-12-18	09:43:46	109	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131313','465','')
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	110	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	110	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	110	[DEBUG]	Process line 110
2019-12-18	09:43:46	110	[DEBUG]	Load a row
2019-12-18	09:43:46	110	[DEBUG]	Processing item: 4016538073276
2019-12-18	09:43:46	110	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	110	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	110	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6194_1'
2019-12-18	09:43:46	110	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	110	[DEBUG]	Processing product tax
2019-12-18	09:43:46	110	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	110	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	110	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	110	[DEBUG]	Query for Product
2019-12-18	09:43:46	110	[DEBUG]	Executed store
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131313','4016538073276','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	110	[DEBUG]	No parent found
2019-12-18	09:43:46	110	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131313 AND customfield_value = 'stockable'
2019-12-18	09:43:46	110	[DEBUG]	Check product language entry
2019-12-18	09:43:46	110	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131314
2019-12-18	09:43:46	110	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-universelle-24-28-6194-noir' AND `virtuemart_product_id` != 131314
2019-12-18	09:43:46	110	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergotec-bequille-universelle-24-28-6194-noir' AND `virtuemart_product_id` != 131314
2019-12-18	09:43:46	110	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131314, 'ergotec-bequille-universelle-24-28-6194-noir')
2019-12-18	09:43:46	110	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	110	[DEBUG]	Executed store
2019-12-18	09:43:46	110	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ERGOTEC Béquille Universelle 24-28&#34; (6194) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergotec-bequille-universelle-24-28-6194-noir' WHERE `virtuemart_product_id` = '131314'
2019-12-18	09:43:46	110	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32034_bequille_universelle_24_-28_.jpg has not been found.
2019-12-18	09:43:46	110	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	110	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131314 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	110	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	110	[DEBUG]	Executed store
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131314','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	110	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	110	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	110	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131314
2019-12-18	09:43:46	110	[DEBUG]	Load a row
2019-12-18	09:43:46	110	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	110	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	110	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	110	[DEBUG]	Executed store
2019-12-18	09:43:46	110	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-092018277109' WHERE `virtuemart_manufacturer_id` = '122'
2019-12-18	09:43:46	110	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	110	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 122
2019-12-18	09:43:46	110	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	110	[DEBUG]	Executed store
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131314','122')
2019-12-18	09:43:46	110	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	110	[DEBUG]	Store custom available field
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131314,3,'',1)
2019-12-18	09:43:46	110	[DEBUG]	Checking category
2019-12-18	09:43:46	110	[DEBUG]	Delete old category references
2019-12-18	09:43:46	110	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131314
2019-12-18	09:43:46	110	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	110	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131314 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	110	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	110	[DEBUG]	Add new category references
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131314','465','')
2019-12-18	09:43:46	110	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131314','465','')
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_availability
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	111	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	111	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	111	[DEBUG]	Process line 111
2019-12-18	09:43:46	111	[DEBUG]	Load a row
2019-12-18	09:43:46	111	[DEBUG]	Processing item: A_6200_1
2019-12-18	09:43:46	111	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	111	[DEBUG]	Processing product tax
2019-12-18	09:43:46	111	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	111	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	111	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	111	[DEBUG]	Query for Product
2019-12-18	09:43:46	111	[DEBUG]	Executed store
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6200_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	111	[DEBUG]	Check product language entry
2019-12-18	09:43:46	111	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131315
2019-12-18	09:43:46	111	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200' AND `virtuemart_product_id` != 131315
2019-12-18	09:43:46	111	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200' AND `virtuemart_product_id` != 131315
2019-12-18	09:43:46	111	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131315, 'bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200')
2019-12-18	09:43:46	111	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	111	[DEBUG]	Executed store
2019-12-18	09:43:46	111	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 41.52065',`product_name`='Bike Attitude Bike Attitude Béquille arrière CD-91 pour 24-28 (6200)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200' WHERE `virtuemart_product_id` = '131315'
2019-12-18	09:43:46	111	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32042_bike_attitude_bequille_arriere_cd-91_pour_24-28_.jpg has not been found.
2019-12-18	09:43:46	111	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	111	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131315 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	111	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	111	[DEBUG]	Executed store
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131315','0','34.2618384401114','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	111	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	111	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	111	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131315
2019-12-18	09:43:46	111	[DEBUG]	Load a row
2019-12-18	09:43:46	111	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	111	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:46	111	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	111	[DEBUG]	Executed store
2019-12-18	09:43:46	111	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:46	111	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	111	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:46	111	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	111	[DEBUG]	Executed store
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131315','48')
2019-12-18	09:43:46	111	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	111	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	111	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	111	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	111	[DEBUG]	Store custom available field
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131315,3,'0',1)
2019-12-18	09:43:46	111	[DEBUG]	Checking category
2019-12-18	09:43:46	111	[DEBUG]	Delete old category references
2019-12-18	09:43:46	111	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131315
2019-12-18	09:43:46	111	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	111	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131315 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	111	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	111	[DEBUG]	Add new category references
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131315','465','')
2019-12-18	09:43:46	111	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131315','465','')
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	112	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	112	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	112	[DEBUG]	Process line 112
2019-12-18	09:43:46	112	[DEBUG]	Load a row
2019-12-18	09:43:46	112	[DEBUG]	Processing item: 7640116344198
2019-12-18	09:43:46	112	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	112	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	112	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6200_1'
2019-12-18	09:43:46	112	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	112	[DEBUG]	Processing product tax
2019-12-18	09:43:46	112	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	112	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	112	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	112	[DEBUG]	Query for Product
2019-12-18	09:43:46	112	[DEBUG]	Executed store
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131315','7640116344198','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	112	[DEBUG]	No parent found
2019-12-18	09:43:46	112	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131315 AND customfield_value = 'stockable'
2019-12-18	09:43:46	112	[DEBUG]	Check product language entry
2019-12-18	09:43:46	112	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131316
2019-12-18	09:43:46	112	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200-noir' AND `virtuemart_product_id` != 131316
2019-12-18	09:43:46	112	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200-noir' AND `virtuemart_product_id` != 131316
2019-12-18	09:43:46	112	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131316, 'bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200-noir')
2019-12-18	09:43:46	112	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	112	[DEBUG]	Executed store
2019-12-18	09:43:46	112	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Bike Attitude Béquille arrière CD-91 pour 24-28 (6200) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-bequille-arriere-cd-91-pour-24-28-6200-noir' WHERE `virtuemart_product_id` = '131316'
2019-12-18	09:43:46	112	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32042_bike_attitude_bequille_arriere_cd-91_pour_24-28_.jpg has not been found.
2019-12-18	09:43:46	112	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	112	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131316 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	112	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	112	[DEBUG]	Executed store
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131316','0','34.2618384401114','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	112	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	112	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	112	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131316
2019-12-18	09:43:46	112	[DEBUG]	Load a row
2019-12-18	09:43:46	112	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	112	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:46	112	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	112	[DEBUG]	Executed store
2019-12-18	09:43:46	112	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2019-12-18	09:43:46	112	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	112	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2019-12-18	09:43:46	112	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	112	[DEBUG]	Executed store
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131316','48')
2019-12-18	09:43:46	112	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	112	[DEBUG]	Store custom available field
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131316,3,'',1)
2019-12-18	09:43:46	112	[DEBUG]	Checking category
2019-12-18	09:43:46	112	[DEBUG]	Delete old category references
2019-12-18	09:43:46	112	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131316
2019-12-18	09:43:46	112	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	112	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131316 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	112	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	112	[DEBUG]	Add new category references
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131316','465','')
2019-12-18	09:43:46	112	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131316','465','')
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	113	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	113	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	113	[DEBUG]	Process line 113
2019-12-18	09:43:46	113	[DEBUG]	Load a row
2019-12-18	09:43:46	113	[DEBUG]	Processing item: A_6468_1
2019-12-18	09:43:46	113	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	113	[DEBUG]	Processing product tax
2019-12-18	09:43:46	113	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	113	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	113	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	113	[DEBUG]	Query for Product
2019-12-18	09:43:46	113	[DEBUG]	Executed store
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6468_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	113	[DEBUG]	Check product language entry
2019-12-18	09:43:46	113	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131317
2019-12-18	09:43:46	113	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-bequille-24-28-arriere-zoom-6468' AND `virtuemart_product_id` != 131317
2019-12-18	09:43:46	113	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-bequille-24-28-arriere-zoom-6468' AND `virtuemart_product_id` != 131317
2019-12-18	09:43:46	113	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131317, 'pletscher-bequille-24-28-arriere-zoom-6468')
2019-12-18	09:43:46	113	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	113	[DEBUG]	Executed store
2019-12-18	09:43:46	113	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 208024',`product_name`='Pletscher Béquille 24 28&#34; arrière ZOOM (6468)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-bequille-24-28-arriere-zoom-6468' WHERE `virtuemart_product_id` = '131317'
2019-12-18	09:43:46	113	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32351_bequille_24__28__arriere_zoom.jpg has not been found.
2019-12-18	09:43:46	113	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	113	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131317 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	113	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	113	[DEBUG]	Executed store
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131317','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	113	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	113	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	113	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131317
2019-12-18	09:43:46	113	[DEBUG]	Load a row
2019-12-18	09:43:46	113	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	113	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '193'
2019-12-18	09:43:46	113	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	113	[DEBUG]	Executed store
2019-12-18	09:43:46	113	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09682445061' WHERE `virtuemart_manufacturer_id` = '193'
2019-12-18	09:43:46	113	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	113	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 193
2019-12-18	09:43:46	113	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	113	[DEBUG]	Executed store
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131317','193')
2019-12-18	09:43:46	113	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	113	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	113	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	113	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	113	[DEBUG]	Store custom available field
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131317,3,'0',1)
2019-12-18	09:43:46	113	[DEBUG]	Checking category
2019-12-18	09:43:46	113	[DEBUG]	Delete old category references
2019-12-18	09:43:46	113	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131317
2019-12-18	09:43:46	113	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	113	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131317 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	113	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	113	[DEBUG]	Add new category references
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131317','465','')
2019-12-18	09:43:46	113	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131317','465','')
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	114	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	114	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	114	[DEBUG]	Process line 114
2019-12-18	09:43:46	114	[DEBUG]	Load a row
2019-12-18	09:43:46	114	[DEBUG]	Processing item: 1000000105643
2019-12-18	09:43:46	114	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	114	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	114	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6468_1'
2019-12-18	09:43:46	114	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	114	[DEBUG]	Processing product tax
2019-12-18	09:43:46	114	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	114	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	114	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	114	[DEBUG]	Query for Product
2019-12-18	09:43:46	114	[DEBUG]	Executed store
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131317','1000000105643','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	114	[DEBUG]	No parent found
2019-12-18	09:43:46	114	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131317 AND customfield_value = 'stockable'
2019-12-18	09:43:46	114	[DEBUG]	Check product language entry
2019-12-18	09:43:46	114	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131318
2019-12-18	09:43:46	114	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-bequille-24-28-arriere-zoom-6468-noir' AND `virtuemart_product_id` != 131318
2019-12-18	09:43:46	114	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-bequille-24-28-arriere-zoom-6468-noir' AND `virtuemart_product_id` != 131318
2019-12-18	09:43:46	114	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131318, 'pletscher-bequille-24-28-arriere-zoom-6468-noir')
2019-12-18	09:43:46	114	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	114	[DEBUG]	Executed store
2019-12-18	09:43:46	114	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Béquille 24 28&#34; arrière ZOOM (6468) (Noir)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-bequille-24-28-arriere-zoom-6468-noir' WHERE `virtuemart_product_id` = '131318'
2019-12-18	09:43:46	114	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32351_bequille_24__28__arriere_zoom.jpg has not been found.
2019-12-18	09:43:46	114	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	114	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131318 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	114	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	114	[DEBUG]	Executed store
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131318','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	114	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	114	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	114	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131318
2019-12-18	09:43:46	114	[DEBUG]	Load a row
2019-12-18	09:43:46	114	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	114	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '193'
2019-12-18	09:43:46	114	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	114	[DEBUG]	Executed store
2019-12-18	09:43:46	114	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09682445061' WHERE `virtuemart_manufacturer_id` = '193'
2019-12-18	09:43:46	114	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 193
2019-12-18	09:43:46	114	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	114	[DEBUG]	Executed store
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131318','193')
2019-12-18	09:43:46	114	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	114	[DEBUG]	Store custom available field
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131318,3,'',1)
2019-12-18	09:43:46	114	[DEBUG]	Checking category
2019-12-18	09:43:46	114	[DEBUG]	Delete old category references
2019-12-18	09:43:46	114	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131318
2019-12-18	09:43:46	114	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	114	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131318 AND `virtuemart_category_id`  = 465
2019-12-18	09:43:46	114	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	114	[DEBUG]	Add new category references
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131318','465','')
2019-12-18	09:43:46	114	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131318','465','')
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	115	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	115	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	115	[DEBUG]	Process line 115
2019-12-18	09:43:46	115	[DEBUG]	Load a row
2019-12-18	09:43:46	115	[DEBUG]	Processing item: A_5599_1
2019-12-18	09:43:46	115	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	115	[DEBUG]	Processing product tax
2019-12-18	09:43:46	115	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	115	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	115	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	115	[DEBUG]	Query for Product
2019-12-18	09:43:46	115	[DEBUG]	Executed store
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5599_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	115	[DEBUG]	Check product language entry
2019-12-18	09:43:46	115	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131319
2019-12-18	09:43:46	115	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599' AND `virtuemart_product_id` != 131319
2019-12-18	09:43:46	115	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599' AND `virtuemart_product_id` != 131319
2019-12-18	09:43:46	115	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131319, 'tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599')
2019-12-18	09:43:46	115	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	115	[DEBUG]	Executed store
2019-12-18	09:43:46	115	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 137011',`product_name`='Tekno PARTS CONTRE PLAQUE DE BEQUILLE ATRAN AVEC VIS M10X70MM (5599)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599' WHERE `virtuemart_product_id` = '131319'
2019-12-18	09:43:46	115	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30099_contre_plaque_de_bequille_atran_avec_vis_m10x70mm.jpg has not been found.
2019-12-18	09:43:46	115	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	115	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131319 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	115	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	115	[DEBUG]	Executed store
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131319','0','3.62116991643454','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	115	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	115	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	115	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131319
2019-12-18	09:43:46	115	[DEBUG]	Load a row
2019-12-18	09:43:46	115	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	115	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '154'
2019-12-18	09:43:46	115	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	115	[DEBUG]	Executed store
2019-12-18	09:43:46	115	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091989067825' WHERE `virtuemart_manufacturer_id` = '154'
2019-12-18	09:43:46	115	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 154
2019-12-18	09:43:46	115	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	115	[DEBUG]	Executed store
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131319','154')
2019-12-18	09:43:46	115	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	115	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	115	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	115	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	115	[DEBUG]	Store custom available field
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131319,3,'0',1)
2019-12-18	09:43:46	115	[DEBUG]	Checking category
2019-12-18	09:43:46	115	[DEBUG]	Check if category path exists: BEQUILLES ACCESSOIRES
2019-12-18	09:43:46	115	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BEQUILLES ACCESSOIRES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 464
2019-12-18	09:43:46	115	[DEBUG]	Delete old category references
2019-12-18	09:43:46	115	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131319
2019-12-18	09:43:46	115	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	115	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131319 AND `virtuemart_category_id`  = 466
2019-12-18	09:43:46	115	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	115	[DEBUG]	Add new category references
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131319','466','')
2019-12-18	09:43:46	115	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131319','466','')
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	116	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	116	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	116	[DEBUG]	Process line 116
2019-12-18	09:43:46	116	[DEBUG]	Load a row
2019-12-18	09:43:46	116	[DEBUG]	Processing item: 1000000085150
2019-12-18	09:43:46	116	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	116	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	116	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5599_1'
2019-12-18	09:43:46	116	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	116	[DEBUG]	Processing product tax
2019-12-18	09:43:46	116	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	116	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	116	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	116	[DEBUG]	Query for Product
2019-12-18	09:43:46	116	[DEBUG]	Executed store
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131319','1000000085150','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	116	[DEBUG]	No parent found
2019-12-18	09:43:46	116	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131319 AND customfield_value = 'stockable'
2019-12-18	09:43:46	116	[DEBUG]	Check product language entry
2019-12-18	09:43:46	116	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131320
2019-12-18	09:43:46	116	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599-noir' AND `virtuemart_product_id` != 131320
2019-12-18	09:43:46	116	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599-noir' AND `virtuemart_product_id` != 131320
2019-12-18	09:43:46	116	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131320, 'tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599-noir')
2019-12-18	09:43:46	116	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	116	[DEBUG]	Executed store
2019-12-18	09:43:46	116	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tekno PARTS CONTRE PLAQUE DE BEQUILLE ATRAN AVEC VIS M10X70MM (5599) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tekno-parts-contre-plaque-de-bequille-atran-avec-vis-m10x70mm-5599-noir' WHERE `virtuemart_product_id` = '131320'
2019-12-18	09:43:46	116	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30099_contre_plaque_de_bequille_atran_avec_vis_m10x70mm.jpg has not been found.
2019-12-18	09:43:46	116	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	116	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131320 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	116	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	116	[DEBUG]	Executed store
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131320','0','3.62116991643454','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	116	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	116	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	116	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131320
2019-12-18	09:43:46	116	[DEBUG]	Load a row
2019-12-18	09:43:46	116	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	116	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '154'
2019-12-18	09:43:46	116	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	116	[DEBUG]	Executed store
2019-12-18	09:43:46	116	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091989067825' WHERE `virtuemart_manufacturer_id` = '154'
2019-12-18	09:43:46	116	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 154
2019-12-18	09:43:46	116	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	116	[DEBUG]	Executed store
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131320','154')
2019-12-18	09:43:46	116	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	116	[DEBUG]	Store custom available field
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131320,3,'',1)
2019-12-18	09:43:46	116	[DEBUG]	Checking category
2019-12-18	09:43:46	116	[DEBUG]	Delete old category references
2019-12-18	09:43:46	116	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131320
2019-12-18	09:43:46	116	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	116	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131320 AND `virtuemart_category_id`  = 466
2019-12-18	09:43:46	116	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	116	[DEBUG]	Add new category references
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131320','466','')
2019-12-18	09:43:46	116	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131320','466','')
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	117	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	117	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	117	[DEBUG]	Process line 117
2019-12-18	09:43:46	117	[DEBUG]	Load a row
2019-12-18	09:43:46	117	[DEBUG]	Processing item: A_712_1
2019-12-18	09:43:46	117	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	117	[DEBUG]	Processing product tax
2019-12-18	09:43:46	117	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	117	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	117	[DEBUG]	Query for Product
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_712_1','0.0145','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	117	[DEBUG]	Check product language entry
2019-12-18	09:43:46	117	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131321
2019-12-18	09:43:46	117	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712' AND `virtuemart_product_id` != 131321
2019-12-18	09:43:46	117	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712' AND `virtuemart_product_id` != 131321
2019-12-18	09:43:46	117	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131321, 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712')
2019-12-18	09:43:46	117	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='M6x13mm Serrage maximum 15Nm, 14.5gr<br>N° art fourn : MSCIB01',`product_name`='MSC Vis extérieure pour  pédalier MSC X12. Alu7075 T6 cnc B01 (712)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712' WHERE `virtuemart_product_id` = '131321'
2019-12-18	09:43:46	117	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_972.jpg
2019-12-18	09:43:46	117	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:46	117	[DEBUG]	Process image file
2019-12-18	09:43:46	117	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:46	117	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:46	117	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_972.jpg
2019-12-18	09:43:46	117	[DEBUG]	Full name target: images/stories/virtuemart/product/image_972.jpg
2019-12-18	09:43:46	117	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_972.jpg'
2019-12-18	09:43:46	117	[DEBUG]	Query for Media
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_972.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_972.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5006'
2019-12-18	09:43:46	117	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131321','5006','1')
2019-12-18	09:43:46	117	[DEBUG]	Store product image relation
2019-12-18	09:43:46	117	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	117	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131321 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	117	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131321','0','9.14577530176416','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	117	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	117	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	117	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131321
2019-12-18	09:43:46	117	[DEBUG]	Load a row
2019-12-18	09:43:46	117	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:46	117	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:46	117	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:46	117	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	117	[DEBUG]	Executed store
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131321','32')
2019-12-18	09:43:46	117	[DEBUG]	Find the custom field ID
2019-12-18	09:43:46	117	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:46	117	[DEBUG]	No custom field ID found
2019-12-18	09:43:46	117	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	117	[DEBUG]	Store custom available field
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131321,3,'9.8725',1)
2019-12-18	09:43:46	117	[DEBUG]	Checking category
2019-12-18	09:43:46	117	[DEBUG]	Check if category path exists: BOITIERS DE PEDALIERS - TRETLAGER / INNENLAGER
2019-12-18	09:43:46	117	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIERS DE PEDALIERS - TRETLAGER / INNENLAGER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:46	117	[DEBUG]	Check if category path exists: ADAPTATEURS / ACCESSOIRES - ADAPTER
2019-12-18	09:43:46	117	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ADAPTATEURS / ACCESSOIRES - ADAPTER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 6
2019-12-18	09:43:46	117	[DEBUG]	Delete old category references
2019-12-18	09:43:46	117	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131321
2019-12-18	09:43:46	117	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	117	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131321 AND `virtuemart_category_id`  = 7
2019-12-18	09:43:46	117	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	117	[DEBUG]	Add new category references
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131321','7','')
2019-12-18	09:43:46	117	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131321','7','')
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:46	118	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field override
2019-12-18	09:43:46	118	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:46	118	[DEBUG]	Process line 118
2019-12-18	09:43:46	118	[DEBUG]	Load a row
2019-12-18	09:43:46	118	[DEBUG]	Processing item: 1000000010602
2019-12-18	09:43:46	118	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:46	118	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:46	118	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_712_1'
2019-12-18	09:43:46	118	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:46	118	[DEBUG]	Processing product tax
2019-12-18	09:43:46	118	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:46	118	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:46	118	[DEBUG]	Query for Product
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131321','1000000010602','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	118	[DEBUG]	No parent found
2019-12-18	09:43:46	118	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131321 AND customfield_value = 'stockable'
2019-12-18	09:43:46	118	[DEBUG]	Check product language entry
2019-12-18	09:43:46	118	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131322
2019-12-18	09:43:46	118	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712-noir' AND `virtuemart_product_id` != 131322
2019-12-18	09:43:46	118	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712-noir' AND `virtuemart_product_id` != 131322
2019-12-18	09:43:46	118	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131322, 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712-noir')
2019-12-18	09:43:46	118	[DEBUG]	Query for ProductLang
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Vis extérieure pour  pédalier MSC X12. Alu7075 T6 cnc B01 (712) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-b01-712-noir' WHERE `virtuemart_product_id` = '131322'
2019-12-18	09:43:46	118	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_972.jpg
2019-12-18	09:43:46	118	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:46	118	[DEBUG]	Process image file
2019-12-18	09:43:46	118	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:46	118	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:46	118	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_972.jpg
2019-12-18	09:43:46	118	[DEBUG]	Full name target: images/stories/virtuemart/product/image_972.jpg
2019-12-18	09:43:46	118	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_972.jpg'
2019-12-18	09:43:46	118	[DEBUG]	Query for Media
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_972.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_972.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5006'
2019-12-18	09:43:46	118	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131322','5006','1')
2019-12-18	09:43:46	118	[DEBUG]	Store product image relation
2019-12-18	09:43:46	118	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:46	118	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131322 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:46	118	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131322','0','9.14577530176416','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:46	118	[DEBUG]	Checking manufacturer
2019-12-18	09:43:46	118	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:46	118	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131322
2019-12-18	09:43:46	118	[DEBUG]	Load a row
2019-12-18	09:43:46	118	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:46	118	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:46	118	[DEBUG]	Manufacturer exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:46	118	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:46	118	[DEBUG]	Executed store
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131322','32')
2019-12-18	09:43:46	118	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:46	118	[DEBUG]	Store custom available field
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131322,3,'',1)
2019-12-18	09:43:46	118	[DEBUG]	Checking category
2019-12-18	09:43:46	118	[DEBUG]	Delete old category references
2019-12-18	09:43:46	118	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131322
2019-12-18	09:43:46	118	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:46	118	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131322 AND `virtuemart_category_id`  = 7
2019-12-18	09:43:46	118	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:46	118	[DEBUG]	Add new category references
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131322','7','')
2019-12-18	09:43:46	118	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:46	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131322','7','')
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field published
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:46	119	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field override
2019-12-18	09:43:46	119	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:46	119	[DEBUG]	Process line 119
2019-12-18	09:43:46	119	[DEBUG]	Load a row
2019-12-18	09:43:47	119	[DEBUG]	Processing item: A_713_1
2019-12-18	09:43:47	119	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	119	[DEBUG]	Processing product tax
2019-12-18	09:43:47	119	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	119	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	119	[DEBUG]	Query for Product
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_713_1','0.009','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	119	[DEBUG]	Check product language entry
2019-12-18	09:43:47	119	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131323
2019-12-18	09:43:47	119	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713' AND `virtuemart_product_id` != 131323
2019-12-18	09:43:47	119	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713' AND `virtuemart_product_id` != 131323
2019-12-18	09:43:47	119	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131323, 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713')
2019-12-18	09:43:47	119	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='M6x13mm Serrage maximum 9Nm , 9gr<br>N° art fourn : MSCIB02',`product_name`='MSC Vis extérieure pour pédalier MSC X12. Alu7075 T6 cnc (713)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713' WHERE `virtuemart_product_id` = '131323'
2019-12-18	09:43:47	119	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_973.jpg
2019-12-18	09:43:47	119	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:47	119	[DEBUG]	Process image file
2019-12-18	09:43:47	119	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:47	119	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	119	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_973.jpg
2019-12-18	09:43:47	119	[DEBUG]	Full name target: images/stories/virtuemart/product/image_973.jpg
2019-12-18	09:43:47	119	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_973.jpg'
2019-12-18	09:43:47	119	[DEBUG]	Query for Media
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_973.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_973.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5007'
2019-12-18	09:43:47	119	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131323','5007','1')
2019-12-18	09:43:47	119	[DEBUG]	Store product image relation
2019-12-18	09:43:47	119	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	119	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131323 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	119	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131323','0','7.33519034354689','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	119	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	119	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	119	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131323
2019-12-18	09:43:47	119	[DEBUG]	Load a row
2019-12-18	09:43:47	119	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	119	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	119	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	119	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	119	[DEBUG]	Executed store
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131323','32')
2019-12-18	09:43:47	119	[DEBUG]	Find the custom field ID
2019-12-18	09:43:47	119	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:47	119	[DEBUG]	No custom field ID found
2019-12-18	09:43:47	119	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	119	[DEBUG]	Store custom available field
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131323,3,'7.87805555555556',1)
2019-12-18	09:43:47	119	[DEBUG]	Checking category
2019-12-18	09:43:47	119	[DEBUG]	Delete old category references
2019-12-18	09:43:47	119	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131323
2019-12-18	09:43:47	119	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	119	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131323 AND `virtuemart_category_id`  = 7
2019-12-18	09:43:47	119	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	119	[DEBUG]	Add new category references
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131323','7','')
2019-12-18	09:43:47	119	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131323','7','')
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:47	120	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field override
2019-12-18	09:43:47	120	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:47	120	[DEBUG]	Process line 120
2019-12-18	09:43:47	120	[DEBUG]	Load a row
2019-12-18	09:43:47	120	[DEBUG]	Processing item: 1000000010619
2019-12-18	09:43:47	120	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:47	120	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:47	120	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_713_1'
2019-12-18	09:43:47	120	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	120	[DEBUG]	Processing product tax
2019-12-18	09:43:47	120	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	120	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	120	[DEBUG]	Query for Product
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131323','1000000010619','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	120	[DEBUG]	No parent found
2019-12-18	09:43:47	120	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131323 AND customfield_value = 'stockable'
2019-12-18	09:43:47	120	[DEBUG]	Check product language entry
2019-12-18	09:43:47	120	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131324
2019-12-18	09:43:47	120	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713-noir' AND `virtuemart_product_id` != 131324
2019-12-18	09:43:47	120	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713-noir' AND `virtuemart_product_id` != 131324
2019-12-18	09:43:47	120	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131324, 'msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713-noir')
2019-12-18	09:43:47	120	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Vis extérieure pour pédalier MSC X12. Alu7075 T6 cnc (713) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-vis-exterieure-pour-pedalier-msc-x12-alu7075-t6-cnc-713-noir' WHERE `virtuemart_product_id` = '131324'
2019-12-18	09:43:47	120	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_973.jpg
2019-12-18	09:43:47	120	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:47	120	[DEBUG]	Process image file
2019-12-18	09:43:47	120	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:47	120	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	120	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_973.jpg
2019-12-18	09:43:47	120	[DEBUG]	Full name target: images/stories/virtuemart/product/image_973.jpg
2019-12-18	09:43:47	120	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_973.jpg'
2019-12-18	09:43:47	120	[DEBUG]	Query for Media
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_973.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_973.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5007'
2019-12-18	09:43:47	120	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131324','5007','1')
2019-12-18	09:43:47	120	[DEBUG]	Store product image relation
2019-12-18	09:43:47	120	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	120	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131324 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	120	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131324','0','7.33519034354689','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	120	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	120	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	120	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131324
2019-12-18	09:43:47	120	[DEBUG]	Load a row
2019-12-18	09:43:47	120	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	120	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	120	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	120	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	120	[DEBUG]	Executed store
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131324','32')
2019-12-18	09:43:47	120	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	120	[DEBUG]	Store custom available field
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131324,3,'',1)
2019-12-18	09:43:47	120	[DEBUG]	Checking category
2019-12-18	09:43:47	120	[DEBUG]	Delete old category references
2019-12-18	09:43:47	120	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131324
2019-12-18	09:43:47	120	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	120	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131324 AND `virtuemart_category_id`  = 7
2019-12-18	09:43:47	120	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	120	[DEBUG]	Add new category references
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131324','7','')
2019-12-18	09:43:47	120	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131324','7','')
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	121	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field override
2019-12-18	09:43:47	121	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:47	121	[DEBUG]	Process line 121
2019-12-18	09:43:47	121	[DEBUG]	Load a row
2019-12-18	09:43:47	121	[DEBUG]	Processing item: A_1649_0
2019-12-18	09:43:47	121	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	121	[DEBUG]	Processing product tax
2019-12-18	09:43:47	121	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	121	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	121	[DEBUG]	Query for Product
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1649_0','0.068','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	121	[DEBUG]	Check product language entry
2019-12-18	09:43:47	121	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131325
2019-12-18	09:43:47	121	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649' AND `virtuemart_product_id` != 131325
2019-12-18	09:43:47	121	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649' AND `virtuemart_product_id` != 131325
2019-12-18	09:43:47	121	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131325, 'msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649')
2019-12-18	09:43:47	121	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Adaptateur PressFit BB30 =) BB24 type Shimano en Aluminium, 53 gr.<br>N° art fourn : PT6636',`product_name`='MSC Adaptateur PressFit BB30 =) BB24 type Shimano en Aluminium (1649)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649' WHERE `virtuemart_product_id` = '131325'
2019-12-18	09:43:47	121	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5697.jpg
2019-12-18	09:43:47	121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:47	121	[DEBUG]	Process image file
2019-12-18	09:43:47	121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:47	121	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	121	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5697.jpg
2019-12-18	09:43:47	121	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5697.jpg
2019-12-18	09:43:47	121	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5697.jpg'
2019-12-18	09:43:47	121	[DEBUG]	Query for Media
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5697.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5697.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5008'
2019-12-18	09:43:47	121	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131325','5008','1')
2019-12-18	09:43:47	121	[DEBUG]	Store product image relation
2019-12-18	09:43:47	121	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	121	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131325 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	121	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131325','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	121	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	121	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	121	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131325
2019-12-18	09:43:47	121	[DEBUG]	Load a row
2019-12-18	09:43:47	121	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	121	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	121	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	121	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	121	[DEBUG]	Executed store
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131325','32')
2019-12-18	09:43:47	121	[DEBUG]	Find the custom field ID
2019-12-18	09:43:47	121	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:47	121	[DEBUG]	No custom field ID found
2019-12-18	09:43:47	121	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	121	[DEBUG]	Store custom available field
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131325,3,'29.8169444444444',1)
2019-12-18	09:43:47	121	[DEBUG]	Checking category
2019-12-18	09:43:47	121	[DEBUG]	Delete old category references
2019-12-18	09:43:47	121	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131325
2019-12-18	09:43:47	121	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	121	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131325 AND `virtuemart_category_id`  = 7
2019-12-18	09:43:47	121	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	121	[DEBUG]	Add new category references
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131325','7','')
2019-12-18	09:43:47	121	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131325','7','')
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:47	122	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field override
2019-12-18	09:43:47	122	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:47	122	[DEBUG]	Process line 122
2019-12-18	09:43:47	122	[DEBUG]	Load a row
2019-12-18	09:43:47	122	[DEBUG]	Processing item: 8436041527800
2019-12-18	09:43:47	122	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:47	122	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:47	122	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1649_0'
2019-12-18	09:43:47	122	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	122	[DEBUG]	Processing product tax
2019-12-18	09:43:47	122	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	122	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	122	[DEBUG]	Query for Product
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131325','8436041527800','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	122	[DEBUG]	No parent found
2019-12-18	09:43:47	122	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131325 AND customfield_value = 'stockable'
2019-12-18	09:43:47	122	[DEBUG]	Check product language entry
2019-12-18	09:43:47	122	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131326
2019-12-18	09:43:47	122	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649-unique' AND `virtuemart_product_id` != 131326
2019-12-18	09:43:47	122	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649-unique' AND `virtuemart_product_id` != 131326
2019-12-18	09:43:47	122	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131326, 'msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649-unique')
2019-12-18	09:43:47	122	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Adaptateur PressFit BB30 =) BB24 type Shimano en Aluminium (1649) (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-adaptateur-pressfit-bb30-bb24-type-shimano-en-aluminium-1649-unique' WHERE `virtuemart_product_id` = '131326'
2019-12-18	09:43:47	122	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5697.jpg
2019-12-18	09:43:47	122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:47	122	[DEBUG]	Process image file
2019-12-18	09:43:47	122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:47	122	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	122	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5697.jpg
2019-12-18	09:43:47	122	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5697.jpg
2019-12-18	09:43:47	122	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5697.jpg'
2019-12-18	09:43:47	122	[DEBUG]	Query for Media
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5697.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5697.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5008'
2019-12-18	09:43:47	122	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131326','5008','1')
2019-12-18	09:43:47	122	[DEBUG]	Store product image relation
2019-12-18	09:43:47	122	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	122	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131326 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	122	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131326','0','27.7623026926648','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	122	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	122	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	122	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131326
2019-12-18	09:43:47	122	[DEBUG]	Load a row
2019-12-18	09:43:47	122	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	122	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	122	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	122	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	122	[DEBUG]	Executed store
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131326','32')
2019-12-18	09:43:47	122	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	122	[DEBUG]	Store custom available field
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131326,3,'',1)
2019-12-18	09:43:47	122	[DEBUG]	Checking category
2019-12-18	09:43:47	122	[DEBUG]	Delete old category references
2019-12-18	09:43:47	122	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131326
2019-12-18	09:43:47	122	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	122	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131326 AND `virtuemart_category_id`  = 7
2019-12-18	09:43:47	122	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	122	[DEBUG]	Add new category references
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131326','7','')
2019-12-18	09:43:47	122	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131326','7','')
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	123	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field override
2019-12-18	09:43:47	123	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:47	123	[DEBUG]	Process line 123
2019-12-18	09:43:47	123	[DEBUG]	Load a row
2019-12-18	09:43:47	123	[DEBUG]	Processing item: A_390_1
2019-12-18	09:43:47	123	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	123	[DEBUG]	Processing product tax
2019-12-18	09:43:47	123	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	123	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	123	[DEBUG]	Query for Product
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_390_1','0.333','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	123	[DEBUG]	Check product language entry
2019-12-18	09:43:47	123	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131327
2019-12-18	09:43:47	123	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-magma-68x108mm-390' AND `virtuemart_product_id` != 131327
2019-12-18	09:43:47	123	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-magma-68x108mm-390' AND `virtuemart_product_id` != 131327
2019-12-18	09:43:47	123	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131327, 'msc-boitier-pedalier-issis-msc-magma-68x108mm-390')
2019-12-18	09:43:47	123	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x108 mm ISSIS, 333gr<br>N° art fourn : CH65108',`product_name`='MSC Boîtier pédalier ISSIS MSC Magma 68x108mm (390)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-magma-68x108mm-390' WHERE `virtuemart_product_id` = '131327'
2019-12-18	09:43:47	123	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_432.jpg
2019-12-18	09:43:47	123	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	123	[DEBUG]	Process image file
2019-12-18	09:43:47	123	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	123	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	123	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_432.jpg
2019-12-18	09:43:47	123	[DEBUG]	Full name target: images/stories/virtuemart/product/image_432.jpg
2019-12-18	09:43:47	123	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_432.jpg'
2019-12-18	09:43:47	123	[DEBUG]	Query for Media
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_432.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_432.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5035'
2019-12-18	09:43:47	123	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131327','5035','1')
2019-12-18	09:43:47	123	[DEBUG]	Store product image relation
2019-12-18	09:43:47	123	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	123	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131327 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	123	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131327','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	123	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	123	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	123	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131327
2019-12-18	09:43:47	123	[DEBUG]	Load a row
2019-12-18	09:43:47	123	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	123	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	123	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	123	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	123	[DEBUG]	Executed store
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131327','32')
2019-12-18	09:43:47	123	[DEBUG]	Find the custom field ID
2019-12-18	09:43:47	123	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:47	123	[DEBUG]	No custom field ID found
2019-12-18	09:43:47	123	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	123	[DEBUG]	Store custom available field
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131327,3,'39.7891666666667',1)
2019-12-18	09:43:47	123	[DEBUG]	Checking category
2019-12-18	09:43:47	123	[DEBUG]	Check if category path exists: BOITIER ISSIS - TRETLAGER ISSIS
2019-12-18	09:43:47	123	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIER ISSIS - TRETLAGER ISSIS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 6
2019-12-18	09:43:47	123	[DEBUG]	Delete old category references
2019-12-18	09:43:47	123	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131327
2019-12-18	09:43:47	123	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	123	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131327 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:47	123	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	123	[DEBUG]	Add new category references
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131327','8','')
2019-12-18	09:43:47	123	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131327','8','')
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:47	124	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field override
2019-12-18	09:43:47	124	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:47	124	[DEBUG]	Process line 124
2019-12-18	09:43:47	124	[DEBUG]	Load a row
2019-12-18	09:43:47	124	[DEBUG]	Processing item: 8436041526544
2019-12-18	09:43:47	124	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:47	124	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:47	124	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_390_1'
2019-12-18	09:43:47	124	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	124	[DEBUG]	Processing product tax
2019-12-18	09:43:47	124	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	124	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	124	[DEBUG]	Query for Product
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131327','8436041526544','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	124	[DEBUG]	No parent found
2019-12-18	09:43:47	124	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131327 AND customfield_value = 'stockable'
2019-12-18	09:43:47	124	[DEBUG]	Check product language entry
2019-12-18	09:43:47	124	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131328
2019-12-18	09:43:47	124	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-magma-68x108mm-390-noir' AND `virtuemart_product_id` != 131328
2019-12-18	09:43:47	124	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-magma-68x108mm-390-noir' AND `virtuemart_product_id` != 131328
2019-12-18	09:43:47	124	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131328, 'msc-boitier-pedalier-issis-msc-magma-68x108mm-390-noir')
2019-12-18	09:43:47	124	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boîtier pédalier ISSIS MSC Magma 68x108mm (390) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-magma-68x108mm-390-noir' WHERE `virtuemart_product_id` = '131328'
2019-12-18	09:43:47	124	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_432.jpg
2019-12-18	09:43:47	124	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	124	[DEBUG]	Process image file
2019-12-18	09:43:47	124	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	124	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	124	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_432.jpg
2019-12-18	09:43:47	124	[DEBUG]	Full name target: images/stories/virtuemart/product/image_432.jpg
2019-12-18	09:43:47	124	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_432.jpg'
2019-12-18	09:43:47	124	[DEBUG]	Query for Media
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_432.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_432.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5035'
2019-12-18	09:43:47	124	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131328','5035','1')
2019-12-18	09:43:47	124	[DEBUG]	Store product image relation
2019-12-18	09:43:47	124	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	124	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131328 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	124	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131328','0','37.0473537604457','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	124	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	124	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	124	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131328
2019-12-18	09:43:47	124	[DEBUG]	Load a row
2019-12-18	09:43:47	124	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	124	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	124	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	124	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	124	[DEBUG]	Executed store
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131328','32')
2019-12-18	09:43:47	124	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	124	[DEBUG]	Store custom available field
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131328,3,'',1)
2019-12-18	09:43:47	124	[DEBUG]	Checking category
2019-12-18	09:43:47	124	[DEBUG]	Delete old category references
2019-12-18	09:43:47	124	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131328
2019-12-18	09:43:47	124	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	124	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131328 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:47	124	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	124	[DEBUG]	Add new category references
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131328','8','')
2019-12-18	09:43:47	124	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131328','8','')
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	125	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field override
2019-12-18	09:43:47	125	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:47	125	[DEBUG]	Process line 125
2019-12-18	09:43:47	125	[DEBUG]	Load a row
2019-12-18	09:43:47	125	[DEBUG]	Processing item: A_391_1
2019-12-18	09:43:47	125	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	125	[DEBUG]	Processing product tax
2019-12-18	09:43:47	125	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	125	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	125	[DEBUG]	Query for Product
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_391_1','0.427','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	125	[DEBUG]	Check product language entry
2019-12-18	09:43:47	125	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131329
2019-12-18	09:43:47	125	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391' AND `virtuemart_product_id` != 131329
2019-12-18	09:43:47	125	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391' AND `virtuemart_product_id` != 131329
2019-12-18	09:43:47	125	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131329, 'msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391')
2019-12-18	09:43:47	125	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='100x148 mm ISSIS, 427gr<br>N° art fourn : CH67',`product_name`='MSC Boîtier pédalier ISSIS MSC DH 100 x148 mm  (391)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391' WHERE `virtuemart_product_id` = '131329'
2019-12-18	09:43:47	125	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_433.jpg
2019-12-18	09:43:47	125	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	125	[DEBUG]	Process image file
2019-12-18	09:43:47	125	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	125	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	125	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_433.jpg
2019-12-18	09:43:47	125	[DEBUG]	Full name target: images/stories/virtuemart/product/image_433.jpg
2019-12-18	09:43:47	125	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_433.jpg'
2019-12-18	09:43:47	125	[DEBUG]	Query for Media
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_433.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_433.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5036'
2019-12-18	09:43:47	125	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131329','5036','1')
2019-12-18	09:43:47	125	[DEBUG]	Store product image relation
2019-12-18	09:43:47	125	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	125	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131329 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	125	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131329','0','81.3834726090994','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	125	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	125	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	125	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131329
2019-12-18	09:43:47	125	[DEBUG]	Load a row
2019-12-18	09:43:47	125	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	125	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	125	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	125	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	125	[DEBUG]	Executed store
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131329','32')
2019-12-18	09:43:47	125	[DEBUG]	Find the custom field ID
2019-12-18	09:43:47	125	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:47	125	[DEBUG]	No custom field ID found
2019-12-18	09:43:47	125	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	125	[DEBUG]	Store custom available field
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131329,3,'87.6558333333333',1)
2019-12-18	09:43:47	125	[DEBUG]	Checking category
2019-12-18	09:43:47	125	[DEBUG]	Delete old category references
2019-12-18	09:43:47	125	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131329
2019-12-18	09:43:47	125	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	125	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131329 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:47	125	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	125	[DEBUG]	Add new category references
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131329','8','')
2019-12-18	09:43:47	125	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131329','8','')
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:47	126	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field override
2019-12-18	09:43:47	126	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:47	126	[DEBUG]	Process line 126
2019-12-18	09:43:47	126	[DEBUG]	Load a row
2019-12-18	09:43:47	126	[DEBUG]	Processing item: 1000000004601
2019-12-18	09:43:47	126	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:47	126	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:47	126	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_391_1'
2019-12-18	09:43:47	126	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	126	[DEBUG]	Processing product tax
2019-12-18	09:43:47	126	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	126	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	126	[DEBUG]	Query for Product
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131329','1000000004601','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	126	[DEBUG]	No parent found
2019-12-18	09:43:47	126	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131329 AND customfield_value = 'stockable'
2019-12-18	09:43:47	126	[DEBUG]	Check product language entry
2019-12-18	09:43:47	126	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131330
2019-12-18	09:43:47	126	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391-noir' AND `virtuemart_product_id` != 131330
2019-12-18	09:43:47	126	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391-noir' AND `virtuemart_product_id` != 131330
2019-12-18	09:43:47	126	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131330, 'msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391-noir')
2019-12-18	09:43:47	126	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boîtier pédalier ISSIS MSC DH 100 x148 mm  (391) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-dh-100-x148-mm-391-noir' WHERE `virtuemart_product_id` = '131330'
2019-12-18	09:43:47	126	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_433.jpg
2019-12-18	09:43:47	126	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	126	[DEBUG]	Process image file
2019-12-18	09:43:47	126	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	126	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	126	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_433.jpg
2019-12-18	09:43:47	126	[DEBUG]	Full name target: images/stories/virtuemart/product/image_433.jpg
2019-12-18	09:43:47	126	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_433.jpg'
2019-12-18	09:43:47	126	[DEBUG]	Query for Media
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_433.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_433.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5036'
2019-12-18	09:43:47	126	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131330','5036','1')
2019-12-18	09:43:47	126	[DEBUG]	Store product image relation
2019-12-18	09:43:47	126	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	126	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131330 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	126	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131330','0','81.3834726090994','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	126	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	126	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	126	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131330
2019-12-18	09:43:47	126	[DEBUG]	Load a row
2019-12-18	09:43:47	126	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	126	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	126	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	126	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	126	[DEBUG]	Executed store
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131330','32')
2019-12-18	09:43:47	126	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	126	[DEBUG]	Store custom available field
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131330,3,'',1)
2019-12-18	09:43:47	126	[DEBUG]	Checking category
2019-12-18	09:43:47	126	[DEBUG]	Delete old category references
2019-12-18	09:43:47	126	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131330
2019-12-18	09:43:47	126	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	126	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131330 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:47	126	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	126	[DEBUG]	Add new category references
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131330','8','')
2019-12-18	09:43:47	126	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131330','8','')
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	127	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field override
2019-12-18	09:43:47	127	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:47	127	[DEBUG]	Process line 127
2019-12-18	09:43:47	127	[DEBUG]	Load a row
2019-12-18	09:43:47	127	[DEBUG]	Processing item: A_393_15
2019-12-18	09:43:47	127	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	127	[DEBUG]	Processing product tax
2019-12-18	09:43:47	127	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	127	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	127	[DEBUG]	Query for Product
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_393_15','0.242','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	127	[DEBUG]	Check product language entry
2019-12-18	09:43:47	127	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131331
2019-12-18	09:43:47	127	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-113-393' AND `virtuemart_product_id` != 131331
2019-12-18	09:43:47	127	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-113-393' AND `virtuemart_product_id` != 131331
2019-12-18	09:43:47	127	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131331, 'msc-boitier-pedalier-issis-msc-mirage-113-393')
2019-12-18	09:43:47	127	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x113mm 223gr (ref.CH85113) <br>N° art fourn : CH85113',`product_name`='MSC Boîtier pédalier ISSIS MSC Mirage 113 (393)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-mirage-113-393' WHERE `virtuemart_product_id` = '131331'
2019-12-18	09:43:47	127	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_435.jpg
2019-12-18	09:43:47	127	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	127	[DEBUG]	Process image file
2019-12-18	09:43:47	127	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	127	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	127	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_435.jpg
2019-12-18	09:43:47	127	[DEBUG]	Full name target: images/stories/virtuemart/product/image_435.jpg
2019-12-18	09:43:47	127	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_435.jpg'
2019-12-18	09:43:47	127	[DEBUG]	Query for Media
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_435.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_435.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5038'
2019-12-18	09:43:47	127	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131331','5038','1')
2019-12-18	09:43:47	127	[DEBUG]	Store product image relation
2019-12-18	09:43:47	127	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	127	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131331 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	127	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131331','0','60.2599814298979','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	127	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	127	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	127	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131331
2019-12-18	09:43:47	127	[DEBUG]	Load a row
2019-12-18	09:43:47	127	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	127	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	127	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	127	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	127	[DEBUG]	Executed store
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131331','32')
2019-12-18	09:43:47	127	[DEBUG]	Find the custom field ID
2019-12-18	09:43:47	127	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:47	127	[DEBUG]	No custom field ID found
2019-12-18	09:43:47	127	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	127	[DEBUG]	Store custom available field
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131331,3,'72.6975',1)
2019-12-18	09:43:47	127	[DEBUG]	Checking category
2019-12-18	09:43:47	127	[DEBUG]	Delete old category references
2019-12-18	09:43:47	127	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131331
2019-12-18	09:43:47	127	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	127	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131331 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:47	127	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	127	[DEBUG]	Add new category references
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131331','8','')
2019-12-18	09:43:47	127	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131331','8','')
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:47	128	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field override
2019-12-18	09:43:47	128	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:47	128	[DEBUG]	Process line 128
2019-12-18	09:43:47	128	[DEBUG]	Load a row
2019-12-18	09:43:47	128	[DEBUG]	Processing item: 8436041526582
2019-12-18	09:43:47	128	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:47	128	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:47	128	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_393_15'
2019-12-18	09:43:47	128	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:47	128	[DEBUG]	Processing product tax
2019-12-18	09:43:47	128	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:47	128	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:47	128	[DEBUG]	Query for Product
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131331','8436041526582','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	128	[DEBUG]	No parent found
2019-12-18	09:43:47	128	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131331 AND customfield_value = 'stockable'
2019-12-18	09:43:47	128	[DEBUG]	Check product language entry
2019-12-18	09:43:47	128	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131332
2019-12-18	09:43:47	128	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-113-393-aluminium' AND `virtuemart_product_id` != 131332
2019-12-18	09:43:47	128	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-113-393-aluminium' AND `virtuemart_product_id` != 131332
2019-12-18	09:43:47	128	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131332, 'msc-boitier-pedalier-issis-msc-mirage-113-393-aluminium')
2019-12-18	09:43:47	128	[DEBUG]	Query for ProductLang
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boîtier pédalier ISSIS MSC Mirage 113 (393) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-mirage-113-393-aluminium' WHERE `virtuemart_product_id` = '131332'
2019-12-18	09:43:47	128	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_435.jpg
2019-12-18	09:43:47	128	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	128	[DEBUG]	Process image file
2019-12-18	09:43:47	128	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:47	128	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:47	128	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_435.jpg
2019-12-18	09:43:47	128	[DEBUG]	Full name target: images/stories/virtuemart/product/image_435.jpg
2019-12-18	09:43:47	128	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_435.jpg'
2019-12-18	09:43:47	128	[DEBUG]	Query for Media
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_435.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_435.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5038'
2019-12-18	09:43:47	128	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131332','5038','1')
2019-12-18	09:43:47	128	[DEBUG]	Store product image relation
2019-12-18	09:43:47	128	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:47	128	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131332 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:47	128	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131332','0','60.2599814298979','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:47	128	[DEBUG]	Checking manufacturer
2019-12-18	09:43:47	128	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:47	128	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131332
2019-12-18	09:43:47	128	[DEBUG]	Load a row
2019-12-18	09:43:47	128	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	128	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:47	128	[DEBUG]	Manufacturer exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:47	128	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:47	128	[DEBUG]	Executed store
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131332','32')
2019-12-18	09:43:47	128	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:47	128	[DEBUG]	Store custom available field
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131332,3,'',1)
2019-12-18	09:43:47	128	[DEBUG]	Checking category
2019-12-18	09:43:47	128	[DEBUG]	Delete old category references
2019-12-18	09:43:47	128	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131332
2019-12-18	09:43:47	128	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:47	128	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131332 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:47	128	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:47	128	[DEBUG]	Add new category references
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131332','8','')
2019-12-18	09:43:47	128	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:47	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131332','8','')
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field published
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:47	129	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:47	129	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	129	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	129	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	129	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	129	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	129	[DEBUG]	Process line 129
2019-12-18	09:43:48	129	[DEBUG]	Load a row
2019-12-18	09:43:48	129	[DEBUG]	Processing item: A_394_15
2019-12-18	09:43:48	129	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	129	[DEBUG]	Processing product tax
2019-12-18	09:43:48	129	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	129	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	129	[DEBUG]	Query for Product
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_394_15','0.242','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	129	[DEBUG]	Check product language entry
2019-12-18	09:43:48	129	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131333
2019-12-18	09:43:48	129	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-118-394' AND `virtuemart_product_id` != 131333
2019-12-18	09:43:48	129	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-118-394' AND `virtuemart_product_id` != 131333
2019-12-18	09:43:48	129	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131333, 'msc-boitier-pedalier-issis-msc-mirage-118-394')
2019-12-18	09:43:48	129	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x118mm 223.5gr(ref.CH85118) <br>N° art fourn : CH85118',`product_name`='MSC Boîtier pédalier ISSIS MSC Mirage 118 (394)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-mirage-118-394' WHERE `virtuemart_product_id` = '131333'
2019-12-18	09:43:48	129	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_436.jpg
2019-12-18	09:43:48	129	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	129	[DEBUG]	Process image file
2019-12-18	09:43:48	129	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	129	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	129	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_436.jpg
2019-12-18	09:43:48	129	[DEBUG]	Full name target: images/stories/virtuemart/product/image_436.jpg
2019-12-18	09:43:48	129	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_436.jpg'
2019-12-18	09:43:48	129	[DEBUG]	Query for Media
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_436.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_436.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5039'
2019-12-18	09:43:48	129	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131333','5039','1')
2019-12-18	09:43:48	129	[DEBUG]	Store product image relation
2019-12-18	09:43:48	129	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	129	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131333 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	129	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131333','0','62.8597957288765','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	129	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	129	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	129	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131333
2019-12-18	09:43:48	129	[DEBUG]	Load a row
2019-12-18	09:43:48	129	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	129	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	129	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	129	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	129	[DEBUG]	Executed store
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131333','32')
2019-12-18	09:43:48	129	[DEBUG]	Find the custom field ID
2019-12-18	09:43:48	129	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:48	129	[DEBUG]	No custom field ID found
2019-12-18	09:43:48	129	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	129	[DEBUG]	Store custom available field
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131333,3,'67.7113888888889',1)
2019-12-18	09:43:48	129	[DEBUG]	Checking category
2019-12-18	09:43:48	129	[DEBUG]	Delete old category references
2019-12-18	09:43:48	129	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131333
2019-12-18	09:43:48	129	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	129	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131333 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	129	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	129	[DEBUG]	Add new category references
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131333','8','')
2019-12-18	09:43:48	129	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131333','8','')
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:48	130	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field override
2019-12-18	09:43:48	130	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:48	130	[DEBUG]	Process line 130
2019-12-18	09:43:48	130	[DEBUG]	Load a row
2019-12-18	09:43:48	130	[DEBUG]	Processing item: 1000000004632
2019-12-18	09:43:48	130	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:48	130	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:48	130	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_394_15'
2019-12-18	09:43:48	130	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	130	[DEBUG]	Processing product tax
2019-12-18	09:43:48	130	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	130	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	130	[DEBUG]	Query for Product
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131333','1000000004632','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	130	[DEBUG]	No parent found
2019-12-18	09:43:48	130	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131333 AND customfield_value = 'stockable'
2019-12-18	09:43:48	130	[DEBUG]	Check product language entry
2019-12-18	09:43:48	130	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131334
2019-12-18	09:43:48	130	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-118-394-aluminium' AND `virtuemart_product_id` != 131334
2019-12-18	09:43:48	130	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-mirage-118-394-aluminium' AND `virtuemart_product_id` != 131334
2019-12-18	09:43:48	130	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131334, 'msc-boitier-pedalier-issis-msc-mirage-118-394-aluminium')
2019-12-18	09:43:48	130	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boîtier pédalier ISSIS MSC Mirage 118 (394) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-mirage-118-394-aluminium' WHERE `virtuemart_product_id` = '131334'
2019-12-18	09:43:48	130	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_436.jpg
2019-12-18	09:43:48	130	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	130	[DEBUG]	Process image file
2019-12-18	09:43:48	130	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	130	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	130	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_436.jpg
2019-12-18	09:43:48	130	[DEBUG]	Full name target: images/stories/virtuemart/product/image_436.jpg
2019-12-18	09:43:48	130	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_436.jpg'
2019-12-18	09:43:48	130	[DEBUG]	Query for Media
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_436.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_436.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5039'
2019-12-18	09:43:48	130	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131334','5039','1')
2019-12-18	09:43:48	130	[DEBUG]	Store product image relation
2019-12-18	09:43:48	130	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	130	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131334 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	130	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131334','0','62.8597957288765','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	130	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	130	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	130	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131334
2019-12-18	09:43:48	130	[DEBUG]	Load a row
2019-12-18	09:43:48	130	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	130	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	130	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	130	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	130	[DEBUG]	Executed store
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131334','32')
2019-12-18	09:43:48	130	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	130	[DEBUG]	Store custom available field
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131334,3,'',1)
2019-12-18	09:43:48	130	[DEBUG]	Checking category
2019-12-18	09:43:48	130	[DEBUG]	Delete old category references
2019-12-18	09:43:48	130	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131334
2019-12-18	09:43:48	130	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	130	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131334 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	130	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	130	[DEBUG]	Add new category references
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131334','8','')
2019-12-18	09:43:48	130	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131334','8','')
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	131	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	131	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	131	[DEBUG]	Process line 131
2019-12-18	09:43:48	131	[DEBUG]	Load a row
2019-12-18	09:43:48	131	[DEBUG]	Processing item: A_396_15
2019-12-18	09:43:48	131	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	131	[DEBUG]	Processing product tax
2019-12-18	09:43:48	131	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	131	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	131	[DEBUG]	Query for Product
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_396_15','0.142','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	131	[DEBUG]	Check product language entry
2019-12-18	09:43:48	131	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131335
2019-12-18	09:43:48	131	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396' AND `virtuemart_product_id` != 131335
2019-12-18	09:43:48	131	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396' AND `virtuemart_product_id` != 131335
2019-12-18	09:43:48	131	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131335, 'msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396')
2019-12-18	09:43:48	131	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='108mm 142gr (ref.CH95108)<br>N° art fourn : CH95108',`product_name`='MSC Boîtier pédalier ISSIS MSC Ulralight WCR 108 (396)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396' WHERE `virtuemart_product_id` = '131335'
2019-12-18	09:43:48	131	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_438.jpg
2019-12-18	09:43:48	131	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	131	[DEBUG]	Process image file
2019-12-18	09:43:48	131	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	131	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	131	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_438.jpg
2019-12-18	09:43:48	131	[DEBUG]	Full name target: images/stories/virtuemart/product/image_438.jpg
2019-12-18	09:43:48	131	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_438.jpg'
2019-12-18	09:43:48	131	[DEBUG]	Query for Media
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_438.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_438.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5040'
2019-12-18	09:43:48	131	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131335','5040','1')
2019-12-18	09:43:48	131	[DEBUG]	Store product image relation
2019-12-18	09:43:48	131	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	131	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131335 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	131	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131335','0','64.9025069637883','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	131	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	131	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	131	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131335
2019-12-18	09:43:48	131	[DEBUG]	Load a row
2019-12-18	09:43:48	131	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	131	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	131	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	131	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	131	[DEBUG]	Executed store
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131335','32')
2019-12-18	09:43:48	131	[DEBUG]	Find the custom field ID
2019-12-18	09:43:48	131	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:48	131	[DEBUG]	No custom field ID found
2019-12-18	09:43:48	131	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	131	[DEBUG]	Store custom available field
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131335,3,'89.6502777777778',1)
2019-12-18	09:43:48	131	[DEBUG]	Checking category
2019-12-18	09:43:48	131	[DEBUG]	Delete old category references
2019-12-18	09:43:48	131	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131335
2019-12-18	09:43:48	131	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	131	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131335 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	131	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	131	[DEBUG]	Add new category references
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131335','8','')
2019-12-18	09:43:48	131	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131335','8','')
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:48	132	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field override
2019-12-18	09:43:48	132	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:48	132	[DEBUG]	Process line 132
2019-12-18	09:43:48	132	[DEBUG]	Load a row
2019-12-18	09:43:48	132	[DEBUG]	Processing item: 8436041526605
2019-12-18	09:43:48	132	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:48	132	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:48	132	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_396_15'
2019-12-18	09:43:48	132	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	132	[DEBUG]	Processing product tax
2019-12-18	09:43:48	132	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	132	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	132	[DEBUG]	Query for Product
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131335','8436041526605','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	132	[DEBUG]	No parent found
2019-12-18	09:43:48	132	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131335 AND customfield_value = 'stockable'
2019-12-18	09:43:48	132	[DEBUG]	Check product language entry
2019-12-18	09:43:48	132	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131336
2019-12-18	09:43:48	132	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396-aluminium' AND `virtuemart_product_id` != 131336
2019-12-18	09:43:48	132	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396-aluminium' AND `virtuemart_product_id` != 131336
2019-12-18	09:43:48	132	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131336, 'msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396-aluminium')
2019-12-18	09:43:48	132	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boîtier pédalier ISSIS MSC Ulralight WCR 108 (396) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-ulralight-wcr-108-396-aluminium' WHERE `virtuemart_product_id` = '131336'
2019-12-18	09:43:48	132	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_438.jpg
2019-12-18	09:43:48	132	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	132	[DEBUG]	Process image file
2019-12-18	09:43:48	132	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	132	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	132	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_438.jpg
2019-12-18	09:43:48	132	[DEBUG]	Full name target: images/stories/virtuemart/product/image_438.jpg
2019-12-18	09:43:48	132	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_438.jpg'
2019-12-18	09:43:48	132	[DEBUG]	Query for Media
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_438.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_438.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5040'
2019-12-18	09:43:48	132	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131336','5040','1')
2019-12-18	09:43:48	132	[DEBUG]	Store product image relation
2019-12-18	09:43:48	132	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	132	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131336 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	132	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131336','0','64.9025069637883','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	132	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	132	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	132	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131336
2019-12-18	09:43:48	132	[DEBUG]	Load a row
2019-12-18	09:43:48	132	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	132	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	132	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	132	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	132	[DEBUG]	Executed store
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131336','32')
2019-12-18	09:43:48	132	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	132	[DEBUG]	Store custom available field
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131336,3,'',1)
2019-12-18	09:43:48	132	[DEBUG]	Checking category
2019-12-18	09:43:48	132	[DEBUG]	Delete old category references
2019-12-18	09:43:48	132	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131336
2019-12-18	09:43:48	132	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	132	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131336 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	132	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	132	[DEBUG]	Add new category references
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131336','8','')
2019-12-18	09:43:48	132	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131336','8','')
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	133	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	133	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	133	[DEBUG]	Process line 133
2019-12-18	09:43:48	133	[DEBUG]	Load a row
2019-12-18	09:43:48	133	[DEBUG]	Processing item: A_398_15
2019-12-18	09:43:48	133	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	133	[DEBUG]	Processing product tax
2019-12-18	09:43:48	133	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	133	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	133	[DEBUG]	Query for Product
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_398_15','0.16','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	133	[DEBUG]	Check product language entry
2019-12-18	09:43:48	133	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131337
2019-12-18	09:43:48	133	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398' AND `virtuemart_product_id` != 131337
2019-12-18	09:43:48	133	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398' AND `virtuemart_product_id` != 131337
2019-12-18	09:43:48	133	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131337, 'msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398')
2019-12-18	09:43:48	133	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='118mm 160gr (ref.CH95118)<br>N° art fourn : CH95118',`product_name`='MSC Boîtier pédalier ISSIS MSC Ultralight WCR 118 (398)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398' WHERE `virtuemart_product_id` = '131337'
2019-12-18	09:43:48	133	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_440.jpg
2019-12-18	09:43:48	133	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	133	[DEBUG]	Process image file
2019-12-18	09:43:48	133	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	133	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	133	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_440.jpg
2019-12-18	09:43:48	133	[DEBUG]	Full name target: images/stories/virtuemart/product/image_440.jpg
2019-12-18	09:43:48	133	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_440.jpg'
2019-12-18	09:43:48	133	[DEBUG]	Query for Media
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_440.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_440.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5042'
2019-12-18	09:43:48	133	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131337','5042','1')
2019-12-18	09:43:48	133	[DEBUG]	Store product image relation
2019-12-18	09:43:48	133	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	133	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131337 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	133	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131337','0','64.9025069637883','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	133	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	133	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	133	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131337
2019-12-18	09:43:48	133	[DEBUG]	Load a row
2019-12-18	09:43:48	133	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	133	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	133	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	133	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	133	[DEBUG]	Executed store
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131337','32')
2019-12-18	09:43:48	133	[DEBUG]	Find the custom field ID
2019-12-18	09:43:48	133	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:48	133	[DEBUG]	No custom field ID found
2019-12-18	09:43:48	133	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	133	[DEBUG]	Store custom available field
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131337,3,'89.6502777777778',1)
2019-12-18	09:43:48	133	[DEBUG]	Checking category
2019-12-18	09:43:48	133	[DEBUG]	Delete old category references
2019-12-18	09:43:48	133	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131337
2019-12-18	09:43:48	133	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	133	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131337 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	133	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	133	[DEBUG]	Add new category references
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131337','8','')
2019-12-18	09:43:48	133	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131337','8','')
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:48	134	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field override
2019-12-18	09:43:48	134	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:48	134	[DEBUG]	Process line 134
2019-12-18	09:43:48	134	[DEBUG]	Load a row
2019-12-18	09:43:48	134	[DEBUG]	Processing item: 8436041526629
2019-12-18	09:43:48	134	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:48	134	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:48	134	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_398_15'
2019-12-18	09:43:48	134	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	134	[DEBUG]	Processing product tax
2019-12-18	09:43:48	134	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	134	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	134	[DEBUG]	Query for Product
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131337','8436041526629','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	134	[DEBUG]	No parent found
2019-12-18	09:43:48	134	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131337 AND customfield_value = 'stockable'
2019-12-18	09:43:48	134	[DEBUG]	Check product language entry
2019-12-18	09:43:48	134	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131338
2019-12-18	09:43:48	134	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398-aluminium' AND `virtuemart_product_id` != 131338
2019-12-18	09:43:48	134	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398-aluminium' AND `virtuemart_product_id` != 131338
2019-12-18	09:43:48	134	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131338, 'msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398-aluminium')
2019-12-18	09:43:48	134	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boîtier pédalier ISSIS MSC Ultralight WCR 118 (398) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-issis-msc-ultralight-wcr-118-398-aluminium' WHERE `virtuemart_product_id` = '131338'
2019-12-18	09:43:48	134	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_440.jpg
2019-12-18	09:43:48	134	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	134	[DEBUG]	Process image file
2019-12-18	09:43:48	134	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	134	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	134	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_440.jpg
2019-12-18	09:43:48	134	[DEBUG]	Full name target: images/stories/virtuemart/product/image_440.jpg
2019-12-18	09:43:48	134	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_440.jpg'
2019-12-18	09:43:48	134	[DEBUG]	Query for Media
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_440.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_440.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5042'
2019-12-18	09:43:48	134	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131338','5042','1')
2019-12-18	09:43:48	134	[DEBUG]	Store product image relation
2019-12-18	09:43:48	134	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	134	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131338 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	134	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131338','0','64.9025069637883','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	134	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	134	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	134	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131338
2019-12-18	09:43:48	134	[DEBUG]	Load a row
2019-12-18	09:43:48	134	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	134	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	134	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	134	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	134	[DEBUG]	Executed store
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131338','32')
2019-12-18	09:43:48	134	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	134	[DEBUG]	Store custom available field
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131338,3,'',1)
2019-12-18	09:43:48	134	[DEBUG]	Checking category
2019-12-18	09:43:48	134	[DEBUG]	Delete old category references
2019-12-18	09:43:48	134	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131338
2019-12-18	09:43:48	134	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	134	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131338 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	134	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	134	[DEBUG]	Add new category references
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131338','8','')
2019-12-18	09:43:48	134	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131338','8','')
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	135	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	135	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	135	[DEBUG]	Process line 135
2019-12-18	09:43:48	135	[DEBUG]	Load a row
2019-12-18	09:43:48	135	[DEBUG]	Processing item: A_1724_0
2019-12-18	09:43:48	135	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	135	[DEBUG]	Processing product tax
2019-12-18	09:43:48	135	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	135	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	135	[DEBUG]	Query for Product
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1724_0','0.28','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	135	[DEBUG]	Check product language entry
2019-12-18	09:43:48	135	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131339
2019-12-18	09:43:48	135	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724' AND `virtuemart_product_id` != 131339
2019-12-18	09:43:48	135	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724' AND `virtuemart_product_id` != 131339
2019-12-18	09:43:48	135	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131339, 'msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724')
2019-12-18	09:43:48	135	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier ISSIS Truvativ 68/73x133mm<br>N° art fourn : 6503SL118',`product_name`='MSC Boitier de pédalier ISSIS Truvativ 68/73x118 mm (1724)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724' WHERE `virtuemart_product_id` = '131339'
2019-12-18	09:43:48	135	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5850.jpg
2019-12-18	09:43:48	135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	135	[DEBUG]	Process image file
2019-12-18	09:43:48	135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	135	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	135	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5850.jpg
2019-12-18	09:43:48	135	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5850.jpg
2019-12-18	09:43:48	135	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5850.jpg'
2019-12-18	09:43:48	135	[DEBUG]	Query for Media
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5850.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5850.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5044'
2019-12-18	09:43:48	135	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131339','5044','1')
2019-12-18	09:43:48	135	[DEBUG]	Store product image relation
2019-12-18	09:43:48	135	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	135	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131339 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	135	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131339','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	135	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	135	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	135	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131339
2019-12-18	09:43:48	135	[DEBUG]	Load a row
2019-12-18	09:43:48	135	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	135	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	135	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	135	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	135	[DEBUG]	Executed store
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131339','32')
2019-12-18	09:43:48	135	[DEBUG]	Find the custom field ID
2019-12-18	09:43:48	135	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:48	135	[DEBUG]	No custom field ID found
2019-12-18	09:43:48	135	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	135	[DEBUG]	Store custom available field
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131339,3,'59.7336111111111',1)
2019-12-18	09:43:48	135	[DEBUG]	Checking category
2019-12-18	09:43:48	135	[DEBUG]	Delete old category references
2019-12-18	09:43:48	135	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131339
2019-12-18	09:43:48	135	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	135	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131339 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	135	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	135	[DEBUG]	Add new category references
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131339','8','')
2019-12-18	09:43:48	135	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131339','8','')
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:48	136	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field override
2019-12-18	09:43:48	136	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:48	136	[DEBUG]	Process line 136
2019-12-18	09:43:48	136	[DEBUG]	Load a row
2019-12-18	09:43:48	136	[DEBUG]	Processing item: 1000000030600
2019-12-18	09:43:48	136	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:48	136	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:48	136	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1724_0'
2019-12-18	09:43:48	136	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	136	[DEBUG]	Processing product tax
2019-12-18	09:43:48	136	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	136	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	136	[DEBUG]	Query for Product
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131339','1000000030600','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	136	[DEBUG]	No parent found
2019-12-18	09:43:48	136	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131339 AND customfield_value = 'stockable'
2019-12-18	09:43:48	136	[DEBUG]	Check product language entry
2019-12-18	09:43:48	136	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131340
2019-12-18	09:43:48	136	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724-unique' AND `virtuemart_product_id` != 131340
2019-12-18	09:43:48	136	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724-unique' AND `virtuemart_product_id` != 131340
2019-12-18	09:43:48	136	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131340, 'msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724-unique')
2019-12-18	09:43:48	136	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boitier de pédalier ISSIS Truvativ 68/73x118 mm (1724) (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-de-pedalier-issis-truvativ-68-73x118-mm-1724-unique' WHERE `virtuemart_product_id` = '131340'
2019-12-18	09:43:48	136	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5850.jpg
2019-12-18	09:43:48	136	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	136	[DEBUG]	Process image file
2019-12-18	09:43:48	136	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:48	136	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:48	136	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5850.jpg
2019-12-18	09:43:48	136	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5850.jpg
2019-12-18	09:43:48	136	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5850.jpg'
2019-12-18	09:43:48	136	[DEBUG]	Query for Media
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5850.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5850.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5044'
2019-12-18	09:43:48	136	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131340','5044','1')
2019-12-18	09:43:48	136	[DEBUG]	Store product image relation
2019-12-18	09:43:48	136	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	136	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131340 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	136	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131340','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	136	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	136	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	136	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131340
2019-12-18	09:43:48	136	[DEBUG]	Load a row
2019-12-18	09:43:48	136	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	136	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:48	136	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:48	136	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	136	[DEBUG]	Executed store
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131340','32')
2019-12-18	09:43:48	136	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	136	[DEBUG]	Store custom available field
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131340,3,'',1)
2019-12-18	09:43:48	136	[DEBUG]	Checking category
2019-12-18	09:43:48	136	[DEBUG]	Delete old category references
2019-12-18	09:43:48	136	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131340
2019-12-18	09:43:48	136	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	136	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131340 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	136	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	136	[DEBUG]	Add new category references
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131340','8','')
2019-12-18	09:43:48	136	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131340','8','')
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	137	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	137	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	137	[DEBUG]	Process line 137
2019-12-18	09:43:48	137	[DEBUG]	Load a row
2019-12-18	09:43:48	137	[DEBUG]	Processing item: A_5315_1
2019-12-18	09:43:48	137	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	137	[DEBUG]	Processing product tax
2019-12-18	09:43:48	137	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	137	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	137	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	137	[DEBUG]	Query for Product
2019-12-18	09:43:48	137	[DEBUG]	Executed store
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5315_1','0.355','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	137	[DEBUG]	Check product language entry
2019-12-18	09:43:48	137	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131341
2019-12-18	09:43:48	137	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315' AND `virtuemart_product_id` != 131341
2019-12-18	09:43:48	137	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315' AND `virtuemart_product_id` != 131341
2019-12-18	09:43:48	137	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131341, 'mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315')
2019-12-18	09:43:48	137	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	137	[DEBUG]	Executed store
2019-12-18	09:43:48	137	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='100x145 mm ISSIS, 355gr<br>N° art fourn : 62.63942',`product_name`='MLV-Bike Boîtier pédalier Shimano BB-MT800 89.5 / 92 mm PA (5315)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315' WHERE `virtuemart_product_id` = '131341'
2019-12-18	09:43:48	137	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29792_boîtier_pedalier_shimano_bb-mt800_89_5_-_92_mm_pa.jpg has not been found.
2019-12-18	09:43:48	137	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	137	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131341 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	137	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	137	[DEBUG]	Executed store
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131341','0','36.1188486536676','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	137	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	137	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	137	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131341
2019-12-18	09:43:48	137	[DEBUG]	Load a row
2019-12-18	09:43:48	137	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	137	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	137	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	137	[DEBUG]	Executed store
2019-12-18	09:43:48	137	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	137	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	137	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:48	137	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	137	[DEBUG]	Executed store
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131341','2')
2019-12-18	09:43:48	137	[DEBUG]	Find the custom field ID
2019-12-18	09:43:48	137	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:48	137	[DEBUG]	No custom field ID found
2019-12-18	09:43:48	137	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	137	[DEBUG]	Store custom available field
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131341,3,'89.6502777777778',1)
2019-12-18	09:43:48	137	[DEBUG]	Checking category
2019-12-18	09:43:48	137	[DEBUG]	Delete old category references
2019-12-18	09:43:48	137	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131341
2019-12-18	09:43:48	137	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	137	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131341 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	137	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	137	[DEBUG]	Add new category references
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131341','8','')
2019-12-18	09:43:48	137	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131341','8','')
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:48	138	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field override
2019-12-18	09:43:48	138	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:48	138	[DEBUG]	Process line 138
2019-12-18	09:43:48	138	[DEBUG]	Load a row
2019-12-18	09:43:48	138	[DEBUG]	Processing item: 4524667919964
2019-12-18	09:43:48	138	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:48	138	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:48	138	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5315_1'
2019-12-18	09:43:48	138	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	138	[DEBUG]	Processing product tax
2019-12-18	09:43:48	138	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	138	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	138	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	138	[DEBUG]	Query for Product
2019-12-18	09:43:48	138	[DEBUG]	Executed store
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131341','4524667919964','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	138	[DEBUG]	No parent found
2019-12-18	09:43:48	138	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131341 AND customfield_value = 'stockable'
2019-12-18	09:43:48	138	[DEBUG]	Check product language entry
2019-12-18	09:43:48	138	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131342
2019-12-18	09:43:48	138	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315-noir' AND `virtuemart_product_id` != 131342
2019-12-18	09:43:48	138	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315-noir' AND `virtuemart_product_id` != 131342
2019-12-18	09:43:48	138	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131342, 'mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315-noir')
2019-12-18	09:43:48	138	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	138	[DEBUG]	Executed store
2019-12-18	09:43:48	138	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Boîtier pédalier Shimano BB-MT800 89.5 / 92 mm PA (5315) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-boitier-pedalier-shimano-bb-mt800-89-5-92-mm-pa-5315-noir' WHERE `virtuemart_product_id` = '131342'
2019-12-18	09:43:48	138	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29792_boîtier_pedalier_shimano_bb-mt800_89_5_-_92_mm_pa.jpg has not been found.
2019-12-18	09:43:48	138	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	138	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131342 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	138	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	138	[DEBUG]	Executed store
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131342','0','36.1188486536676','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	138	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	138	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	138	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131342
2019-12-18	09:43:48	138	[DEBUG]	Load a row
2019-12-18	09:43:48	138	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	138	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	138	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	138	[DEBUG]	Executed store
2019-12-18	09:43:48	138	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	138	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	138	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:48	138	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	138	[DEBUG]	Executed store
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131342','2')
2019-12-18	09:43:48	138	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	138	[DEBUG]	Store custom available field
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131342,3,'',1)
2019-12-18	09:43:48	138	[DEBUG]	Checking category
2019-12-18	09:43:48	138	[DEBUG]	Delete old category references
2019-12-18	09:43:48	138	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131342
2019-12-18	09:43:48	138	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	138	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131342 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	138	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	138	[DEBUG]	Add new category references
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131342','8','')
2019-12-18	09:43:48	138	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131342','8','')
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	139	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	139	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	139	[DEBUG]	Process line 139
2019-12-18	09:43:48	139	[DEBUG]	Load a row
2019-12-18	09:43:48	139	[DEBUG]	Processing item: A_5337_4
2019-12-18	09:43:48	139	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	139	[DEBUG]	Processing product tax
2019-12-18	09:43:48	139	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	139	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	139	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	139	[DEBUG]	Query for Product
2019-12-18	09:43:48	139	[DEBUG]	Executed store
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5337_4','0.355','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	139	[DEBUG]	Check product language entry
2019-12-18	09:43:48	139	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131343
2019-12-18	09:43:48	139	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337' AND `virtuemart_product_id` != 131343
2019-12-18	09:43:48	139	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337' AND `virtuemart_product_id` != 131343
2019-12-18	09:43:48	139	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131343, 'mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337')
2019-12-18	09:43:48	139	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	139	[DEBUG]	Executed store
2019-12-18	09:43:48	139	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='100x145 mm ISSIS, 355gr<br>N° art fourn : 62.69179',`product_name`='MLV-Bike Boîtier pédalier Shimano BB-MT800-PC (5337)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337' WHERE `virtuemart_product_id` = '131343'
2019-12-18	09:43:48	139	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29815_boîtier_pedalier_shimano_bb-mt800-pc.jpg has not been found.
2019-12-18	09:43:48	139	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	139	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131343 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	139	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	139	[DEBUG]	Executed store
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131343','0','31.4763231197772','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	139	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	139	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	139	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131343
2019-12-18	09:43:48	139	[DEBUG]	Load a row
2019-12-18	09:43:48	139	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	139	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	139	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	139	[DEBUG]	Executed store
2019-12-18	09:43:48	139	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	139	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	139	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:48	139	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	139	[DEBUG]	Executed store
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131343','2')
2019-12-18	09:43:48	139	[DEBUG]	Find the custom field ID
2019-12-18	09:43:48	139	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:48	139	[DEBUG]	No custom field ID found
2019-12-18	09:43:48	139	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	139	[DEBUG]	Store custom available field
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131343,3,'89.6502777777778',1)
2019-12-18	09:43:48	139	[DEBUG]	Checking category
2019-12-18	09:43:48	139	[DEBUG]	Delete old category references
2019-12-18	09:43:48	139	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131343
2019-12-18	09:43:48	139	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	139	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131343 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	139	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	139	[DEBUG]	Add new category references
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131343','8','')
2019-12-18	09:43:48	139	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131343','8','')
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:48	140	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field override
2019-12-18	09:43:48	140	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:48	140	[DEBUG]	Process line 140
2019-12-18	09:43:48	140	[DEBUG]	Load a row
2019-12-18	09:43:48	140	[DEBUG]	Processing item: 1000000081893
2019-12-18	09:43:48	140	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:48	140	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:48	140	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5337_4'
2019-12-18	09:43:48	140	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	140	[DEBUG]	Processing product tax
2019-12-18	09:43:48	140	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	140	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	140	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	140	[DEBUG]	Query for Product
2019-12-18	09:43:48	140	[DEBUG]	Executed store
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131343','1000000081893','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	140	[DEBUG]	No parent found
2019-12-18	09:43:48	140	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131343 AND customfield_value = 'stockable'
2019-12-18	09:43:48	140	[DEBUG]	Check product language entry
2019-12-18	09:43:48	140	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131344
2019-12-18	09:43:48	140	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337-acier' AND `virtuemart_product_id` != 131344
2019-12-18	09:43:48	140	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337-acier' AND `virtuemart_product_id` != 131344
2019-12-18	09:43:48	140	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131344, 'mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337-acier')
2019-12-18	09:43:48	140	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	140	[DEBUG]	Executed store
2019-12-18	09:43:48	140	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Boîtier pédalier Shimano BB-MT800-PC (5337) (Acier)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-boitier-pedalier-shimano-bb-mt800-pc-5337-acier' WHERE `virtuemart_product_id` = '131344'
2019-12-18	09:43:48	140	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/29815_boîtier_pedalier_shimano_bb-mt800-pc.jpg has not been found.
2019-12-18	09:43:48	140	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:48	140	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131344 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:48	140	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:48	140	[DEBUG]	Executed store
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131344','0','31.4763231197772','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	140	[DEBUG]	Checking manufacturer
2019-12-18	09:43:48	140	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:48	140	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131344
2019-12-18	09:43:48	140	[DEBUG]	Load a row
2019-12-18	09:43:48	140	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:48	140	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	140	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:48	140	[DEBUG]	Executed store
2019-12-18	09:43:48	140	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:48	140	[DEBUG]	Manufacturer exists
2019-12-18	09:43:48	140	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:48	140	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:48	140	[DEBUG]	Executed store
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131344','2')
2019-12-18	09:43:48	140	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:48	140	[DEBUG]	Store custom available field
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131344,3,'',1)
2019-12-18	09:43:48	140	[DEBUG]	Checking category
2019-12-18	09:43:48	140	[DEBUG]	Delete old category references
2019-12-18	09:43:48	140	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131344
2019-12-18	09:43:48	140	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:48	140	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131344 AND `virtuemart_category_id`  = 8
2019-12-18	09:43:48	140	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:48	140	[DEBUG]	Add new category references
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131344','8','')
2019-12-18	09:43:48	140	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:48	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131344','8','')
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field published
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:48	141	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field override
2019-12-18	09:43:48	141	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:48	141	[DEBUG]	Process line 141
2019-12-18	09:43:48	141	[DEBUG]	Load a row
2019-12-18	09:43:48	141	[DEBUG]	Processing item: A_378_1
2019-12-18	09:43:48	141	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:48	141	[DEBUG]	Processing product tax
2019-12-18	09:43:48	141	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:48	141	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:48	141	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:48	141	[DEBUG]	Query for Product
2019-12-18	09:43:48	141	[DEBUG]	Executed store
2019-12-18	09:43:48	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_378_1','0.323','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:48	141	[DEBUG]	Check product language entry
2019-12-18	09:43:48	141	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131345
2019-12-18	09:43:48	141	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-magma-carre-116-378' AND `virtuemart_product_id` != 131345
2019-12-18	09:43:48	141	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:48	141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-magma-carre-116-378' AND `virtuemart_product_id` != 131345
2019-12-18	09:43:48	141	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:48	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131345, 'msc-axe-pedalier-msc-magma-carre-116-378')
2019-12-18	09:43:48	141	[DEBUG]	Query for ProductLang
2019-12-18	09:43:48	141	[DEBUG]	Executed store
2019-12-18	09:43:48	141	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x116mm 323gr (ref.CH46116)<br>N° art fourn : CH46116',`product_name`='MSC Axe pédalier MSC Magma. Carré 116 (378)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-magma-carre-116-378' WHERE `virtuemart_product_id` = '131345'
2019-12-18	09:43:49	141	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_420.jpg
2019-12-18	09:43:49	141	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:49	141	[DEBUG]	Process image file
2019-12-18	09:43:49	141	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:49	141	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	141	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_420.jpg
2019-12-18	09:43:49	141	[DEBUG]	Full name target: images/stories/virtuemart/product/image_420.jpg
2019-12-18	09:43:49	141	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	141	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_420.jpg'
2019-12-18	09:43:49	141	[DEBUG]	Query for Media
2019-12-18	09:43:49	141	[DEBUG]	Executed store
2019-12-18	09:43:49	141	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_420.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_420.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5048'
2019-12-18	09:43:49	141	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	141	[DEBUG]	Executed store
2019-12-18	09:43:49	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131345','5048','1')
2019-12-18	09:43:49	141	[DEBUG]	Store product image relation
2019-12-18	09:43:49	141	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	141	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131345 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	141	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	141	[DEBUG]	Executed store
2019-12-18	09:43:49	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131345','0','12.4883936861653','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	141	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	141	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	141	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131345
2019-12-18	09:43:49	141	[DEBUG]	Load a row
2019-12-18	09:43:49	141	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	141	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	141	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	141	[DEBUG]	Executed store
2019-12-18	09:43:49	141	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	141	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	141	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	141	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	141	[DEBUG]	Executed store
2019-12-18	09:43:49	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131345','32')
2019-12-18	09:43:49	141	[DEBUG]	Find the custom field ID
2019-12-18	09:43:49	141	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:49	141	[DEBUG]	No custom field ID found
2019-12-18	09:43:49	141	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	141	[DEBUG]	Store custom available field
2019-12-18	09:43:49	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131345,3,'13.4625',1)
2019-12-18	09:43:49	141	[DEBUG]	Checking category
2019-12-18	09:43:49	141	[DEBUG]	Check if category path exists: BOITIERS CARRES - COMPACTINNENLAGER
2019-12-18	09:43:49	141	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIERS CARRES - COMPACTINNENLAGER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 6
2019-12-18	09:43:49	141	[DEBUG]	Delete old category references
2019-12-18	09:43:49	141	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131345
2019-12-18	09:43:49	141	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	141	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131345 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	141	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	141	[DEBUG]	Add new category references
2019-12-18	09:43:49	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131345','9','')
2019-12-18	09:43:49	141	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131345','9','')
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:49	142	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field override
2019-12-18	09:43:49	142	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:49	142	[DEBUG]	Process line 142
2019-12-18	09:43:49	142	[DEBUG]	Load a row
2019-12-18	09:43:49	142	[DEBUG]	Processing item: 1000000004472
2019-12-18	09:43:49	142	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:49	142	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:49	142	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_378_1'
2019-12-18	09:43:49	142	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	142	[DEBUG]	Processing product tax
2019-12-18	09:43:49	142	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	142	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	142	[DEBUG]	Query for Product
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131345','1000000004472','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	142	[DEBUG]	No parent found
2019-12-18	09:43:49	142	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131345 AND customfield_value = 'stockable'
2019-12-18	09:43:49	142	[DEBUG]	Check product language entry
2019-12-18	09:43:49	142	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131346
2019-12-18	09:43:49	142	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-magma-carre-116-378-noir' AND `virtuemart_product_id` != 131346
2019-12-18	09:43:49	142	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-magma-carre-116-378-noir' AND `virtuemart_product_id` != 131346
2019-12-18	09:43:49	142	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131346, 'msc-axe-pedalier-msc-magma-carre-116-378-noir')
2019-12-18	09:43:49	142	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Axe pédalier MSC Magma. Carré 116 (378) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-magma-carre-116-378-noir' WHERE `virtuemart_product_id` = '131346'
2019-12-18	09:43:49	142	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_420.jpg
2019-12-18	09:43:49	142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:49	142	[DEBUG]	Process image file
2019-12-18	09:43:49	142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2019-12-18	09:43:49	142	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	142	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_420.jpg
2019-12-18	09:43:49	142	[DEBUG]	Full name target: images/stories/virtuemart/product/image_420.jpg
2019-12-18	09:43:49	142	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_420.jpg'
2019-12-18	09:43:49	142	[DEBUG]	Query for Media
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_420.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_420.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5048'
2019-12-18	09:43:49	142	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131346','5048','1')
2019-12-18	09:43:49	142	[DEBUG]	Store product image relation
2019-12-18	09:43:49	142	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	142	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131346 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	142	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131346','0','12.4883936861653','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	142	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	142	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	142	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131346
2019-12-18	09:43:49	142	[DEBUG]	Load a row
2019-12-18	09:43:49	142	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	142	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	142	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	142	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	142	[DEBUG]	Executed store
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131346','32')
2019-12-18	09:43:49	142	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	142	[DEBUG]	Store custom available field
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131346,3,'',1)
2019-12-18	09:43:49	142	[DEBUG]	Checking category
2019-12-18	09:43:49	142	[DEBUG]	Delete old category references
2019-12-18	09:43:49	142	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131346
2019-12-18	09:43:49	142	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	142	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131346 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	142	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	142	[DEBUG]	Add new category references
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131346','9','')
2019-12-18	09:43:49	142	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131346','9','')
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	143	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field override
2019-12-18	09:43:49	143	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:49	143	[DEBUG]	Process line 143
2019-12-18	09:43:49	143	[DEBUG]	Load a row
2019-12-18	09:43:49	143	[DEBUG]	Processing item: A_380_15
2019-12-18	09:43:49	143	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	143	[DEBUG]	Processing product tax
2019-12-18	09:43:49	143	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	143	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	143	[DEBUG]	Query for Product
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_380_15','0.25','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	143	[DEBUG]	Check product language entry
2019-12-18	09:43:49	143	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131347
2019-12-18	09:43:49	143	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380' AND `virtuemart_product_id` != 131347
2019-12-18	09:43:49	143	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380' AND `virtuemart_product_id` != 131347
2019-12-18	09:43:49	143	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131347, 'msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380')
2019-12-18	09:43:49	143	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Axe de pédalier carré, BSA 1.37 x 24 mm 68x113.5mm 320gr (ref.CH551135)<br>N° art fourn : CH551135',`product_name`='MSC Axe pédalier MSC Mirage 68mm Carré 113.5 mm (380)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380' WHERE `virtuemart_product_id` = '131347'
2019-12-18	09:43:49	143	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_422.jpg
2019-12-18	09:43:49	143	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:49	143	[DEBUG]	Process image file
2019-12-18	09:43:49	143	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:49	143	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	143	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_422.jpg
2019-12-18	09:43:49	143	[DEBUG]	Full name target: images/stories/virtuemart/product/image_422.jpg
2019-12-18	09:43:49	143	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_422.jpg'
2019-12-18	09:43:49	143	[DEBUG]	Query for Media
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_422.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_422.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5049'
2019-12-18	09:43:49	143	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131347','5049','1')
2019-12-18	09:43:49	143	[DEBUG]	Store product image relation
2019-12-18	09:43:49	143	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	143	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131347 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	143	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131347','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	143	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	143	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	143	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131347
2019-12-18	09:43:49	143	[DEBUG]	Load a row
2019-12-18	09:43:49	143	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	143	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	143	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	143	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	143	[DEBUG]	Executed store
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131347','32')
2019-12-18	09:43:49	143	[DEBUG]	Find the custom field ID
2019-12-18	09:43:49	143	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:49	143	[DEBUG]	No custom field ID found
2019-12-18	09:43:49	143	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	143	[DEBUG]	Store custom available field
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131347,3,'29.8169444444444',1)
2019-12-18	09:43:49	143	[DEBUG]	Checking category
2019-12-18	09:43:49	143	[DEBUG]	Delete old category references
2019-12-18	09:43:49	143	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131347
2019-12-18	09:43:49	143	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	143	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131347 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	143	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	143	[DEBUG]	Add new category references
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131347','9','')
2019-12-18	09:43:49	143	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131347','9','')
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:49	144	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field override
2019-12-18	09:43:49	144	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:49	144	[DEBUG]	Process line 144
2019-12-18	09:43:49	144	[DEBUG]	Load a row
2019-12-18	09:43:49	144	[DEBUG]	Processing item: 1000000004496
2019-12-18	09:43:49	144	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:49	144	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:49	144	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_380_15'
2019-12-18	09:43:49	144	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	144	[DEBUG]	Processing product tax
2019-12-18	09:43:49	144	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	144	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	144	[DEBUG]	Query for Product
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131347','1000000004496','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	144	[DEBUG]	No parent found
2019-12-18	09:43:49	144	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131347 AND customfield_value = 'stockable'
2019-12-18	09:43:49	144	[DEBUG]	Check product language entry
2019-12-18	09:43:49	144	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131348
2019-12-18	09:43:49	144	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380-aluminium' AND `virtuemart_product_id` != 131348
2019-12-18	09:43:49	144	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380-aluminium' AND `virtuemart_product_id` != 131348
2019-12-18	09:43:49	144	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131348, 'msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380-aluminium')
2019-12-18	09:43:49	144	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Axe pédalier MSC Mirage 68mm Carré 113.5 mm (380) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-113-5-mm-380-aluminium' WHERE `virtuemart_product_id` = '131348'
2019-12-18	09:43:49	144	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_422.jpg
2019-12-18	09:43:49	144	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:49	144	[DEBUG]	Process image file
2019-12-18	09:43:49	144	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:49	144	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	144	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_422.jpg
2019-12-18	09:43:49	144	[DEBUG]	Full name target: images/stories/virtuemart/product/image_422.jpg
2019-12-18	09:43:49	144	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_422.jpg'
2019-12-18	09:43:49	144	[DEBUG]	Query for Media
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_422.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_422.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5049'
2019-12-18	09:43:49	144	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131348','5049','1')
2019-12-18	09:43:49	144	[DEBUG]	Store product image relation
2019-12-18	09:43:49	144	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	144	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131348 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	144	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131348','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	144	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	144	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	144	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131348
2019-12-18	09:43:49	144	[DEBUG]	Load a row
2019-12-18	09:43:49	144	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	144	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	144	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	144	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	144	[DEBUG]	Executed store
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131348','32')
2019-12-18	09:43:49	144	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	144	[DEBUG]	Store custom available field
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131348,3,'',1)
2019-12-18	09:43:49	144	[DEBUG]	Checking category
2019-12-18	09:43:49	144	[DEBUG]	Delete old category references
2019-12-18	09:43:49	144	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131348
2019-12-18	09:43:49	144	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	144	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131348 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	144	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	144	[DEBUG]	Add new category references
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131348','9','')
2019-12-18	09:43:49	144	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131348','9','')
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	145	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field override
2019-12-18	09:43:49	145	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:49	145	[DEBUG]	Process line 145
2019-12-18	09:43:49	145	[DEBUG]	Load a row
2019-12-18	09:43:49	145	[DEBUG]	Processing item: A_381_15
2019-12-18	09:43:49	145	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	145	[DEBUG]	Processing product tax
2019-12-18	09:43:49	145	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	145	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	145	[DEBUG]	Query for Product
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_381_15','0.232','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	145	[DEBUG]	Check product language entry
2019-12-18	09:43:49	145	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131349
2019-12-18	09:43:49	145	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-115-381' AND `virtuemart_product_id` != 131349
2019-12-18	09:43:49	145	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-115-381' AND `virtuemart_product_id` != 131349
2019-12-18	09:43:49	145	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131349, 'msc-axe-pedalier-msc-mirage-68mm-carre-115-381')
2019-12-18	09:43:49	145	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x115mm 224gr (ref.CH55115)<br>N° art fourn : CH55115',`product_name`='MSC Axe pédalier MSC Mirage 68mm. Carré 115 (381)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-115-381' WHERE `virtuemart_product_id` = '131349'
2019-12-18	09:43:49	145	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_423.jpg
2019-12-18	09:43:49	145	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	145	[DEBUG]	Process image file
2019-12-18	09:43:49	145	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	145	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	145	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_423.jpg
2019-12-18	09:43:49	145	[DEBUG]	Full name target: images/stories/virtuemart/product/image_423.jpg
2019-12-18	09:43:49	145	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_423.jpg'
2019-12-18	09:43:49	145	[DEBUG]	Query for Media
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_423.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_423.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5050'
2019-12-18	09:43:49	145	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131349','5050','1')
2019-12-18	09:43:49	145	[DEBUG]	Store product image relation
2019-12-18	09:43:49	145	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	145	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131349 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	145	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131349','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	145	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	145	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	145	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131349
2019-12-18	09:43:49	145	[DEBUG]	Load a row
2019-12-18	09:43:49	145	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	145	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	145	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	145	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	145	[DEBUG]	Executed store
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131349','32')
2019-12-18	09:43:49	145	[DEBUG]	Find the custom field ID
2019-12-18	09:43:49	145	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:49	145	[DEBUG]	No custom field ID found
2019-12-18	09:43:49	145	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	145	[DEBUG]	Store custom available field
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131349,3,'29.8169444444444',1)
2019-12-18	09:43:49	145	[DEBUG]	Checking category
2019-12-18	09:43:49	145	[DEBUG]	Delete old category references
2019-12-18	09:43:49	145	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131349
2019-12-18	09:43:49	145	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	145	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131349 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	145	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	145	[DEBUG]	Add new category references
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131349','9','')
2019-12-18	09:43:49	145	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131349','9','')
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:49	146	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field override
2019-12-18	09:43:49	146	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:49	146	[DEBUG]	Process line 146
2019-12-18	09:43:49	146	[DEBUG]	Load a row
2019-12-18	09:43:49	146	[DEBUG]	Processing item: 1000000004502
2019-12-18	09:43:49	146	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:49	146	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:49	146	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_381_15'
2019-12-18	09:43:49	146	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	146	[DEBUG]	Processing product tax
2019-12-18	09:43:49	146	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	146	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	146	[DEBUG]	Query for Product
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131349','1000000004502','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	146	[DEBUG]	No parent found
2019-12-18	09:43:49	146	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131349 AND customfield_value = 'stockable'
2019-12-18	09:43:49	146	[DEBUG]	Check product language entry
2019-12-18	09:43:49	146	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131350
2019-12-18	09:43:49	146	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-115-381-aluminium' AND `virtuemart_product_id` != 131350
2019-12-18	09:43:49	146	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-115-381-aluminium' AND `virtuemart_product_id` != 131350
2019-12-18	09:43:49	146	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131350, 'msc-axe-pedalier-msc-mirage-68mm-carre-115-381-aluminium')
2019-12-18	09:43:49	146	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Axe pédalier MSC Mirage 68mm. Carré 115 (381) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-115-381-aluminium' WHERE `virtuemart_product_id` = '131350'
2019-12-18	09:43:49	146	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_423.jpg
2019-12-18	09:43:49	146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	146	[DEBUG]	Process image file
2019-12-18	09:43:49	146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	146	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	146	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_423.jpg
2019-12-18	09:43:49	146	[DEBUG]	Full name target: images/stories/virtuemart/product/image_423.jpg
2019-12-18	09:43:49	146	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_423.jpg'
2019-12-18	09:43:49	146	[DEBUG]	Query for Media
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_423.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_423.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5050'
2019-12-18	09:43:49	146	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131350','5050','1')
2019-12-18	09:43:49	146	[DEBUG]	Store product image relation
2019-12-18	09:43:49	146	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	146	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131350 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	146	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131350','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	146	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	146	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	146	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131350
2019-12-18	09:43:49	146	[DEBUG]	Load a row
2019-12-18	09:43:49	146	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	146	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	146	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	146	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	146	[DEBUG]	Executed store
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131350','32')
2019-12-18	09:43:49	146	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	146	[DEBUG]	Store custom available field
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131350,3,'',1)
2019-12-18	09:43:49	146	[DEBUG]	Checking category
2019-12-18	09:43:49	146	[DEBUG]	Delete old category references
2019-12-18	09:43:49	146	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131350
2019-12-18	09:43:49	146	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	146	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131350 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	146	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	146	[DEBUG]	Add new category references
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131350','9','')
2019-12-18	09:43:49	146	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131350','9','')
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	147	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field override
2019-12-18	09:43:49	147	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:49	147	[DEBUG]	Process line 147
2019-12-18	09:43:49	147	[DEBUG]	Load a row
2019-12-18	09:43:49	147	[DEBUG]	Processing item: A_382_15
2019-12-18	09:43:49	147	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	147	[DEBUG]	Processing product tax
2019-12-18	09:43:49	147	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	147	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	147	[DEBUG]	Query for Product
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_382_15','0.232','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	147	[DEBUG]	Check product language entry
2019-12-18	09:43:49	147	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131351
2019-12-18	09:43:49	147	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-116-382' AND `virtuemart_product_id` != 131351
2019-12-18	09:43:49	147	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-116-382' AND `virtuemart_product_id` != 131351
2019-12-18	09:43:49	147	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131351, 'msc-axe-pedalier-msc-mirage-68mm-carre-116-382')
2019-12-18	09:43:49	147	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x111mm 232gr (ref.CH55116)<br>N° art fourn : CH55116',`product_name`='MSC Axe pédalier MSC Mirage 68mm. Carré 116 (382)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-116-382' WHERE `virtuemart_product_id` = '131351'
2019-12-18	09:43:49	147	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_424.jpg
2019-12-18	09:43:49	147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	147	[DEBUG]	Process image file
2019-12-18	09:43:49	147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	147	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	147	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_424.jpg
2019-12-18	09:43:49	147	[DEBUG]	Full name target: images/stories/virtuemart/product/image_424.jpg
2019-12-18	09:43:49	147	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_424.jpg'
2019-12-18	09:43:49	147	[DEBUG]	Query for Media
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_424.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_424.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5051'
2019-12-18	09:43:49	147	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131351','5051','1')
2019-12-18	09:43:49	147	[DEBUG]	Store product image relation
2019-12-18	09:43:49	147	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	147	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131351 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	147	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131351','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	147	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	147	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	147	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131351
2019-12-18	09:43:49	147	[DEBUG]	Load a row
2019-12-18	09:43:49	147	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	147	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	147	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	147	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	147	[DEBUG]	Executed store
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131351','32')
2019-12-18	09:43:49	147	[DEBUG]	Find the custom field ID
2019-12-18	09:43:49	147	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:49	147	[DEBUG]	No custom field ID found
2019-12-18	09:43:49	147	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	147	[DEBUG]	Store custom available field
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131351,3,'29.8169444444444',1)
2019-12-18	09:43:49	147	[DEBUG]	Checking category
2019-12-18	09:43:49	147	[DEBUG]	Delete old category references
2019-12-18	09:43:49	147	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131351
2019-12-18	09:43:49	147	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	147	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131351 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	147	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	147	[DEBUG]	Add new category references
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131351','9','')
2019-12-18	09:43:49	147	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131351','9','')
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:49	148	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field override
2019-12-18	09:43:49	148	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:49	148	[DEBUG]	Process line 148
2019-12-18	09:43:49	148	[DEBUG]	Load a row
2019-12-18	09:43:49	148	[DEBUG]	Processing item: 1000000004519
2019-12-18	09:43:49	148	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:49	148	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:49	148	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_382_15'
2019-12-18	09:43:49	148	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	148	[DEBUG]	Processing product tax
2019-12-18	09:43:49	148	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	148	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	148	[DEBUG]	Query for Product
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131351','1000000004519','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	148	[DEBUG]	No parent found
2019-12-18	09:43:49	148	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131351 AND customfield_value = 'stockable'
2019-12-18	09:43:49	148	[DEBUG]	Check product language entry
2019-12-18	09:43:49	148	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131352
2019-12-18	09:43:49	148	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-116-382-aluminium' AND `virtuemart_product_id` != 131352
2019-12-18	09:43:49	148	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-116-382-aluminium' AND `virtuemart_product_id` != 131352
2019-12-18	09:43:49	148	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131352, 'msc-axe-pedalier-msc-mirage-68mm-carre-116-382-aluminium')
2019-12-18	09:43:49	148	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Axe pédalier MSC Mirage 68mm. Carré 116 (382) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-116-382-aluminium' WHERE `virtuemart_product_id` = '131352'
2019-12-18	09:43:49	148	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_424.jpg
2019-12-18	09:43:49	148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	148	[DEBUG]	Process image file
2019-12-18	09:43:49	148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	148	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	148	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_424.jpg
2019-12-18	09:43:49	148	[DEBUG]	Full name target: images/stories/virtuemart/product/image_424.jpg
2019-12-18	09:43:49	148	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_424.jpg'
2019-12-18	09:43:49	148	[DEBUG]	Query for Media
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_424.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_424.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5051'
2019-12-18	09:43:49	148	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131352','5051','1')
2019-12-18	09:43:49	148	[DEBUG]	Store product image relation
2019-12-18	09:43:49	148	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	148	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131352 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	148	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131352','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	148	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	148	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	148	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131352
2019-12-18	09:43:49	148	[DEBUG]	Load a row
2019-12-18	09:43:49	148	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	148	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	148	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	148	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	148	[DEBUG]	Executed store
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131352','32')
2019-12-18	09:43:49	148	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	148	[DEBUG]	Store custom available field
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131352,3,'',1)
2019-12-18	09:43:49	148	[DEBUG]	Checking category
2019-12-18	09:43:49	148	[DEBUG]	Delete old category references
2019-12-18	09:43:49	148	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131352
2019-12-18	09:43:49	148	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	148	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131352 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	148	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	148	[DEBUG]	Add new category references
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131352','9','')
2019-12-18	09:43:49	148	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131352','9','')
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	149	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field override
2019-12-18	09:43:49	149	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:49	149	[DEBUG]	Process line 149
2019-12-18	09:43:49	149	[DEBUG]	Load a row
2019-12-18	09:43:49	149	[DEBUG]	Processing item: A_386_15
2019-12-18	09:43:49	149	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	149	[DEBUG]	Processing product tax
2019-12-18	09:43:49	149	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	149	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	149	[DEBUG]	Query for Product
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_386_15','0.232','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	149	[DEBUG]	Check product language entry
2019-12-18	09:43:49	149	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131353
2019-12-18	09:43:49	149	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-127-386' AND `virtuemart_product_id` != 131353
2019-12-18	09:43:49	149	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-127-386' AND `virtuemart_product_id` != 131353
2019-12-18	09:43:49	149	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131353, 'msc-axe-pedalier-msc-mirage-68mm-carre-127-386')
2019-12-18	09:43:49	149	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x127.5mm 251gr (ref.CH55127)<br>N° art fourn : CH55127',`product_name`='MSC Axe pédalier MSC Mirage 68mm. Carré 127 (386)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-127-386' WHERE `virtuemart_product_id` = '131353'
2019-12-18	09:43:49	149	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_428.jpg
2019-12-18	09:43:49	149	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	149	[DEBUG]	Process image file
2019-12-18	09:43:49	149	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	149	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	149	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_428.jpg
2019-12-18	09:43:49	149	[DEBUG]	Full name target: images/stories/virtuemart/product/image_428.jpg
2019-12-18	09:43:49	149	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_428.jpg'
2019-12-18	09:43:49	149	[DEBUG]	Query for Media
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_428.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_428.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5055'
2019-12-18	09:43:49	149	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131353','5055','1')
2019-12-18	09:43:49	149	[DEBUG]	Store product image relation
2019-12-18	09:43:49	149	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	149	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131353 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	149	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131353','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	149	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	149	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	149	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131353
2019-12-18	09:43:49	149	[DEBUG]	Load a row
2019-12-18	09:43:49	149	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	149	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	149	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	149	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	149	[DEBUG]	Executed store
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131353','32')
2019-12-18	09:43:49	149	[DEBUG]	Find the custom field ID
2019-12-18	09:43:49	149	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:49	149	[DEBUG]	No custom field ID found
2019-12-18	09:43:49	149	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	149	[DEBUG]	Store custom available field
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131353,3,'29.8169444444444',1)
2019-12-18	09:43:49	149	[DEBUG]	Checking category
2019-12-18	09:43:49	149	[DEBUG]	Delete old category references
2019-12-18	09:43:49	149	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131353
2019-12-18	09:43:49	149	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	149	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131353 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	149	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	149	[DEBUG]	Add new category references
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131353','9','')
2019-12-18	09:43:49	149	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131353','9','')
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:49	150	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field override
2019-12-18	09:43:49	150	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:49	150	[DEBUG]	Process line 150
2019-12-18	09:43:49	150	[DEBUG]	Load a row
2019-12-18	09:43:49	150	[DEBUG]	Processing item: 1000000004557
2019-12-18	09:43:49	150	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:49	150	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:49	150	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_386_15'
2019-12-18	09:43:49	150	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	150	[DEBUG]	Processing product tax
2019-12-18	09:43:49	150	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	150	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	150	[DEBUG]	Query for Product
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131353','1000000004557','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	150	[DEBUG]	No parent found
2019-12-18	09:43:49	150	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131353 AND customfield_value = 'stockable'
2019-12-18	09:43:49	150	[DEBUG]	Check product language entry
2019-12-18	09:43:49	150	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131354
2019-12-18	09:43:49	150	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-127-386-aluminium' AND `virtuemart_product_id` != 131354
2019-12-18	09:43:49	150	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-axe-pedalier-msc-mirage-68mm-carre-127-386-aluminium' AND `virtuemart_product_id` != 131354
2019-12-18	09:43:49	150	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131354, 'msc-axe-pedalier-msc-mirage-68mm-carre-127-386-aluminium')
2019-12-18	09:43:49	150	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Axe pédalier MSC Mirage 68mm. Carré 127 (386) (Aluminium)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-axe-pedalier-msc-mirage-68mm-carre-127-386-aluminium' WHERE `virtuemart_product_id` = '131354'
2019-12-18	09:43:49	150	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_428.jpg
2019-12-18	09:43:49	150	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	150	[DEBUG]	Process image file
2019-12-18	09:43:49	150	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:49	150	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:49	150	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_428.jpg
2019-12-18	09:43:49	150	[DEBUG]	Full name target: images/stories/virtuemart/product/image_428.jpg
2019-12-18	09:43:49	150	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_428.jpg'
2019-12-18	09:43:49	150	[DEBUG]	Query for Media
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_428.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_428.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5055'
2019-12-18	09:43:49	150	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131354','5055','1')
2019-12-18	09:43:49	150	[DEBUG]	Store product image relation
2019-12-18	09:43:49	150	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	150	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131354 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	150	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131354','0','27.669452181987','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	150	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	150	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	150	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131354
2019-12-18	09:43:49	150	[DEBUG]	Load a row
2019-12-18	09:43:49	150	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	150	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:49	150	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:49	150	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	150	[DEBUG]	Executed store
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131354','32')
2019-12-18	09:43:49	150	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	150	[DEBUG]	Store custom available field
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131354,3,'',1)
2019-12-18	09:43:49	150	[DEBUG]	Checking category
2019-12-18	09:43:49	150	[DEBUG]	Delete old category references
2019-12-18	09:43:49	150	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131354
2019-12-18	09:43:49	150	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	150	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131354 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	150	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	150	[DEBUG]	Add new category references
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131354','9','')
2019-12-18	09:43:49	150	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131354','9','')
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	151	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field override
2019-12-18	09:43:49	151	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:49	151	[DEBUG]	Process line 151
2019-12-18	09:43:49	151	[DEBUG]	Load a row
2019-12-18	09:43:49	151	[DEBUG]	Processing item: A_6348_1
2019-12-18	09:43:49	151	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	151	[DEBUG]	Processing product tax
2019-12-18	09:43:49	151	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	151	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	151	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	151	[DEBUG]	Query for Product
2019-12-18	09:43:49	151	[DEBUG]	Executed store
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6348_1','0.232','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	151	[DEBUG]	Check product language entry
2019-12-18	09:43:49	151	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131355
2019-12-18	09:43:49	151	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-shimano-cache-manivelle-6348' AND `virtuemart_product_id` != 131355
2019-12-18	09:43:49	151	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-shimano-cache-manivelle-6348' AND `virtuemart_product_id` != 131355
2019-12-18	09:43:49	151	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131355, 'mlv-bike-shimano-cache-manivelle-6348')
2019-12-18	09:43:49	151	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	151	[DEBUG]	Executed store
2019-12-18	09:43:49	151	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='68x124.5mm 243gr (ref.CH55124)<br>N° art fourn : 63.31682',`product_name`='MLV-Bike Shimano cache manivelle (6348)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-shimano-cache-manivelle-6348' WHERE `virtuemart_product_id` = '131355'
2019-12-18	09:43:49	151	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32236_shimano_cache_manivelle_.jpg has not been found.
2019-12-18	09:43:49	151	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	151	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131355 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	151	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:49	151	[DEBUG]	Executed store
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131355','0','1.81058495821727','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	151	[DEBUG]	Checking manufacturer
2019-12-18	09:43:49	151	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:49	151	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131355
2019-12-18	09:43:49	151	[DEBUG]	Load a row
2019-12-18	09:43:49	151	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:49	151	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:49	151	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:49	151	[DEBUG]	Executed store
2019-12-18	09:43:49	151	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:49	151	[DEBUG]	Manufacturer exists
2019-12-18	09:43:49	151	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:49	151	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:49	151	[DEBUG]	Executed store
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131355','2')
2019-12-18	09:43:49	151	[DEBUG]	Find the custom field ID
2019-12-18	09:43:49	151	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:49	151	[DEBUG]	No custom field ID found
2019-12-18	09:43:49	151	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:49	151	[DEBUG]	Store custom available field
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131355,3,'29.8169444444444',1)
2019-12-18	09:43:49	151	[DEBUG]	Checking category
2019-12-18	09:43:49	151	[DEBUG]	Delete old category references
2019-12-18	09:43:49	151	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131355
2019-12-18	09:43:49	151	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:49	151	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131355 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:49	151	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:49	151	[DEBUG]	Add new category references
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131355','9','')
2019-12-18	09:43:49	151	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:49	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131355','9','')
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field published
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:49	152	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field override
2019-12-18	09:43:49	152	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:49	152	[DEBUG]	Process line 152
2019-12-18	09:43:49	152	[DEBUG]	Load a row
2019-12-18	09:43:49	152	[DEBUG]	Processing item: 4524667153214
2019-12-18	09:43:49	152	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:49	152	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:49	152	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6348_1'
2019-12-18	09:43:49	152	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:49	152	[DEBUG]	Processing product tax
2019-12-18	09:43:49	152	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:49	152	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:49	152	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:49	152	[DEBUG]	Query for Product
2019-12-18	09:43:49	152	[DEBUG]	Executed store
2019-12-18	09:43:49	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131355','4524667153214','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:49	152	[DEBUG]	No parent found
2019-12-18	09:43:49	152	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131355 AND customfield_value = 'stockable'
2019-12-18	09:43:49	152	[DEBUG]	Check product language entry
2019-12-18	09:43:49	152	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131356
2019-12-18	09:43:49	152	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-shimano-cache-manivelle-6348-noir' AND `virtuemart_product_id` != 131356
2019-12-18	09:43:49	152	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:49	152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-shimano-cache-manivelle-6348-noir' AND `virtuemart_product_id` != 131356
2019-12-18	09:43:49	152	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:49	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131356, 'mlv-bike-shimano-cache-manivelle-6348-noir')
2019-12-18	09:43:49	152	[DEBUG]	Query for ProductLang
2019-12-18	09:43:49	152	[DEBUG]	Executed store
2019-12-18	09:43:49	152	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Shimano cache manivelle (6348) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-shimano-cache-manivelle-6348-noir' WHERE `virtuemart_product_id` = '131356'
2019-12-18	09:43:49	152	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32236_shimano_cache_manivelle_.jpg has not been found.
2019-12-18	09:43:49	152	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:49	152	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131356 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:49	152	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	152	[DEBUG]	Executed store
2019-12-18	09:43:50	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131356','0','1.81058495821727','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	152	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	152	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	152	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131356
2019-12-18	09:43:50	152	[DEBUG]	Load a row
2019-12-18	09:43:50	152	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	152	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:50	152	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	152	[DEBUG]	Executed store
2019-12-18	09:43:50	152	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:50	152	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	152	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:50	152	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	152	[DEBUG]	Executed store
2019-12-18	09:43:50	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131356','2')
2019-12-18	09:43:50	152	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	152	[DEBUG]	Store custom available field
2019-12-18	09:43:50	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131356,3,'',1)
2019-12-18	09:43:50	152	[DEBUG]	Checking category
2019-12-18	09:43:50	152	[DEBUG]	Delete old category references
2019-12-18	09:43:50	152	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131356
2019-12-18	09:43:50	152	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	152	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131356 AND `virtuemart_category_id`  = 9
2019-12-18	09:43:50	152	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	152	[DEBUG]	Add new category references
2019-12-18	09:43:50	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131356','9','')
2019-12-18	09:43:50	152	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131356','9','')
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	153	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field override
2019-12-18	09:43:50	153	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:50	153	[DEBUG]	Process line 153
2019-12-18	09:43:50	153	[DEBUG]	Load a row
2019-12-18	09:43:50	153	[DEBUG]	Processing item: A_1548_5
2019-12-18	09:43:50	153	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	153	[DEBUG]	Processing product tax
2019-12-18	09:43:50	153	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	153	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	153	[DEBUG]	Query for Product
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1548_5','0.08','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	153	[DEBUG]	Check product language entry
2019-12-18	09:43:50	153	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131357
2019-12-18	09:43:50	153	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' AND `virtuemart_product_id` != 131357
2019-12-18	09:43:50	153	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' AND `virtuemart_product_id` != 131357
2019-12-18	09:43:50	153	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131357, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548')
2019-12-18	09:43:50	153	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier Ultralight BB24 Compatible avec SHIMANO, FSA, MSC Roulements annulaires coniques avec double rondelles de gomme étanche pour ne jamais se bloquer. Serrage du boitier en interne, pour éviter les rayures et supporter le maximum de force. 68/73mm 80g sans rondelle, Inclue bouteille de fixateur. Le meilleur boîtier de pédalier du marché !<br>N° art fourn : PT1SM',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' WHERE `virtuemart_product_id` = '131357'
2019-12-18	09:43:50	153	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5671.jpg
2019-12-18	09:43:50	153	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	153	[DEBUG]	Process image file
2019-12-18	09:43:50	153	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	153	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	153	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5671.jpg
2019-12-18	09:43:50	153	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5671.jpg
2019-12-18	09:43:50	153	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5671.jpg'
2019-12-18	09:43:50	153	[DEBUG]	Query for Media
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5671.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5671.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5069'
2019-12-18	09:43:50	153	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131357','5069','1')
2019-12-18	09:43:50	153	[DEBUG]	Store product image relation
2019-12-18	09:43:50	153	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	153	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131357 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	153	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131357','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	153	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	153	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	153	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131357
2019-12-18	09:43:50	153	[DEBUG]	Load a row
2019-12-18	09:43:50	153	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	153	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	153	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	153	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	153	[DEBUG]	Executed store
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131357','32')
2019-12-18	09:43:50	153	[DEBUG]	Find the custom field ID
2019-12-18	09:43:50	153	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:50	153	[DEBUG]	No custom field ID found
2019-12-18	09:43:50	153	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	153	[DEBUG]	Store custom available field
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131357,3,'79.6780555555556',1)
2019-12-18	09:43:50	153	[DEBUG]	Checking category
2019-12-18	09:43:50	153	[DEBUG]	Check if category path exists: BOITIERS MANIVELLES INTEGREES - TRETLAGER EINHAITEN
2019-12-18	09:43:50	153	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIERS MANIVELLES INTEGREES - TRETLAGER EINHAITEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 6
2019-12-18	09:43:50	153	[DEBUG]	Delete old category references
2019-12-18	09:43:50	153	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131357
2019-12-18	09:43:50	153	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	153	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131357 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	153	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	153	[DEBUG]	Add new category references
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131357','10','')
2019-12-18	09:43:50	153	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131357','10','')
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:50	154	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field override
2019-12-18	09:43:50	154	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:50	154	[DEBUG]	Process line 154
2019-12-18	09:43:50	154	[DEBUG]	Load a row
2019-12-18	09:43:50	154	[DEBUG]	Processing item: 1000000029307
2019-12-18	09:43:50	154	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:50	154	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:50	154	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1548_5'
2019-12-18	09:43:50	154	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	154	[DEBUG]	Processing product tax
2019-12-18	09:43:50	154	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	154	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	154	[DEBUG]	Query for Product
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131357','1000000029307','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	154	[DEBUG]	No parent found
2019-12-18	09:43:50	154	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131357 AND customfield_value = 'stockable'
2019-12-18	09:43:50	154	[DEBUG]	Check product language entry
2019-12-18	09:43:50	154	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131358
2019-12-18	09:43:50	154	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-or' AND `virtuemart_product_id` != 131358
2019-12-18	09:43:50	154	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-or' AND `virtuemart_product_id` != 131358
2019-12-18	09:43:50	154	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131358, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-or')
2019-12-18	09:43:50	154	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548) (Or)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-or' WHERE `virtuemart_product_id` = '131358'
2019-12-18	09:43:50	154	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5671.jpg
2019-12-18	09:43:50	154	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	154	[DEBUG]	Process image file
2019-12-18	09:43:50	154	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	154	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	154	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_5671.jpg
2019-12-18	09:43:50	154	[DEBUG]	Full name target: images/stories/virtuemart/product/image_5671.jpg
2019-12-18	09:43:50	154	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_5671.jpg'
2019-12-18	09:43:50	154	[DEBUG]	Query for Media
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_5671.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_5671.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5069'
2019-12-18	09:43:50	154	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131358','5069','1')
2019-12-18	09:43:50	154	[DEBUG]	Store product image relation
2019-12-18	09:43:50	154	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	154	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131358 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	154	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131358','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	154	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	154	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	154	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131358
2019-12-18	09:43:50	154	[DEBUG]	Load a row
2019-12-18	09:43:50	154	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	154	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	154	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	154	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	154	[DEBUG]	Executed store
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131358','32')
2019-12-18	09:43:50	154	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	154	[DEBUG]	Store custom available field
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131358,3,'',1)
2019-12-18	09:43:50	154	[DEBUG]	Checking category
2019-12-18	09:43:50	154	[DEBUG]	Delete old category references
2019-12-18	09:43:50	154	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131358
2019-12-18	09:43:50	154	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	154	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131358 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	154	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	154	[DEBUG]	Add new category references
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131358','10','')
2019-12-18	09:43:50	154	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131358','10','')
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	155	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field override
2019-12-18	09:43:50	155	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:50	155	[DEBUG]	Process line 155
2019-12-18	09:43:50	155	[DEBUG]	Load a row
2019-12-18	09:43:50	155	[DEBUG]	Processing item: A_1548_7
2019-12-18	09:43:50	155	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	155	[DEBUG]	Processing product tax
2019-12-18	09:43:50	155	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	155	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	155	[DEBUG]	Query for Product
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1548_7','0.08','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	155	[DEBUG]	Check product language entry
2019-12-18	09:43:50	155	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131359
2019-12-18	09:43:50	155	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' AND `virtuemart_product_id` != 131359
2019-12-18	09:43:50	155	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:50	155	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' OR `slug` REGEXP '^msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131359 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:50	155	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-1' AND `virtuemart_product_id` != 131359
2019-12-18	09:43:50	155	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131359, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-1')
2019-12-18	09:43:50	155	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier Ultralight BB24 Compatible avec SHIMANO, FSA, MSC Roulements annulaires coniques avec double rondelles de gomme étanche pour ne jamais se bloquer. Serrage du boitier en interne, pour éviter les rayures et supporter le maximum de force. 68/73mm 80g sans rondelle, Inclue bouteille de fixateur. Le meilleur boîtier de pédalier du marché !<br>N° art fourn : PT1SM',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-1' WHERE `virtuemart_product_id` = '131359'
2019-12-18	09:43:50	155	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3842.jpg
2019-12-18	09:43:50	155	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	155	[DEBUG]	Process image file
2019-12-18	09:43:50	155	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	155	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	155	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3842.jpg
2019-12-18	09:43:50	155	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3842.jpg
2019-12-18	09:43:50	155	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3842.jpg'
2019-12-18	09:43:50	155	[DEBUG]	Query for Media
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3842.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3842.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5070'
2019-12-18	09:43:50	155	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131359','5070','1')
2019-12-18	09:43:50	155	[DEBUG]	Store product image relation
2019-12-18	09:43:50	155	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	155	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131359 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	155	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131359','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	155	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	155	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	155	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131359
2019-12-18	09:43:50	155	[DEBUG]	Load a row
2019-12-18	09:43:50	155	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	155	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	155	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	155	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	155	[DEBUG]	Executed store
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131359','32')
2019-12-18	09:43:50	155	[DEBUG]	Find the custom field ID
2019-12-18	09:43:50	155	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:50	155	[DEBUG]	No custom field ID found
2019-12-18	09:43:50	155	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	155	[DEBUG]	Store custom available field
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131359,3,'79.6780555555556',1)
2019-12-18	09:43:50	155	[DEBUG]	Checking category
2019-12-18	09:43:50	155	[DEBUG]	Delete old category references
2019-12-18	09:43:50	155	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131359
2019-12-18	09:43:50	155	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	155	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131359 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	155	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	155	[DEBUG]	Add new category references
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131359','10','')
2019-12-18	09:43:50	155	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131359','10','')
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:50	156	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field override
2019-12-18	09:43:50	156	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:50	156	[DEBUG]	Process line 156
2019-12-18	09:43:50	156	[DEBUG]	Load a row
2019-12-18	09:43:50	156	[DEBUG]	Processing item: 1000000029314
2019-12-18	09:43:50	156	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:50	156	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:50	156	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1548_7'
2019-12-18	09:43:50	156	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	156	[DEBUG]	Processing product tax
2019-12-18	09:43:50	156	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	156	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	156	[DEBUG]	Query for Product
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131359','1000000029314','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	156	[DEBUG]	No parent found
2019-12-18	09:43:50	156	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131359 AND customfield_value = 'stockable'
2019-12-18	09:43:50	156	[DEBUG]	Check product language entry
2019-12-18	09:43:50	156	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131360
2019-12-18	09:43:50	156	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-rouge' AND `virtuemart_product_id` != 131360
2019-12-18	09:43:50	156	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-rouge' AND `virtuemart_product_id` != 131360
2019-12-18	09:43:50	156	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131360, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-rouge')
2019-12-18	09:43:50	156	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548) (Rouge)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-rouge' WHERE `virtuemart_product_id` = '131360'
2019-12-18	09:43:50	156	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3842.jpg
2019-12-18	09:43:50	156	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	156	[DEBUG]	Process image file
2019-12-18	09:43:50	156	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	156	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	156	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3842.jpg
2019-12-18	09:43:50	156	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3842.jpg
2019-12-18	09:43:50	156	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3842.jpg'
2019-12-18	09:43:50	156	[DEBUG]	Query for Media
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3842.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3842.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5070'
2019-12-18	09:43:50	156	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131360','5070','1')
2019-12-18	09:43:50	156	[DEBUG]	Store product image relation
2019-12-18	09:43:50	156	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	156	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131360 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	156	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131360','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	156	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	156	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	156	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131360
2019-12-18	09:43:50	156	[DEBUG]	Load a row
2019-12-18	09:43:50	156	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	156	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	156	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	156	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	156	[DEBUG]	Executed store
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131360','32')
2019-12-18	09:43:50	156	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	156	[DEBUG]	Store custom available field
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131360,3,'',1)
2019-12-18	09:43:50	156	[DEBUG]	Checking category
2019-12-18	09:43:50	156	[DEBUG]	Delete old category references
2019-12-18	09:43:50	156	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131360
2019-12-18	09:43:50	156	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	156	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131360 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	156	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	156	[DEBUG]	Add new category references
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131360','10','')
2019-12-18	09:43:50	156	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131360','10','')
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	157	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field override
2019-12-18	09:43:50	157	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:50	157	[DEBUG]	Process line 157
2019-12-18	09:43:50	157	[DEBUG]	Load a row
2019-12-18	09:43:50	157	[DEBUG]	Processing item: A_1548_40
2019-12-18	09:43:50	157	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	157	[DEBUG]	Processing product tax
2019-12-18	09:43:50	157	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	157	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	157	[DEBUG]	Query for Product
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1548_40','0.08','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	157	[DEBUG]	Check product language entry
2019-12-18	09:43:50	157	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131361
2019-12-18	09:43:50	157	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' AND `virtuemart_product_id` != 131361
2019-12-18	09:43:50	157	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:50	157	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' OR `slug` REGEXP '^msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131361 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:50	157	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-2' AND `virtuemart_product_id` != 131361
2019-12-18	09:43:50	157	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131361, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-2')
2019-12-18	09:43:50	157	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier Ultralight BB24 Compatible avec SHIMANO, FSA, MSC Roulements annulaires coniques avec double rondelles de gomme étanche pour ne jamais se bloquer. Serrage du boitier en interne, pour éviter les rayures et supporter le maximum de force. 68/73mm 80g sans rondelle, Inclue bouteille de fixateur. Le meilleur boîtier de pédalier du marché !<br>N° art fourn : PT1SM',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-2' WHERE `virtuemart_product_id` = '131361'
2019-12-18	09:43:50	157	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_14523.jpg
2019-12-18	09:43:50	157	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	157	[DEBUG]	Process image file
2019-12-18	09:43:50	157	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	157	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	157	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_14523.jpg
2019-12-18	09:43:50	157	[DEBUG]	Full name target: images/stories/virtuemart/product/image_14523.jpg
2019-12-18	09:43:50	157	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_14523.jpg'
2019-12-18	09:43:50	157	[DEBUG]	Query for Media
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_14523.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_14523.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5072'
2019-12-18	09:43:50	157	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131361','5072','1')
2019-12-18	09:43:50	157	[DEBUG]	Store product image relation
2019-12-18	09:43:50	157	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	157	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131361 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	157	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131361','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	157	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	157	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	157	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131361
2019-12-18	09:43:50	157	[DEBUG]	Load a row
2019-12-18	09:43:50	157	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	157	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	157	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	157	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	157	[DEBUG]	Executed store
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131361','32')
2019-12-18	09:43:50	157	[DEBUG]	Find the custom field ID
2019-12-18	09:43:50	157	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:50	157	[DEBUG]	No custom field ID found
2019-12-18	09:43:50	157	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	157	[DEBUG]	Store custom available field
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131361,3,'79.6780555555556',1)
2019-12-18	09:43:50	157	[DEBUG]	Checking category
2019-12-18	09:43:50	157	[DEBUG]	Delete old category references
2019-12-18	09:43:50	157	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131361
2019-12-18	09:43:50	157	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	157	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131361 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	157	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	157	[DEBUG]	Add new category references
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131361','10','')
2019-12-18	09:43:50	157	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131361','10','')
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:50	158	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field override
2019-12-18	09:43:50	158	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:50	158	[DEBUG]	Process line 158
2019-12-18	09:43:50	158	[DEBUG]	Load a row
2019-12-18	09:43:50	158	[DEBUG]	Processing item: 1000000051032
2019-12-18	09:43:50	158	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:50	158	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:50	158	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1548_40'
2019-12-18	09:43:50	158	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	158	[DEBUG]	Processing product tax
2019-12-18	09:43:50	158	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	158	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	158	[DEBUG]	Query for Product
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131361','1000000051032','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	158	[DEBUG]	No parent found
2019-12-18	09:43:50	158	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131361 AND customfield_value = 'stockable'
2019-12-18	09:43:50	158	[DEBUG]	Check product language entry
2019-12-18	09:43:50	158	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131362
2019-12-18	09:43:50	158	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-vert' AND `virtuemart_product_id` != 131362
2019-12-18	09:43:50	158	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-vert' AND `virtuemart_product_id` != 131362
2019-12-18	09:43:50	158	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131362, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-vert')
2019-12-18	09:43:50	158	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548) (Vert)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-vert' WHERE `virtuemart_product_id` = '131362'
2019-12-18	09:43:50	158	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_14523.jpg
2019-12-18	09:43:50	158	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	158	[DEBUG]	Process image file
2019-12-18	09:43:50	158	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	158	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	158	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_14523.jpg
2019-12-18	09:43:50	158	[DEBUG]	Full name target: images/stories/virtuemart/product/image_14523.jpg
2019-12-18	09:43:50	158	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_14523.jpg'
2019-12-18	09:43:50	158	[DEBUG]	Query for Media
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_14523.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_14523.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5072'
2019-12-18	09:43:50	158	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131362','5072','1')
2019-12-18	09:43:50	158	[DEBUG]	Store product image relation
2019-12-18	09:43:50	158	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	158	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131362 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	158	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131362','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	158	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	158	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	158	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131362
2019-12-18	09:43:50	158	[DEBUG]	Load a row
2019-12-18	09:43:50	158	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	158	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	158	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	158	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	158	[DEBUG]	Executed store
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131362','32')
2019-12-18	09:43:50	158	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	158	[DEBUG]	Store custom available field
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131362,3,'',1)
2019-12-18	09:43:50	158	[DEBUG]	Checking category
2019-12-18	09:43:50	158	[DEBUG]	Delete old category references
2019-12-18	09:43:50	158	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131362
2019-12-18	09:43:50	158	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	158	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131362 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	158	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	158	[DEBUG]	Add new category references
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131362','10','')
2019-12-18	09:43:50	158	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131362','10','')
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	159	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field override
2019-12-18	09:43:50	159	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:50	159	[DEBUG]	Process line 159
2019-12-18	09:43:50	159	[DEBUG]	Load a row
2019-12-18	09:43:50	159	[DEBUG]	Processing item: A_1548_127
2019-12-18	09:43:50	159	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	159	[DEBUG]	Processing product tax
2019-12-18	09:43:50	159	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	159	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	159	[DEBUG]	Query for Product
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1548_127','0.08','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	159	[DEBUG]	Check product language entry
2019-12-18	09:43:50	159	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131363
2019-12-18	09:43:50	159	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' AND `virtuemart_product_id` != 131363
2019-12-18	09:43:50	159	[DEBUG]	Check how many other products exist with the same slug
2019-12-18	09:43:50	159	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548' OR `slug` REGEXP '^msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-[[:digit:]]+$' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 131363 ORDER BY LENGTH(`slug`), `slug` ASC
2019-12-18	09:43:50	159	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-3' AND `virtuemart_product_id` != 131363
2019-12-18	09:43:50	159	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131363, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-3')
2019-12-18	09:43:50	159	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier Ultralight BB24 Compatible avec SHIMANO, FSA, MSC Roulements annulaires coniques avec double rondelles de gomme étanche pour ne jamais se bloquer. Serrage du boitier en interne, pour éviter les rayures et supporter le maximum de force. 68/73mm 80g sans rondelle, Inclue bouteille de fixateur. Le meilleur boîtier de pédalier du marché !<br>N° art fourn : PT1SM',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-3' WHERE `virtuemart_product_id` = '131363'
2019-12-18	09:43:50	159	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3843.jpg
2019-12-18	09:43:50	159	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	159	[DEBUG]	Process image file
2019-12-18	09:43:50	159	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	159	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	159	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3843.jpg
2019-12-18	09:43:50	159	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3843.jpg
2019-12-18	09:43:50	159	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3843.jpg'
2019-12-18	09:43:50	159	[DEBUG]	Query for Media
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3843.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3843.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5073'
2019-12-18	09:43:50	159	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131363','5073','1')
2019-12-18	09:43:50	159	[DEBUG]	Store product image relation
2019-12-18	09:43:50	159	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	159	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131363 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	159	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131363','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	159	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	159	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	159	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131363
2019-12-18	09:43:50	159	[DEBUG]	Load a row
2019-12-18	09:43:50	159	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	159	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	159	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	159	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	159	[DEBUG]	Executed store
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131363','32')
2019-12-18	09:43:50	159	[DEBUG]	Find the custom field ID
2019-12-18	09:43:50	159	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:50	159	[DEBUG]	No custom field ID found
2019-12-18	09:43:50	159	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	159	[DEBUG]	Store custom available field
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131363,3,'79.6780555555556',1)
2019-12-18	09:43:50	159	[DEBUG]	Checking category
2019-12-18	09:43:50	159	[DEBUG]	Delete old category references
2019-12-18	09:43:50	159	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131363
2019-12-18	09:43:50	159	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	159	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131363 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	159	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	159	[DEBUG]	Add new category references
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131363','10','')
2019-12-18	09:43:50	159	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131363','10','')
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:50	160	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field override
2019-12-18	09:43:50	160	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:50	160	[DEBUG]	Process line 160
2019-12-18	09:43:50	160	[DEBUG]	Load a row
2019-12-18	09:43:50	160	[DEBUG]	Processing item: 1000000027457
2019-12-18	09:43:50	160	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:50	160	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:50	160	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1548_127'
2019-12-18	09:43:50	160	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	160	[DEBUG]	Processing product tax
2019-12-18	09:43:50	160	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	160	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	160	[DEBUG]	Query for Product
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131363','1000000027457','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	160	[DEBUG]	No parent found
2019-12-18	09:43:50	160	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131363 AND customfield_value = 'stockable'
2019-12-18	09:43:50	160	[DEBUG]	Check product language entry
2019-12-18	09:43:50	160	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131364
2019-12-18	09:43:50	160	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-xtr' AND `virtuemart_product_id` != 131364
2019-12-18	09:43:50	160	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-xtr' AND `virtuemart_product_id` != 131364
2019-12-18	09:43:50	160	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131364, 'msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-xtr')
2019-12-18	09:43:50	160	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Boitier pédalier MSC Ultralight pour pédalier integré (1548) (XTR)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-boitier-pedalier-msc-ultralight-pour-pedalier-integre-1548-xtr' WHERE `virtuemart_product_id` = '131364'
2019-12-18	09:43:50	160	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3843.jpg
2019-12-18	09:43:50	160	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	160	[DEBUG]	Process image file
2019-12-18	09:43:50	160	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:50	160	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:50	160	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3843.jpg
2019-12-18	09:43:50	160	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3843.jpg
2019-12-18	09:43:50	160	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3843.jpg'
2019-12-18	09:43:50	160	[DEBUG]	Query for Media
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3843.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3843.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5073'
2019-12-18	09:43:50	160	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131364','5073','1')
2019-12-18	09:43:50	160	[DEBUG]	Store product image relation
2019-12-18	09:43:50	160	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	160	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131364 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	160	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131364','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	160	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	160	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	160	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131364
2019-12-18	09:43:50	160	[DEBUG]	Load a row
2019-12-18	09:43:50	160	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	160	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:50	160	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:50	160	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	160	[DEBUG]	Executed store
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131364','32')
2019-12-18	09:43:50	160	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	160	[DEBUG]	Store custom available field
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131364,3,'',1)
2019-12-18	09:43:50	160	[DEBUG]	Checking category
2019-12-18	09:43:50	160	[DEBUG]	Delete old category references
2019-12-18	09:43:50	160	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131364
2019-12-18	09:43:50	160	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	160	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131364 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	160	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	160	[DEBUG]	Add new category references
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131364','10','')
2019-12-18	09:43:50	160	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131364','10','')
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	161	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field override
2019-12-18	09:43:50	161	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:50	161	[DEBUG]	Process line 161
2019-12-18	09:43:50	161	[DEBUG]	Load a row
2019-12-18	09:43:50	161	[DEBUG]	Processing item: A_6420_208
2019-12-18	09:43:50	161	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	161	[DEBUG]	Processing product tax
2019-12-18	09:43:50	161	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	161	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	161	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	161	[DEBUG]	Query for Product
2019-12-18	09:43:50	161	[DEBUG]	Executed store
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6420_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	161	[DEBUG]	Check product language entry
2019-12-18	09:43:50	161	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131365
2019-12-18	09:43:50	161	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420' AND `virtuemart_product_id` != 131365
2019-12-18	09:43:50	161	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420' AND `virtuemart_product_id` != 131365
2019-12-18	09:43:50	161	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131365, 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420')
2019-12-18	09:43:50	161	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	161	[DEBUG]	Executed store
2019-12-18	09:43:50	161	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.64005',`product_name`='SHIMANO Shimano jeu de pédal. BB-ES300 Octalink BSA 73/121 mm box (6420)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420' WHERE `virtuemart_product_id` = '131365'
2019-12-18	09:43:50	161	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32305_shimano_jeu_de_pedal__bb-es300_octalink_bsa_73-121_mm_box.jpg has not been found.
2019-12-18	09:43:50	161	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	161	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131365 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	161	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	161	[DEBUG]	Executed store
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131365','0','18.4772516248839','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	161	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	161	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	161	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131365
2019-12-18	09:43:50	161	[DEBUG]	Load a row
2019-12-18	09:43:50	161	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	161	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:50	161	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	161	[DEBUG]	Executed store
2019-12-18	09:43:50	161	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:50	161	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	161	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:50	161	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	161	[DEBUG]	Executed store
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131365','123')
2019-12-18	09:43:50	161	[DEBUG]	Find the custom field ID
2019-12-18	09:43:50	161	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:50	161	[DEBUG]	No custom field ID found
2019-12-18	09:43:50	161	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	161	[DEBUG]	Store custom available field
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131365,3,'0',1)
2019-12-18	09:43:50	161	[DEBUG]	Checking category
2019-12-18	09:43:50	161	[DEBUG]	Delete old category references
2019-12-18	09:43:50	161	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131365
2019-12-18	09:43:50	161	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	161	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131365 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	161	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	161	[DEBUG]	Add new category references
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131365','10','')
2019-12-18	09:43:50	161	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131365','10','')
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:50	162	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field override
2019-12-18	09:43:50	162	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:50	162	[DEBUG]	Process line 162
2019-12-18	09:43:50	162	[DEBUG]	Load a row
2019-12-18	09:43:50	162	[DEBUG]	Processing item: 689228326491
2019-12-18	09:43:50	162	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:50	162	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:50	162	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6420_208'
2019-12-18	09:43:50	162	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	162	[DEBUG]	Processing product tax
2019-12-18	09:43:50	162	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	162	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	162	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	162	[DEBUG]	Query for Product
2019-12-18	09:43:50	162	[DEBUG]	Executed store
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131365','689228326491','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	162	[DEBUG]	No parent found
2019-12-18	09:43:50	162	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131365 AND customfield_value = 'stockable'
2019-12-18	09:43:50	162	[DEBUG]	Check product language entry
2019-12-18	09:43:50	162	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131366
2019-12-18	09:43:50	162	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420-aucune' AND `virtuemart_product_id` != 131366
2019-12-18	09:43:50	162	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420-aucune' AND `virtuemart_product_id` != 131366
2019-12-18	09:43:50	162	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131366, 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420-aucune')
2019-12-18	09:43:50	162	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	162	[DEBUG]	Executed store
2019-12-18	09:43:50	162	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano jeu de pédal. BB-ES300 Octalink BSA 73/121 mm box (6420) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-121-mm-box-6420-aucune' WHERE `virtuemart_product_id` = '131366'
2019-12-18	09:43:50	162	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32305_shimano_jeu_de_pedal__bb-es300_octalink_bsa_73-121_mm_box.jpg has not been found.
2019-12-18	09:43:50	162	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	162	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131366 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	162	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	162	[DEBUG]	Executed store
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131366','0','18.4772516248839','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	162	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	162	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	162	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131366
2019-12-18	09:43:50	162	[DEBUG]	Load a row
2019-12-18	09:43:50	162	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:50	162	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:50	162	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:50	162	[DEBUG]	Executed store
2019-12-18	09:43:50	162	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:50	162	[DEBUG]	Manufacturer exists
2019-12-18	09:43:50	162	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:50	162	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:50	162	[DEBUG]	Executed store
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131366','123')
2019-12-18	09:43:50	162	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:50	162	[DEBUG]	Store custom available field
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131366,3,'',1)
2019-12-18	09:43:50	162	[DEBUG]	Checking category
2019-12-18	09:43:50	162	[DEBUG]	Delete old category references
2019-12-18	09:43:50	162	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131366
2019-12-18	09:43:50	162	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:50	162	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131366 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:50	162	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:50	162	[DEBUG]	Add new category references
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131366','10','')
2019-12-18	09:43:50	162	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:50	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131366','10','')
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field published
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:50	163	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field override
2019-12-18	09:43:50	163	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:50	163	[DEBUG]	Process line 163
2019-12-18	09:43:50	163	[DEBUG]	Load a row
2019-12-18	09:43:50	163	[DEBUG]	Processing item: A_6421_208
2019-12-18	09:43:50	163	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:50	163	[DEBUG]	Processing product tax
2019-12-18	09:43:50	163	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:50	163	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:50	163	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:50	163	[DEBUG]	Query for Product
2019-12-18	09:43:50	163	[DEBUG]	Executed store
2019-12-18	09:43:50	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6421_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	163	[DEBUG]	Check product language entry
2019-12-18	09:43:50	163	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131367
2019-12-18	09:43:50	163	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421' AND `virtuemart_product_id` != 131367
2019-12-18	09:43:50	163	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:50	163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421' AND `virtuemart_product_id` != 131367
2019-12-18	09:43:50	163	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:50	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131367, 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421')
2019-12-18	09:43:50	163	[DEBUG]	Query for ProductLang
2019-12-18	09:43:50	163	[DEBUG]	Executed store
2019-12-18	09:43:50	163	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.64006',`product_name`='SHIMANO Shimano jeu de pédal. BB-ES300 Octalink BSA 73/126 mm box (6421)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421' WHERE `virtuemart_product_id` = '131367'
2019-12-18	09:43:50	163	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32306_shimano_jeu_de_pedal__bb-es300_octalink_bsa_73-126_mm_box.jpg has not been found.
2019-12-18	09:43:50	163	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:50	163	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131367 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:50	163	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:50	163	[DEBUG]	Executed store
2019-12-18	09:43:50	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131367','0','18.4772516248839','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:50	163	[DEBUG]	Checking manufacturer
2019-12-18	09:43:50	163	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:50	163	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131367
2019-12-18	09:43:50	163	[DEBUG]	Load a row
2019-12-18	09:43:51	163	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	163	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	163	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	163	[DEBUG]	Executed store
2019-12-18	09:43:51	163	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	163	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	163	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:51	163	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	163	[DEBUG]	Executed store
2019-12-18	09:43:51	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131367','123')
2019-12-18	09:43:51	163	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	163	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	163	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	163	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	163	[DEBUG]	Store custom available field
2019-12-18	09:43:51	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131367,3,'0',1)
2019-12-18	09:43:51	163	[DEBUG]	Checking category
2019-12-18	09:43:51	163	[DEBUG]	Delete old category references
2019-12-18	09:43:51	163	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131367
2019-12-18	09:43:51	163	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	163	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131367 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	163	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	163	[DEBUG]	Add new category references
2019-12-18	09:43:51	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131367','10','')
2019-12-18	09:43:51	163	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131367','10','')
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	164	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	164	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	164	[DEBUG]	Process line 164
2019-12-18	09:43:51	164	[DEBUG]	Load a row
2019-12-18	09:43:51	164	[DEBUG]	Processing item: 4524667326502
2019-12-18	09:43:51	164	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	164	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	164	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6421_208'
2019-12-18	09:43:51	164	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	164	[DEBUG]	Processing product tax
2019-12-18	09:43:51	164	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	164	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	164	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	164	[DEBUG]	Query for Product
2019-12-18	09:43:51	164	[DEBUG]	Executed store
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131367','4524667326502','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	164	[DEBUG]	No parent found
2019-12-18	09:43:51	164	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131367 AND customfield_value = 'stockable'
2019-12-18	09:43:51	164	[DEBUG]	Check product language entry
2019-12-18	09:43:51	164	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131368
2019-12-18	09:43:51	164	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421-aucune' AND `virtuemart_product_id` != 131368
2019-12-18	09:43:51	164	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421-aucune' AND `virtuemart_product_id` != 131368
2019-12-18	09:43:51	164	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131368, 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421-aucune')
2019-12-18	09:43:51	164	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	164	[DEBUG]	Executed store
2019-12-18	09:43:51	164	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano jeu de pédal. BB-ES300 Octalink BSA 73/126 mm box (6421) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-73-126-mm-box-6421-aucune' WHERE `virtuemart_product_id` = '131368'
2019-12-18	09:43:51	164	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32306_shimano_jeu_de_pedal__bb-es300_octalink_bsa_73-126_mm_box.jpg has not been found.
2019-12-18	09:43:51	164	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	164	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131368 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	164	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	164	[DEBUG]	Executed store
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131368','0','18.4772516248839','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	164	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	164	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	164	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131368
2019-12-18	09:43:51	164	[DEBUG]	Load a row
2019-12-18	09:43:51	164	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	164	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	164	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	164	[DEBUG]	Executed store
2019-12-18	09:43:51	164	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	164	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	164	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:51	164	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	164	[DEBUG]	Executed store
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131368','123')
2019-12-18	09:43:51	164	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	164	[DEBUG]	Store custom available field
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131368,3,'',1)
2019-12-18	09:43:51	164	[DEBUG]	Checking category
2019-12-18	09:43:51	164	[DEBUG]	Delete old category references
2019-12-18	09:43:51	164	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131368
2019-12-18	09:43:51	164	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	164	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131368 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	164	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	164	[DEBUG]	Add new category references
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131368','10','')
2019-12-18	09:43:51	164	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131368','10','')
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	165	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field override
2019-12-18	09:43:51	165	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:51	165	[DEBUG]	Process line 165
2019-12-18	09:43:51	165	[DEBUG]	Load a row
2019-12-18	09:43:51	165	[DEBUG]	Processing item: A_6475_208
2019-12-18	09:43:51	165	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	165	[DEBUG]	Processing product tax
2019-12-18	09:43:51	165	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	165	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	165	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	165	[DEBUG]	Query for Product
2019-12-18	09:43:51	165	[DEBUG]	Executed store
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6475_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	165	[DEBUG]	Check product language entry
2019-12-18	09:43:51	165	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131369
2019-12-18	09:43:51	165	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475' AND `virtuemart_product_id` != 131369
2019-12-18	09:43:51	165	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475' AND `virtuemart_product_id` != 131369
2019-12-18	09:43:51	165	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131369, 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475')
2019-12-18	09:43:51	165	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	165	[DEBUG]	Executed store
2019-12-18	09:43:51	165	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.64000',`product_name`='SHIMANO Shimano jeu de pédal. BB-ES300 Octalink BSA 68/118 mm box (6475)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475' WHERE `virtuemart_product_id` = '131369'
2019-12-18	09:43:51	165	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32356_shimano_jeu_de_pedal__bb-es300_octalink_bsa_68-118_mm_box.jpg has not been found.
2019-12-18	09:43:51	165	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	165	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131369 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	165	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	165	[DEBUG]	Executed store
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131369','0','18.4772516248839','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	165	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	165	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	165	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131369
2019-12-18	09:43:51	165	[DEBUG]	Load a row
2019-12-18	09:43:51	165	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	165	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	165	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	165	[DEBUG]	Executed store
2019-12-18	09:43:51	165	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	165	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:51	165	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	165	[DEBUG]	Executed store
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131369','123')
2019-12-18	09:43:51	165	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	165	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	165	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	165	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	165	[DEBUG]	Store custom available field
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131369,3,'0',1)
2019-12-18	09:43:51	165	[DEBUG]	Checking category
2019-12-18	09:43:51	165	[DEBUG]	Delete old category references
2019-12-18	09:43:51	165	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131369
2019-12-18	09:43:51	165	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	165	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131369 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	165	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	165	[DEBUG]	Add new category references
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131369','10','')
2019-12-18	09:43:51	165	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131369','10','')
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	166	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	166	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	166	[DEBUG]	Process line 166
2019-12-18	09:43:51	166	[DEBUG]	Load a row
2019-12-18	09:43:51	166	[DEBUG]	Processing item: 4524667326571
2019-12-18	09:43:51	166	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	166	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	166	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6475_208'
2019-12-18	09:43:51	166	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	166	[DEBUG]	Processing product tax
2019-12-18	09:43:51	166	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	166	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	166	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	166	[DEBUG]	Query for Product
2019-12-18	09:43:51	166	[DEBUG]	Executed store
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131369','4524667326571','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	166	[DEBUG]	No parent found
2019-12-18	09:43:51	166	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131369 AND customfield_value = 'stockable'
2019-12-18	09:43:51	166	[DEBUG]	Check product language entry
2019-12-18	09:43:51	166	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131370
2019-12-18	09:43:51	166	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475-aucune' AND `virtuemart_product_id` != 131370
2019-12-18	09:43:51	166	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475-aucune' AND `virtuemart_product_id` != 131370
2019-12-18	09:43:51	166	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131370, 'shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475-aucune')
2019-12-18	09:43:51	166	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	166	[DEBUG]	Executed store
2019-12-18	09:43:51	166	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano jeu de pédal. BB-ES300 Octalink BSA 68/118 mm box (6475) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedal-bb-es300-octalink-bsa-68-118-mm-box-6475-aucune' WHERE `virtuemart_product_id` = '131370'
2019-12-18	09:43:51	166	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32356_shimano_jeu_de_pedal__bb-es300_octalink_bsa_68-118_mm_box.jpg has not been found.
2019-12-18	09:43:51	166	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	166	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131370 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	166	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	166	[DEBUG]	Executed store
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131370','0','18.4772516248839','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	166	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	166	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	166	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131370
2019-12-18	09:43:51	166	[DEBUG]	Load a row
2019-12-18	09:43:51	166	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	166	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	166	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	166	[DEBUG]	Executed store
2019-12-18	09:43:51	166	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2019-12-18	09:43:51	166	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2019-12-18	09:43:51	166	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	166	[DEBUG]	Executed store
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131370','123')
2019-12-18	09:43:51	166	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	166	[DEBUG]	Store custom available field
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131370,3,'',1)
2019-12-18	09:43:51	166	[DEBUG]	Checking category
2019-12-18	09:43:51	166	[DEBUG]	Delete old category references
2019-12-18	09:43:51	166	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131370
2019-12-18	09:43:51	166	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	166	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131370 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	166	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	166	[DEBUG]	Add new category references
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131370','10','')
2019-12-18	09:43:51	166	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131370','10','')
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	167	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field override
2019-12-18	09:43:51	167	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:51	167	[DEBUG]	Process line 167
2019-12-18	09:43:51	167	[DEBUG]	Load a row
2019-12-18	09:43:51	167	[DEBUG]	Processing item: A_6768_208
2019-12-18	09:43:51	167	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	167	[DEBUG]	Processing product tax
2019-12-18	09:43:51	167	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	167	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	167	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	167	[DEBUG]	Query for Product
2019-12-18	09:43:51	167	[DEBUG]	Executed store
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6768_208','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	167	[DEBUG]	Check product language entry
2019-12-18	09:43:51	167	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131371
2019-12-18	09:43:51	167	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768' AND `virtuemart_product_id` != 131371
2019-12-18	09:43:51	167	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768' AND `virtuemart_product_id` != 131371
2019-12-18	09:43:51	167	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131371, 'shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768')
2019-12-18	09:43:51	167	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	167	[DEBUG]	Executed store
2019-12-18	09:43:51	167	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.63831',`product_name`='SHIMANO Shimano jeu de pédalier Deore XT BBMT800 HT II BSA 68/73/oui box (6768)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768' WHERE `virtuemart_product_id` = '131371'
2019-12-18	09:43:51	167	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32994_shimano_jeu_de_pedalier_deore_xt_bbmt800_ht_ii_bsa_68-73-oui_box.jpg has not been found.
2019-12-18	09:43:51	167	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	167	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131371 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	167	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	167	[DEBUG]	Executed store
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131371','0','29.619312906221','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	167	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	167	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	167	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131371
2019-12-18	09:43:51	167	[DEBUG]	Load a row
2019-12-18	09:43:51	167	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	167	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	167	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	167	[DEBUG]	Executed store
2019-12-18	09:43:51	167	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	167	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	167	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:51	167	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	167	[DEBUG]	Executed store
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131371','26')
2019-12-18	09:43:51	167	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	167	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	167	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	167	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	167	[DEBUG]	Store custom available field
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131371,3,'0',1)
2019-12-18	09:43:51	167	[DEBUG]	Checking category
2019-12-18	09:43:51	167	[DEBUG]	Delete old category references
2019-12-18	09:43:51	167	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131371
2019-12-18	09:43:51	167	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	167	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131371 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	167	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	167	[DEBUG]	Add new category references
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131371','10','')
2019-12-18	09:43:51	167	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131371','10','')
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	168	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	168	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	168	[DEBUG]	Process line 168
2019-12-18	09:43:51	168	[DEBUG]	Load a row
2019-12-18	09:43:51	168	[DEBUG]	Processing item: 4524667919957
2019-12-18	09:43:51	168	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	168	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	168	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6768_208'
2019-12-18	09:43:51	168	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	168	[DEBUG]	Processing product tax
2019-12-18	09:43:51	168	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	168	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	168	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	168	[DEBUG]	Query for Product
2019-12-18	09:43:51	168	[DEBUG]	Executed store
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131371','4524667919957','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	168	[DEBUG]	No parent found
2019-12-18	09:43:51	168	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131371 AND customfield_value = 'stockable'
2019-12-18	09:43:51	168	[DEBUG]	Check product language entry
2019-12-18	09:43:51	168	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131372
2019-12-18	09:43:51	168	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768-aucune' AND `virtuemart_product_id` != 131372
2019-12-18	09:43:51	168	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768-aucune' AND `virtuemart_product_id` != 131372
2019-12-18	09:43:51	168	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131372, 'shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768-aucune')
2019-12-18	09:43:51	168	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	168	[DEBUG]	Executed store
2019-12-18	09:43:51	168	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano jeu de pédalier Deore XT BBMT800 HT II BSA 68/73/oui box (6768) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedalier-deore-xt-bbmt800-ht-ii-bsa-68-73-oui-box-6768-aucune' WHERE `virtuemart_product_id` = '131372'
2019-12-18	09:43:51	168	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32994_shimano_jeu_de_pedalier_deore_xt_bbmt800_ht_ii_bsa_68-73-oui_box.jpg has not been found.
2019-12-18	09:43:51	168	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	168	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131372 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	168	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	168	[DEBUG]	Executed store
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131372','0','29.619312906221','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	168	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	168	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	168	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131372
2019-12-18	09:43:51	168	[DEBUG]	Load a row
2019-12-18	09:43:51	168	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	168	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	168	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	168	[DEBUG]	Executed store
2019-12-18	09:43:51	168	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	168	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	168	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:51	168	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	168	[DEBUG]	Executed store
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131372','26')
2019-12-18	09:43:51	168	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	168	[DEBUG]	Store custom available field
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131372,3,'',1)
2019-12-18	09:43:51	168	[DEBUG]	Checking category
2019-12-18	09:43:51	168	[DEBUG]	Delete old category references
2019-12-18	09:43:51	168	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131372
2019-12-18	09:43:51	168	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	168	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131372 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	168	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	168	[DEBUG]	Add new category references
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131372','10','')
2019-12-18	09:43:51	168	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131372','10','')
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_override_price
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	169	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field override
2019-12-18	09:43:51	169	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:51	169	[DEBUG]	Process line 169
2019-12-18	09:43:51	169	[DEBUG]	Load a row
2019-12-18	09:43:51	169	[DEBUG]	Processing item: A_6777_208
2019-12-18	09:43:51	169	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	169	[DEBUG]	Processing product tax
2019-12-18	09:43:51	169	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	169	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	169	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	169	[DEBUG]	Query for Product
2019-12-18	09:43:51	169	[DEBUG]	Executed store
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6777_208','0.2','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	169	[DEBUG]	Check product language entry
2019-12-18	09:43:51	169	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131373
2019-12-18	09:43:51	169	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777' AND `virtuemart_product_id` != 131373
2019-12-18	09:43:51	169	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777' AND `virtuemart_product_id` != 131373
2019-12-18	09:43:51	169	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131373, 'shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777')
2019-12-18	09:43:51	169	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	169	[DEBUG]	Executed store
2019-12-18	09:43:51	169	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.57213',`product_name`='SHIMANO Shimano jeu de pédalier XTR SM-BB93 HT II BSA 68/73/oui box (6777)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777' WHERE `virtuemart_product_id` = '131373'
2019-12-18	09:43:51	169	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/33014_shimano_jeu_de_pedalier_xtr_sm-bb93_ht_ii_bsa_68-73-oui_box.jpg has not been found.
2019-12-18	09:43:51	169	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	169	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131373 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	169	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	169	[DEBUG]	Executed store
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131373','0','46.3324048282266','-1','43.5468895078923','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	169	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	169	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	169	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131373
2019-12-18	09:43:51	169	[DEBUG]	Load a row
2019-12-18	09:43:51	169	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	169	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	169	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	169	[DEBUG]	Executed store
2019-12-18	09:43:51	169	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	169	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	169	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:51	169	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	169	[DEBUG]	Executed store
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131373','26')
2019-12-18	09:43:51	169	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	169	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	169	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	169	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	169	[DEBUG]	Store custom available field
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131373,3,'0',1)
2019-12-18	09:43:51	169	[DEBUG]	Checking category
2019-12-18	09:43:51	169	[DEBUG]	Delete old category references
2019-12-18	09:43:51	169	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131373
2019-12-18	09:43:51	169	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	169	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131373 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	169	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	169	[DEBUG]	Add new category references
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131373','10','')
2019-12-18	09:43:51	169	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131373','10','')
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	170	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	170	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	170	[DEBUG]	Process line 170
2019-12-18	09:43:51	170	[DEBUG]	Load a row
2019-12-18	09:43:51	170	[DEBUG]	Processing item: 689228997264
2019-12-18	09:43:51	170	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	170	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	170	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6777_208'
2019-12-18	09:43:51	170	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	170	[DEBUG]	Processing product tax
2019-12-18	09:43:51	170	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	170	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	170	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	170	[DEBUG]	Query for Product
2019-12-18	09:43:51	170	[DEBUG]	Executed store
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131373','689228997264','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	170	[DEBUG]	No parent found
2019-12-18	09:43:51	170	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131373 AND customfield_value = 'stockable'
2019-12-18	09:43:51	170	[DEBUG]	Check product language entry
2019-12-18	09:43:51	170	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131374
2019-12-18	09:43:51	170	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777-aucune' AND `virtuemart_product_id` != 131374
2019-12-18	09:43:51	170	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777-aucune' AND `virtuemart_product_id` != 131374
2019-12-18	09:43:51	170	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131374, 'shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777-aucune')
2019-12-18	09:43:51	170	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	170	[DEBUG]	Executed store
2019-12-18	09:43:51	170	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano jeu de pédalier XTR SM-BB93 HT II BSA 68/73/oui box (6777) (<aucune>)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-jeu-de-pedalier-xtr-sm-bb93-ht-ii-bsa-68-73-oui-box-6777-aucune' WHERE `virtuemart_product_id` = '131374'
2019-12-18	09:43:51	170	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/33014_shimano_jeu_de_pedalier_xtr_sm-bb93_ht_ii_bsa_68-73-oui_box.jpg has not been found.
2019-12-18	09:43:51	170	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	170	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131374 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	170	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	170	[DEBUG]	Executed store
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131374','0','46.3324048282266','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	170	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	170	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	170	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131374
2019-12-18	09:43:51	170	[DEBUG]	Load a row
2019-12-18	09:43:51	170	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	170	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	170	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	170	[DEBUG]	Executed store
2019-12-18	09:43:51	170	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2019-12-18	09:43:51	170	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	170	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2019-12-18	09:43:51	170	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	170	[DEBUG]	Executed store
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131374','26')
2019-12-18	09:43:51	170	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	170	[DEBUG]	Store custom available field
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131374,3,'',1)
2019-12-18	09:43:51	170	[DEBUG]	Checking category
2019-12-18	09:43:51	170	[DEBUG]	Delete old category references
2019-12-18	09:43:51	170	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131374
2019-12-18	09:43:51	170	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	170	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131374 AND `virtuemart_category_id`  = 10
2019-12-18	09:43:51	170	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	170	[DEBUG]	Add new category references
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131374','10','')
2019-12-18	09:43:51	170	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131374','10','')
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	171	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field override
2019-12-18	09:43:51	171	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:51	171	[DEBUG]	Process line 171
2019-12-18	09:43:51	171	[DEBUG]	Load a row
2019-12-18	09:43:51	171	[DEBUG]	Processing item: A_1364_1
2019-12-18	09:43:51	171	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	171	[DEBUG]	Processing product tax
2019-12-18	09:43:51	171	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	171	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	171	[DEBUG]	Query for Product
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1364_1','0.103','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	171	[DEBUG]	Check product language entry
2019-12-18	09:43:51	171	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131375
2019-12-18	09:43:51	171	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364' AND `virtuemart_product_id` != 131375
2019-12-18	09:43:51	171	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364' AND `virtuemart_product_id` != 131375
2019-12-18	09:43:51	171	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131375, 'msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364')
2019-12-18	09:43:51	171	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédalier MSC Transformer en aluminium Press-Fit BB30. Poids : 103gr. Livrés avec spacers. Protection en aluminium avec joint pour les roulements. Grande portée pour éviter que les cadres en carbone ne craquent. Les roulements peuvent être changés en cas de besoin. Compatible pour plusieurs largeurs de boitier de pédalier. Existe également un adaptateur pour passes au diamètre de 24 mm (en option)<br>N° art fourn : PT6635',`product_name`='MSC Pédalier MSC Transformer Press-Fit BB30 aluminium (1364)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364' WHERE `virtuemart_product_id` = '131375'
2019-12-18	09:43:51	171	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3030.jpg
2019-12-18	09:43:51	171	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	171	[DEBUG]	Process image file
2019-12-18	09:43:51	171	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	171	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:51	171	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3030.jpg
2019-12-18	09:43:51	171	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3030.jpg
2019-12-18	09:43:51	171	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3030.jpg'
2019-12-18	09:43:51	171	[DEBUG]	Query for Media
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3030.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3030.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5074'
2019-12-18	09:43:51	171	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131375','5074','1')
2019-12-18	09:43:51	171	[DEBUG]	Store product image relation
2019-12-18	09:43:51	171	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	171	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131375 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	171	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131375','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	171	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	171	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	171	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131375
2019-12-18	09:43:51	171	[DEBUG]	Load a row
2019-12-18	09:43:51	171	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	171	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	171	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:51	171	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	171	[DEBUG]	Executed store
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131375','32')
2019-12-18	09:43:51	171	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	171	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	171	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	171	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	171	[DEBUG]	Store custom available field
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131375,3,'89.6502777777778',1)
2019-12-18	09:43:51	171	[DEBUG]	Checking category
2019-12-18	09:43:51	171	[DEBUG]	Check if category path exists: PRESS-FIT
2019-12-18	09:43:51	171	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PRESS-FIT' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 6
2019-12-18	09:43:51	171	[DEBUG]	Delete old category references
2019-12-18	09:43:51	171	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131375
2019-12-18	09:43:51	171	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	171	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131375 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:51	171	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	171	[DEBUG]	Add new category references
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131375','11','')
2019-12-18	09:43:51	171	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131375','11','')
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	172	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	172	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	172	[DEBUG]	Process line 172
2019-12-18	09:43:51	172	[DEBUG]	Load a row
2019-12-18	09:43:51	172	[DEBUG]	Processing item: 8436041134657
2019-12-18	09:43:51	172	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	172	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	172	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1364_1'
2019-12-18	09:43:51	172	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	172	[DEBUG]	Processing product tax
2019-12-18	09:43:51	172	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	172	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	172	[DEBUG]	Query for Product
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131375','8436041134657','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	172	[DEBUG]	No parent found
2019-12-18	09:43:51	172	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131375 AND customfield_value = 'stockable'
2019-12-18	09:43:51	172	[DEBUG]	Check product language entry
2019-12-18	09:43:51	172	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131376
2019-12-18	09:43:51	172	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364-noir' AND `virtuemart_product_id` != 131376
2019-12-18	09:43:51	172	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364-noir' AND `virtuemart_product_id` != 131376
2019-12-18	09:43:51	172	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131376, 'msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364-noir')
2019-12-18	09:43:51	172	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédalier MSC Transformer Press-Fit BB30 aluminium (1364) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedalier-msc-transformer-press-fit-bb30-aluminium-1364-noir' WHERE `virtuemart_product_id` = '131376'
2019-12-18	09:43:51	172	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3030.jpg
2019-12-18	09:43:51	172	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	172	[DEBUG]	Process image file
2019-12-18	09:43:51	172	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	172	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:51	172	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3030.jpg
2019-12-18	09:43:51	172	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3030.jpg
2019-12-18	09:43:51	172	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3030.jpg'
2019-12-18	09:43:51	172	[DEBUG]	Query for Media
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3030.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3030.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5074'
2019-12-18	09:43:51	172	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131376','5074','1')
2019-12-18	09:43:51	172	[DEBUG]	Store product image relation
2019-12-18	09:43:51	172	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	172	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131376 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	172	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131376','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	172	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	172	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	172	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131376
2019-12-18	09:43:51	172	[DEBUG]	Load a row
2019-12-18	09:43:51	172	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	172	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	172	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:51	172	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	172	[DEBUG]	Executed store
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131376','32')
2019-12-18	09:43:51	172	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	172	[DEBUG]	Store custom available field
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131376,3,'',1)
2019-12-18	09:43:51	172	[DEBUG]	Checking category
2019-12-18	09:43:51	172	[DEBUG]	Delete old category references
2019-12-18	09:43:51	172	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131376
2019-12-18	09:43:51	172	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	172	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131376 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:51	172	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	172	[DEBUG]	Add new category references
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131376','11','')
2019-12-18	09:43:51	172	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131376','11','')
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	173	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field override
2019-12-18	09:43:51	173	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:51	173	[DEBUG]	Process line 173
2019-12-18	09:43:51	173	[DEBUG]	Load a row
2019-12-18	09:43:51	173	[DEBUG]	Processing item: A_2383_1
2019-12-18	09:43:51	173	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	173	[DEBUG]	Processing product tax
2019-12-18	09:43:51	173	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	173	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	173	[DEBUG]	Query for Product
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_2383_1','0.064','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	173	[DEBUG]	Check product language entry
2019-12-18	09:43:51	173	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131377
2019-12-18	09:43:51	173	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-press-s1-press-fit-bb24-diametre-41-mm-2383' AND `virtuemart_product_id` != 131377
2019-12-18	09:43:51	173	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-press-s1-press-fit-bb24-diametre-41-mm-2383' AND `virtuemart_product_id` != 131377
2019-12-18	09:43:51	173	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131377, 'msc-press-s1-press-fit-bb24-diametre-41-mm-2383')
2019-12-18	09:43:51	173	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='PRESS S1 press fit BB24, inclus fixatif, poids 64 gr. Cage en Aluminium, joint double lèvres, portée conique. Diamètre 41 mm<br>N° art fourn : BB8624',`product_name`='MSC PRESS S1 press fit BB24, diamètre 41 mm (2383)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-press-s1-press-fit-bb24-diametre-41-mm-2383' WHERE `virtuemart_product_id` = '131377'
2019-12-18	09:43:51	173	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_8779.jpg
2019-12-18	09:43:51	173	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	173	[DEBUG]	Process image file
2019-12-18	09:43:51	173	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	173	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:51	173	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_8779.jpg
2019-12-18	09:43:51	173	[DEBUG]	Full name target: images/stories/virtuemart/product/image_8779.jpg
2019-12-18	09:43:51	173	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_8779.jpg'
2019-12-18	09:43:51	173	[DEBUG]	Query for Media
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_8779.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_8779.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5075'
2019-12-18	09:43:51	173	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131377','5075','1')
2019-12-18	09:43:51	173	[DEBUG]	Store product image relation
2019-12-18	09:43:51	173	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	173	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131377 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	173	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131377','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	173	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	173	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	173	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131377
2019-12-18	09:43:51	173	[DEBUG]	Load a row
2019-12-18	09:43:51	173	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	173	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	173	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:51	173	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	173	[DEBUG]	Executed store
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131377','32')
2019-12-18	09:43:51	173	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	173	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	173	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	173	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	173	[DEBUG]	Store custom available field
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131377,3,'79.6780555555556',1)
2019-12-18	09:43:51	173	[DEBUG]	Checking category
2019-12-18	09:43:51	173	[DEBUG]	Delete old category references
2019-12-18	09:43:51	173	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131377
2019-12-18	09:43:51	173	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	173	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131377 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:51	173	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	173	[DEBUG]	Add new category references
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131377','11','')
2019-12-18	09:43:51	173	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131377','11','')
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	174	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	174	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	174	[DEBUG]	Process line 174
2019-12-18	09:43:51	174	[DEBUG]	Load a row
2019-12-18	09:43:51	174	[DEBUG]	Processing item: 1000000039115
2019-12-18	09:43:51	174	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	174	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	174	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2383_1'
2019-12-18	09:43:51	174	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	174	[DEBUG]	Processing product tax
2019-12-18	09:43:51	174	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	174	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	174	[DEBUG]	Query for Product
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131377','1000000039115','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	174	[DEBUG]	No parent found
2019-12-18	09:43:51	174	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131377 AND customfield_value = 'stockable'
2019-12-18	09:43:51	174	[DEBUG]	Check product language entry
2019-12-18	09:43:51	174	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131378
2019-12-18	09:43:51	174	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-press-s1-press-fit-bb24-diametre-41-mm-2383-noir' AND `virtuemart_product_id` != 131378
2019-12-18	09:43:51	174	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-press-s1-press-fit-bb24-diametre-41-mm-2383-noir' AND `virtuemart_product_id` != 131378
2019-12-18	09:43:51	174	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131378, 'msc-press-s1-press-fit-bb24-diametre-41-mm-2383-noir')
2019-12-18	09:43:51	174	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PRESS S1 press fit BB24, diamètre 41 mm (2383) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-press-s1-press-fit-bb24-diametre-41-mm-2383-noir' WHERE `virtuemart_product_id` = '131378'
2019-12-18	09:43:51	174	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_8779.jpg
2019-12-18	09:43:51	174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	174	[DEBUG]	Process image file
2019-12-18	09:43:51	174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:51	174	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:51	174	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_8779.jpg
2019-12-18	09:43:51	174	[DEBUG]	Full name target: images/stories/virtuemart/product/image_8779.jpg
2019-12-18	09:43:51	174	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_8779.jpg'
2019-12-18	09:43:51	174	[DEBUG]	Query for Media
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_8779.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_8779.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5075'
2019-12-18	09:43:51	174	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131378','5075','1')
2019-12-18	09:43:51	174	[DEBUG]	Store product image relation
2019-12-18	09:43:51	174	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	174	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131378 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	174	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131378','0','74.1875580315692','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	174	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	174	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	174	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131378
2019-12-18	09:43:51	174	[DEBUG]	Load a row
2019-12-18	09:43:51	174	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	174	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:51	174	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:51	174	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	174	[DEBUG]	Executed store
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131378','32')
2019-12-18	09:43:51	174	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	174	[DEBUG]	Store custom available field
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131378,3,'',1)
2019-12-18	09:43:51	174	[DEBUG]	Checking category
2019-12-18	09:43:51	174	[DEBUG]	Delete old category references
2019-12-18	09:43:51	174	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131378
2019-12-18	09:43:51	174	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	174	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131378 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:51	174	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	174	[DEBUG]	Add new category references
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131378','11','')
2019-12-18	09:43:51	174	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131378','11','')
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	175	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field override
2019-12-18	09:43:51	175	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:51	175	[DEBUG]	Process line 175
2019-12-18	09:43:51	175	[DEBUG]	Load a row
2019-12-18	09:43:51	175	[DEBUG]	Processing item: A_3919_1
2019-12-18	09:43:51	175	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	175	[DEBUG]	Processing product tax
2019-12-18	09:43:51	175	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	175	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	175	[DEBUG]	Query for Product
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_3919_1','0.125','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	175	[DEBUG]	Check product language entry
2019-12-18	09:43:51	175	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131379
2019-12-18	09:43:51	175	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919' AND `virtuemart_product_id` != 131379
2019-12-18	09:43:51	175	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919' AND `virtuemart_product_id` != 131379
2019-12-18	09:43:51	175	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131379, 'mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919')
2019-12-18	09:43:51	175	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier PressFit 30 pour Fat Bike Le boitier PF30-FAT-BB est destiné aux cadres en standard PressFit (Ø int 46mm) et largeur de boitier de 100mm. Il permet le montage direct de pédaliers en axe de 30mm ou via les adaptateurs BBUNIV-SRAM ou BBUNIV-SHIM de pédaliers en 24/22mm ou 24mm. Roulements étanches Enduro Bearings ABEC3 6806 OS (Ø int 30mm). Cuvettes en aluminium usiné CNC. Joints silicones pour une étanchéité durable. 100% fabriqué aux USA. 125 gr.<br>N° art fourn : PF30-FAT-BB',`product_name`='MLV-Bike (SH) Boitier de pédalier PressFit 30 pour Fat Bike (3919)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919' WHERE `virtuemart_product_id` = '131379'
2019-12-18	09:43:51	175	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/20384_.jpg
2019-12-18	09:43:51	175	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:51	175	[DEBUG]	Process image file
2019-12-18	09:43:51	175	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:51	175	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:51	175	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/20384_.jpg
2019-12-18	09:43:51	175	[DEBUG]	Full name target: images/stories/virtuemart/product/20384_.jpg
2019-12-18	09:43:51	175	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/20384_.jpg'
2019-12-18	09:43:51	175	[DEBUG]	Query for Media
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/20384_.jpg',`file_url_thumb`='images/stories/virtuemart/product/20384_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '10544'
2019-12-18	09:43:51	175	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131379','10544','1')
2019-12-18	09:43:51	175	[DEBUG]	Store product image relation
2019-12-18	09:43:51	175	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	175	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131379 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	175	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131379','0','92.7576601671309','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	175	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	175	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	175	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131379
2019-12-18	09:43:51	175	[DEBUG]	Load a row
2019-12-18	09:43:51	175	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:51	175	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:51	175	[DEBUG]	Manufacturer exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2019-12-18	09:43:51	175	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:51	175	[DEBUG]	Executed store
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131379','22')
2019-12-18	09:43:51	175	[DEBUG]	Find the custom field ID
2019-12-18	09:43:51	175	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:51	175	[DEBUG]	No custom field ID found
2019-12-18	09:43:51	175	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:51	175	[DEBUG]	Store custom available field
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131379,3,'109.594722222222',1)
2019-12-18	09:43:51	175	[DEBUG]	Checking category
2019-12-18	09:43:51	175	[DEBUG]	Delete old category references
2019-12-18	09:43:51	175	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131379
2019-12-18	09:43:51	175	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:51	175	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131379 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:51	175	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:51	175	[DEBUG]	Add new category references
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131379','11','')
2019-12-18	09:43:51	175	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:51	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131379','11','')
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field published
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:51	176	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field override
2019-12-18	09:43:51	176	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:51	176	[DEBUG]	Process line 176
2019-12-18	09:43:51	176	[DEBUG]	Load a row
2019-12-18	09:43:51	176	[DEBUG]	Processing item: 811079022790
2019-12-18	09:43:51	176	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:51	176	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:51	176	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3919_1'
2019-12-18	09:43:51	176	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:51	176	[DEBUG]	Processing product tax
2019-12-18	09:43:51	176	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:51	176	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:51	176	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:51	176	[DEBUG]	Query for Product
2019-12-18	09:43:51	176	[DEBUG]	Executed store
2019-12-18	09:43:51	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131379','811079022790','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	176	[DEBUG]	No parent found
2019-12-18	09:43:51	176	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131379 AND customfield_value = 'stockable'
2019-12-18	09:43:51	176	[DEBUG]	Check product language entry
2019-12-18	09:43:51	176	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131380
2019-12-18	09:43:51	176	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919-noir' AND `virtuemart_product_id` != 131380
2019-12-18	09:43:51	176	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:51	176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919-noir' AND `virtuemart_product_id` != 131380
2019-12-18	09:43:51	176	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:51	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131380, 'mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919-noir')
2019-12-18	09:43:51	176	[DEBUG]	Query for ProductLang
2019-12-18	09:43:51	176	[DEBUG]	Executed store
2019-12-18	09:43:51	176	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Boitier de pédalier PressFit 30 pour Fat Bike (3919) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-boitier-de-pedalier-pressfit-30-pour-fat-bike-3919-noir' WHERE `virtuemart_product_id` = '131380'
2019-12-18	09:43:51	176	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/20384_.jpg
2019-12-18	09:43:51	176	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:51	176	[DEBUG]	Process image file
2019-12-18	09:43:51	176	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:51	176	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:51	176	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/20384_.jpg
2019-12-18	09:43:51	176	[DEBUG]	Full name target: images/stories/virtuemart/product/20384_.jpg
2019-12-18	09:43:51	176	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:51	176	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/20384_.jpg'
2019-12-18	09:43:51	176	[DEBUG]	Query for Media
2019-12-18	09:43:51	176	[DEBUG]	Executed store
2019-12-18	09:43:51	176	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/20384_.jpg',`file_url_thumb`='images/stories/virtuemart/product/20384_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '10544'
2019-12-18	09:43:51	176	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:51	176	[DEBUG]	Executed store
2019-12-18	09:43:51	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131380','10544','1')
2019-12-18	09:43:51	176	[DEBUG]	Store product image relation
2019-12-18	09:43:51	176	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:51	176	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131380 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:51	176	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:51	176	[DEBUG]	Executed store
2019-12-18	09:43:51	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131380','0','92.7576601671309','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:51	176	[DEBUG]	Checking manufacturer
2019-12-18	09:43:51	176	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:51	176	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131380
2019-12-18	09:43:51	176	[DEBUG]	Load a row
2019-12-18	09:43:52	176	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	176	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:52	176	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	176	[DEBUG]	Executed store
2019-12-18	09:43:52	176	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:52	176	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	176	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2019-12-18	09:43:52	176	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	176	[DEBUG]	Executed store
2019-12-18	09:43:52	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131380','22')
2019-12-18	09:43:52	176	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	176	[DEBUG]	Store custom available field
2019-12-18	09:43:52	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131380,3,'',1)
2019-12-18	09:43:52	176	[DEBUG]	Checking category
2019-12-18	09:43:52	176	[DEBUG]	Delete old category references
2019-12-18	09:43:52	176	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131380
2019-12-18	09:43:52	176	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	176	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131380 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	176	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	176	[DEBUG]	Add new category references
2019-12-18	09:43:52	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131380','11','')
2019-12-18	09:43:52	176	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131380','11','')
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	177	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	177	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	177	[DEBUG]	Process line 177
2019-12-18	09:43:52	177	[DEBUG]	Load a row
2019-12-18	09:43:52	177	[DEBUG]	Processing item: A_4270_1
2019-12-18	09:43:52	177	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	177	[DEBUG]	Processing product tax
2019-12-18	09:43:52	177	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	177	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	177	[DEBUG]	Query for Product
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_4270_1','0.096','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	177	[DEBUG]	Check product language entry
2019-12-18	09:43:52	177	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131381
2019-12-18	09:43:52	177	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270' AND `virtuemart_product_id` != 131381
2019-12-18	09:43:52	177	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270' AND `virtuemart_product_id` != 131381
2019-12-18	09:43:52	177	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131381, 'mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270')
2019-12-18	09:43:52	177	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le boitier BB86-FAT-BB est destiné aux cadres en standard PressFit 41 (Ø int 41mm) et largeur de boitier de 121mm Il permet le montage direct de pédaliers en axe de 22/24mm GXP (SRAM, Truvativ) Roulements étanches Enduro Bearings ABEC3 Cuvettes en aluminium usiné CNC Joints silicones pour une étanchéité durable 100% fabriqué aux USA. <br>N° art fourn : BB86-FAT-BB',`product_name`='MLV-Bike (SH) Boitier de pédalier PressFit 41mm pour Fat Bike 24mm (Shimano, FSA, Etc.) roulements ABEC3 (4270)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270' WHERE `virtuemart_product_id` = '131381'
2019-12-18	09:43:52	177	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg
2019-12-18	09:43:52	177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:52	177	[DEBUG]	Process image file
2019-12-18	09:43:52	177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:52	177	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:52	177	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg
2019-12-18	09:43:52	177	[DEBUG]	Full name target: images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg
2019-12-18	09:43:52	177	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg'
2019-12-18	09:43:52	177	[DEBUG]	Query for Media
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg',`file_url_thumb`='images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '11028'
2019-12-18	09:43:52	177	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131381','11028','1')
2019-12-18	09:43:52	177	[DEBUG]	Store product image relation
2019-12-18	09:43:52	177	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	177	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131381 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	177	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131381','0','92.7576601671309','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	177	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	177	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	177	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131381
2019-12-18	09:43:52	177	[DEBUG]	Load a row
2019-12-18	09:43:52	177	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:52	177	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:52	177	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2019-12-18	09:43:52	177	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	177	[DEBUG]	Executed store
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131381','22')
2019-12-18	09:43:52	177	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	177	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	177	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	177	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	177	[DEBUG]	Store custom available field
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131381,3,'109.594722222222',1)
2019-12-18	09:43:52	177	[DEBUG]	Checking category
2019-12-18	09:43:52	177	[DEBUG]	Delete old category references
2019-12-18	09:43:52	177	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131381
2019-12-18	09:43:52	177	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	177	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131381 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	177	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	177	[DEBUG]	Add new category references
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131381','11','')
2019-12-18	09:43:52	177	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131381','11','')
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	178	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	178	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	178	[DEBUG]	Process line 178
2019-12-18	09:43:52	178	[DEBUG]	Load a row
2019-12-18	09:43:52	178	[DEBUG]	Processing item: 811079022752
2019-12-18	09:43:52	178	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	178	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	178	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4270_1'
2019-12-18	09:43:52	178	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	178	[DEBUG]	Processing product tax
2019-12-18	09:43:52	178	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	178	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	178	[DEBUG]	Query for Product
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131381','811079022752','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	178	[DEBUG]	No parent found
2019-12-18	09:43:52	178	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131381 AND customfield_value = 'stockable'
2019-12-18	09:43:52	178	[DEBUG]	Check product language entry
2019-12-18	09:43:52	178	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131382
2019-12-18	09:43:52	178	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270-noir' AND `virtuemart_product_id` != 131382
2019-12-18	09:43:52	178	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270-noir' AND `virtuemart_product_id` != 131382
2019-12-18	09:43:52	178	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131382, 'mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270-noir')
2019-12-18	09:43:52	178	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Boitier de pédalier PressFit 41mm pour Fat Bike 24mm (Shimano, FSA, Etc.) roulements ABEC3 (4270) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-boitier-de-pedalier-pressfit-41mm-pour-fat-bike-24mm-shimano-fsa-etc-roulements-abec3-4270-noir' WHERE `virtuemart_product_id` = '131382'
2019-12-18	09:43:52	178	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg
2019-12-18	09:43:52	178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:52	178	[DEBUG]	Process image file
2019-12-18	09:43:52	178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:52	178	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:52	178	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg
2019-12-18	09:43:52	178	[DEBUG]	Full name target: images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg
2019-12-18	09:43:52	178	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg'
2019-12-18	09:43:52	178	[DEBUG]	Query for Media
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg',`file_url_thumb`='images/stories/virtuemart/product/26154_boitier_de_pedalier_bb86-92_24mm_(shimano,_fsa,_etc_)_roule_(sos)_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '11028'
2019-12-18	09:43:52	178	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131382','11028','1')
2019-12-18	09:43:52	178	[DEBUG]	Store product image relation
2019-12-18	09:43:52	178	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	178	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131382 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	178	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131382','0','92.7576601671309','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	178	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	178	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	178	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131382
2019-12-18	09:43:52	178	[DEBUG]	Load a row
2019-12-18	09:43:52	178	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:52	178	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2019-12-18	09:43:52	178	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2019-12-18	09:43:52	178	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	178	[DEBUG]	Executed store
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131382','22')
2019-12-18	09:43:52	178	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	178	[DEBUG]	Store custom available field
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131382,3,'',1)
2019-12-18	09:43:52	178	[DEBUG]	Checking category
2019-12-18	09:43:52	178	[DEBUG]	Delete old category references
2019-12-18	09:43:52	178	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131382
2019-12-18	09:43:52	178	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	178	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131382 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	178	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	178	[DEBUG]	Add new category references
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131382','11','')
2019-12-18	09:43:52	178	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131382','11','')
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	179	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	179	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	179	[DEBUG]	Process line 179
2019-12-18	09:43:52	179	[DEBUG]	Load a row
2019-12-18	09:43:52	179	[DEBUG]	Processing item: A_5612_3
2019-12-18	09:43:52	179	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	179	[DEBUG]	Processing product tax
2019-12-18	09:43:52	179	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	179	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	179	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	179	[DEBUG]	Query for Product
2019-12-18	09:43:52	179	[DEBUG]	Executed store
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5612_3','0.117','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	179	[DEBUG]	Check product language entry
2019-12-18	09:43:52	179	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131383
2019-12-18	09:43:52	179	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612' AND `virtuemart_product_id` != 131383
2019-12-18	09:43:52	179	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612' AND `virtuemart_product_id` != 131383
2019-12-18	09:43:52	179	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131383, 'sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612')
2019-12-18	09:43:52	179	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	179	[DEBUG]	Executed store
2019-12-18	09:43:52	179	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier PressFit 30 Le boitier PF30-BB est destiné aux cadres en standard PressFit (Ø int 46mm) et s\'adapte à des largeurs de boitier de 61 à 86,5mm. Il permet le montage direct de pédaliers en axe de 30mm ou via les adaptateurs BBUNIV-SRAM ou BBUNIV-SHIM de pédaliers en 24/22mm ou 24mm. Roulements étanches Enduro Bearings ABEC3 6806 OS (Ø int 30mm). Cuvettes en aluminium usiné CNC. Joints silicones pour une étanchéité durable. 100% fabriqué aux USA, 117 gr<br>N° art fourn : D1418J',`product_name`='SRAM PRESSFIT ADAPTOR BB GXP TEAM CUPS SRAM (5612)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612' WHERE `virtuemart_product_id` = '131383'
2019-12-18	09:43:52	179	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30112_pressfit_adapto_bb_gxp_team_cups_sram.jpg has not been found.
2019-12-18	09:43:52	179	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	179	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131383 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	179	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	179	[DEBUG]	Executed store
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131383','0','50.1392757660167','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	179	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	179	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	179	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131383
2019-12-18	09:43:52	179	[DEBUG]	Load a row
2019-12-18	09:43:52	179	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	179	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	179	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	179	[DEBUG]	Executed store
2019-12-18	09:43:52	179	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	179	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	179	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	179	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	179	[DEBUG]	Executed store
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131383','35')
2019-12-18	09:43:52	179	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	179	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	179	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	179	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	179	[DEBUG]	Store custom available field
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131383,3,'79.6780555555556',1)
2019-12-18	09:43:52	179	[DEBUG]	Checking category
2019-12-18	09:43:52	179	[DEBUG]	Delete old category references
2019-12-18	09:43:52	179	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131383
2019-12-18	09:43:52	179	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	179	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131383 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	179	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	179	[DEBUG]	Add new category references
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131383','11','')
2019-12-18	09:43:52	179	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131383','11','')
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	180	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	180	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	180	[DEBUG]	Process line 180
2019-12-18	09:43:52	180	[DEBUG]	Load a row
2019-12-18	09:43:52	180	[DEBUG]	Processing item: 710845622045
2019-12-18	09:43:52	180	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	180	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	180	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5612_3'
2019-12-18	09:43:52	180	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	180	[DEBUG]	Processing product tax
2019-12-18	09:43:52	180	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	180	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	180	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	180	[DEBUG]	Query for Product
2019-12-18	09:43:52	180	[DEBUG]	Executed store
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131383','710845622045','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	180	[DEBUG]	No parent found
2019-12-18	09:43:52	180	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131383 AND customfield_value = 'stockable'
2019-12-18	09:43:52	180	[DEBUG]	Check product language entry
2019-12-18	09:43:52	180	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131384
2019-12-18	09:43:52	180	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612-none' AND `virtuemart_product_id` != 131384
2019-12-18	09:43:52	180	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612-none' AND `virtuemart_product_id` != 131384
2019-12-18	09:43:52	180	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131384, 'sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612-none')
2019-12-18	09:43:52	180	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	180	[DEBUG]	Executed store
2019-12-18	09:43:52	180	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM PRESSFIT ADAPTOR BB GXP TEAM CUPS SRAM (5612) (None)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-pressfit-adaptor-bb-gxp-team-cups-sram-5612-none' WHERE `virtuemart_product_id` = '131384'
2019-12-18	09:43:52	180	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30112_pressfit_adapto_bb_gxp_team_cups_sram.jpg has not been found.
2019-12-18	09:43:52	180	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	180	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131384 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	180	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	180	[DEBUG]	Executed store
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131384','0','50.1392757660167','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	180	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	180	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	180	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131384
2019-12-18	09:43:52	180	[DEBUG]	Load a row
2019-12-18	09:43:52	180	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	180	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	180	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	180	[DEBUG]	Executed store
2019-12-18	09:43:52	180	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	180	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	180	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	180	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	180	[DEBUG]	Executed store
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131384','35')
2019-12-18	09:43:52	180	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	180	[DEBUG]	Store custom available field
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131384,3,'',1)
2019-12-18	09:43:52	180	[DEBUG]	Checking category
2019-12-18	09:43:52	180	[DEBUG]	Delete old category references
2019-12-18	09:43:52	180	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131384
2019-12-18	09:43:52	180	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	180	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131384 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	180	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	180	[DEBUG]	Add new category references
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131384','11','')
2019-12-18	09:43:52	180	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131384','11','')
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	181	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	181	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	181	[DEBUG]	Process line 181
2019-12-18	09:43:52	181	[DEBUG]	Load a row
2019-12-18	09:43:52	181	[DEBUG]	Processing item: A_5652_1
2019-12-18	09:43:52	181	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	181	[DEBUG]	Processing product tax
2019-12-18	09:43:52	181	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	181	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	181	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	181	[DEBUG]	Query for Product
2019-12-18	09:43:52	181	[DEBUG]	Executed store
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5652_1','1','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	181	[DEBUG]	Check product language entry
2019-12-18	09:43:52	181	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131385
2019-12-18	09:43:52	181	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652' AND `virtuemart_product_id` != 131385
2019-12-18	09:43:52	181	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652' AND `virtuemart_product_id` != 131385
2019-12-18	09:43:52	181	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131385, 'sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652')
2019-12-18	09:43:52	181	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	181	[DEBUG]	Executed store
2019-12-18	09:43:52	181	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D1443Q',`product_name`='SRAM BOITIER PEDALIER BB GXP PRESSFIT POUR SPECIALIZED OS 84.5 (5652)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652' WHERE `virtuemart_product_id` = '131385'
2019-12-18	09:43:52	181	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30153_boitier_pedalier_bb_gxp_pressfit_pour_specialized_os_84_5.jpg has not been found.
2019-12-18	09:43:52	181	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	181	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131385 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	181	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	181	[DEBUG]	Executed store
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131385','0','51.0677808727948','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	181	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	181	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	181	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131385
2019-12-18	09:43:52	181	[DEBUG]	Load a row
2019-12-18	09:43:52	181	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	181	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	181	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	181	[DEBUG]	Executed store
2019-12-18	09:43:52	181	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	181	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	181	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	181	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	181	[DEBUG]	Executed store
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131385','35')
2019-12-18	09:43:52	181	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	181	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	181	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	181	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	181	[DEBUG]	Store custom available field
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131385,3,'0',1)
2019-12-18	09:43:52	181	[DEBUG]	Checking category
2019-12-18	09:43:52	181	[DEBUG]	Delete old category references
2019-12-18	09:43:52	181	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131385
2019-12-18	09:43:52	181	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	181	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131385 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	181	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	181	[DEBUG]	Add new category references
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131385','11','')
2019-12-18	09:43:52	181	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131385','11','')
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	182	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	182	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	182	[DEBUG]	Process line 182
2019-12-18	09:43:52	182	[DEBUG]	Load a row
2019-12-18	09:43:52	182	[DEBUG]	Processing item: 710845656521
2019-12-18	09:43:52	182	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	182	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	182	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5652_1'
2019-12-18	09:43:52	182	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	182	[DEBUG]	Processing product tax
2019-12-18	09:43:52	182	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	182	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	182	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	182	[DEBUG]	Query for Product
2019-12-18	09:43:52	182	[DEBUG]	Executed store
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131385','710845656521','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	182	[DEBUG]	No parent found
2019-12-18	09:43:52	182	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131385 AND customfield_value = 'stockable'
2019-12-18	09:43:52	182	[DEBUG]	Check product language entry
2019-12-18	09:43:52	182	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131386
2019-12-18	09:43:52	182	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652-noir' AND `virtuemart_product_id` != 131386
2019-12-18	09:43:52	182	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652-noir' AND `virtuemart_product_id` != 131386
2019-12-18	09:43:52	182	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131386, 'sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652-noir')
2019-12-18	09:43:52	182	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	182	[DEBUG]	Executed store
2019-12-18	09:43:52	182	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM BOITIER PEDALIER BB GXP PRESSFIT POUR SPECIALIZED OS 84.5 (5652) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-pedalier-bb-gxp-pressfit-pour-specialized-os-84-5-5652-noir' WHERE `virtuemart_product_id` = '131386'
2019-12-18	09:43:52	182	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30153_boitier_pedalier_bb_gxp_pressfit_pour_specialized_os_84_5.jpg has not been found.
2019-12-18	09:43:52	182	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	182	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131386 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	182	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	182	[DEBUG]	Executed store
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131386','0','51.0677808727948','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	182	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	182	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	182	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131386
2019-12-18	09:43:52	182	[DEBUG]	Load a row
2019-12-18	09:43:52	182	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	182	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	182	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	182	[DEBUG]	Executed store
2019-12-18	09:43:52	182	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	182	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	182	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	182	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	182	[DEBUG]	Executed store
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131386','35')
2019-12-18	09:43:52	182	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	182	[DEBUG]	Store custom available field
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131386,3,'',1)
2019-12-18	09:43:52	182	[DEBUG]	Checking category
2019-12-18	09:43:52	182	[DEBUG]	Delete old category references
2019-12-18	09:43:52	182	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131386
2019-12-18	09:43:52	182	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	182	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131386 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	182	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	182	[DEBUG]	Add new category references
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131386','11','')
2019-12-18	09:43:52	182	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131386','11','')
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	183	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	183	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	183	[DEBUG]	Process line 183
2019-12-18	09:43:52	183	[DEBUG]	Load a row
2019-12-18	09:43:52	183	[DEBUG]	Processing item: A_5663_3
2019-12-18	09:43:52	183	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	183	[DEBUG]	Processing product tax
2019-12-18	09:43:52	183	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	183	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	183	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	183	[DEBUG]	Query for Product
2019-12-18	09:43:52	183	[DEBUG]	Executed store
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_5663_3','0.2','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	183	[DEBUG]	Check product language entry
2019-12-18	09:43:52	183	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131387
2019-12-18	09:43:52	183	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663' AND `virtuemart_product_id` != 131387
2019-12-18	09:43:52	183	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663' AND `virtuemart_product_id` != 131387
2019-12-18	09:43:52	183	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131387, 'dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663')
2019-12-18	09:43:52	183	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	183	[DEBUG]	Executed store
2019-12-18	09:43:52	183	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7544C',`product_name`='DUB Boîtier pédalier DUB PressFit 30 (MTB) 73mm (5663)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663' WHERE `virtuemart_product_id` = '131387'
2019-12-18	09:43:52	183	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30164_boîtier_pedalier_dub_pressfit_30_(mtb)_73mm.jpg has not been found.
2019-12-18	09:43:52	183	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	183	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131387 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	183	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	183	[DEBUG]	Executed store
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131387','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	183	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	183	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	183	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131387
2019-12-18	09:43:52	183	[DEBUG]	Load a row
2019-12-18	09:43:52	183	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	183	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	183	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	183	[DEBUG]	Executed store
2019-12-18	09:43:52	183	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-272116330356' WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	183	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	183	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 163
2019-12-18	09:43:52	183	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	183	[DEBUG]	Executed store
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131387','163')
2019-12-18	09:43:52	183	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	183	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	183	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	183	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	183	[DEBUG]	Store custom available field
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131387,3,'0',1)
2019-12-18	09:43:52	183	[DEBUG]	Checking category
2019-12-18	09:43:52	183	[DEBUG]	Delete old category references
2019-12-18	09:43:52	183	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131387
2019-12-18	09:43:52	183	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	183	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131387 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	183	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	183	[DEBUG]	Add new category references
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131387','11','')
2019-12-18	09:43:52	183	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131387','11','')
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	184	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	184	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	184	[DEBUG]	Process line 184
2019-12-18	09:43:52	184	[DEBUG]	Load a row
2019-12-18	09:43:52	184	[DEBUG]	Processing item: 710845813740
2019-12-18	09:43:52	184	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	184	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	184	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5663_3'
2019-12-18	09:43:52	184	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	184	[DEBUG]	Processing product tax
2019-12-18	09:43:52	184	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	184	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	184	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	184	[DEBUG]	Query for Product
2019-12-18	09:43:52	184	[DEBUG]	Executed store
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131387','710845813740','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	184	[DEBUG]	No parent found
2019-12-18	09:43:52	184	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131387 AND customfield_value = 'stockable'
2019-12-18	09:43:52	184	[DEBUG]	Check product language entry
2019-12-18	09:43:52	184	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131388
2019-12-18	09:43:52	184	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663-none' AND `virtuemart_product_id` != 131388
2019-12-18	09:43:52	184	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663-none' AND `virtuemart_product_id` != 131388
2019-12-18	09:43:52	184	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131388, 'dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663-none')
2019-12-18	09:43:52	184	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	184	[DEBUG]	Executed store
2019-12-18	09:43:52	184	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DUB Boîtier pédalier DUB PressFit 30 (MTB) 73mm (5663) (None)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dub-boitier-pedalier-dub-pressfit-30-mtb-73mm-5663-none' WHERE `virtuemart_product_id` = '131388'
2019-12-18	09:43:52	184	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/30164_boîtier_pedalier_dub_pressfit_30_(mtb)_73mm.jpg has not been found.
2019-12-18	09:43:52	184	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	184	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131388 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	184	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	184	[DEBUG]	Executed store
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131388','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	184	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	184	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	184	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131388
2019-12-18	09:43:52	184	[DEBUG]	Load a row
2019-12-18	09:43:52	184	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	184	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	184	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	184	[DEBUG]	Executed store
2019-12-18	09:43:52	184	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-272116330356' WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	184	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	184	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 163
2019-12-18	09:43:52	184	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	184	[DEBUG]	Executed store
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131388','163')
2019-12-18	09:43:52	184	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	184	[DEBUG]	Store custom available field
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131388,3,'',1)
2019-12-18	09:43:52	184	[DEBUG]	Checking category
2019-12-18	09:43:52	184	[DEBUG]	Delete old category references
2019-12-18	09:43:52	184	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131388
2019-12-18	09:43:52	184	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	184	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131388 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	184	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	184	[DEBUG]	Add new category references
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131388','11','')
2019-12-18	09:43:52	184	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131388','11','')
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	185	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	185	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	185	[DEBUG]	Process line 185
2019-12-18	09:43:52	185	[DEBUG]	Load a row
2019-12-18	09:43:52	185	[DEBUG]	Processing item: A_6160_1
2019-12-18	09:43:52	185	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	185	[DEBUG]	Processing product tax
2019-12-18	09:43:52	185	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	185	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	185	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	185	[DEBUG]	Query for Product
2019-12-18	09:43:52	185	[DEBUG]	Executed store
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6160_1','0.2','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	185	[DEBUG]	Check product language entry
2019-12-18	09:43:52	185	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131389
2019-12-18	09:43:52	185	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit89-92-6160' AND `virtuemart_product_id` != 131389
2019-12-18	09:43:52	185	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit89-92-6160' AND `virtuemart_product_id` != 131389
2019-12-18	09:43:52	185	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131389, 'dub-boitier-pedalier-dub-pressfit89-92-6160')
2019-12-18	09:43:52	185	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	185	[DEBUG]	Executed store
2019-12-18	09:43:52	185	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7543Z',`product_name`='DUB Boîtier pédalier DUB PressFit89/92 (6160)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dub-boitier-pedalier-dub-pressfit89-92-6160' WHERE `virtuemart_product_id` = '131389'
2019-12-18	09:43:52	185	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/31858_boîtier_pedalier_dub_pressfit89-92.jpg has not been found.
2019-12-18	09:43:52	185	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	185	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131389 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	185	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	185	[DEBUG]	Executed store
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131389','0','46.3324048282266','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	185	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	185	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	185	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131389
2019-12-18	09:43:52	185	[DEBUG]	Load a row
2019-12-18	09:43:52	185	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	185	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	185	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	185	[DEBUG]	Executed store
2019-12-18	09:43:52	185	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-272116330356' WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	185	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	185	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 163
2019-12-18	09:43:52	185	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	185	[DEBUG]	Executed store
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131389','163')
2019-12-18	09:43:52	185	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	185	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	185	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	185	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	185	[DEBUG]	Store custom available field
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131389,3,'0',1)
2019-12-18	09:43:52	185	[DEBUG]	Checking category
2019-12-18	09:43:52	185	[DEBUG]	Delete old category references
2019-12-18	09:43:52	185	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131389
2019-12-18	09:43:52	185	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	185	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131389 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	185	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	185	[DEBUG]	Add new category references
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131389','11','')
2019-12-18	09:43:52	185	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131389','11','')
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	186	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	186	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	186	[DEBUG]	Process line 186
2019-12-18	09:43:52	186	[DEBUG]	Load a row
2019-12-18	09:43:52	186	[DEBUG]	Processing item: 710845813757
2019-12-18	09:43:52	186	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	186	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	186	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6160_1'
2019-12-18	09:43:52	186	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	186	[DEBUG]	Processing product tax
2019-12-18	09:43:52	186	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	186	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	186	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	186	[DEBUG]	Query for Product
2019-12-18	09:43:52	186	[DEBUG]	Executed store
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131389','710845813757','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	186	[DEBUG]	No parent found
2019-12-18	09:43:52	186	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131389 AND customfield_value = 'stockable'
2019-12-18	09:43:52	186	[DEBUG]	Check product language entry
2019-12-18	09:43:52	186	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131390
2019-12-18	09:43:52	186	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit89-92-6160-noir' AND `virtuemart_product_id` != 131390
2019-12-18	09:43:52	186	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'dub-boitier-pedalier-dub-pressfit89-92-6160-noir' AND `virtuemart_product_id` != 131390
2019-12-18	09:43:52	186	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131390, 'dub-boitier-pedalier-dub-pressfit89-92-6160-noir')
2019-12-18	09:43:52	186	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	186	[DEBUG]	Executed store
2019-12-18	09:43:52	186	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DUB Boîtier pédalier DUB PressFit89/92 (6160) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dub-boitier-pedalier-dub-pressfit89-92-6160-noir' WHERE `virtuemart_product_id` = '131390'
2019-12-18	09:43:52	186	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/31858_boîtier_pedalier_dub_pressfit89-92.jpg has not been found.
2019-12-18	09:43:52	186	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	186	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131390 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	186	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	186	[DEBUG]	Executed store
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131390','0','46.3324048282266','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	186	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	186	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	186	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131390
2019-12-18	09:43:52	186	[DEBUG]	Load a row
2019-12-18	09:43:52	186	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	186	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	186	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	186	[DEBUG]	Executed store
2019-12-18	09:43:52	186	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-272116330356' WHERE `virtuemart_manufacturer_id` = '163'
2019-12-18	09:43:52	186	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	186	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 163
2019-12-18	09:43:52	186	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	186	[DEBUG]	Executed store
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131390','163')
2019-12-18	09:43:52	186	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	186	[DEBUG]	Store custom available field
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131390,3,'',1)
2019-12-18	09:43:52	186	[DEBUG]	Checking category
2019-12-18	09:43:52	186	[DEBUG]	Delete old category references
2019-12-18	09:43:52	186	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131390
2019-12-18	09:43:52	186	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	186	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131390 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	186	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	186	[DEBUG]	Add new category references
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131390','11','')
2019-12-18	09:43:52	186	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131390','11','')
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	187	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	187	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	187	[DEBUG]	Process line 187
2019-12-18	09:43:52	187	[DEBUG]	Load a row
2019-12-18	09:43:52	187	[DEBUG]	Processing item: A_6195_1
2019-12-18	09:43:52	187	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	187	[DEBUG]	Processing product tax
2019-12-18	09:43:52	187	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	187	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	187	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	187	[DEBUG]	Query for Product
2019-12-18	09:43:52	187	[DEBUG]	Executed store
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6195_1','0.117','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	187	[DEBUG]	Check product language entry
2019-12-18	09:43:52	187	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131391
2019-12-18	09:43:52	187	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195' AND `virtuemart_product_id` != 131391
2019-12-18	09:43:52	187	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195' AND `virtuemart_product_id` != 131391
2019-12-18	09:43:52	187	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131391, 'sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195')
2019-12-18	09:43:52	187	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	187	[DEBUG]	Executed store
2019-12-18	09:43:52	187	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier PressFit 30 Le boitier PF30-BB est destiné aux cadres en standard PressFit (Ø int 46mm) et s\'adapte à des largeurs de boitier de 61 à 86,5mm. Il permet le montage direct de pédaliers en axe de 30mm ou via les adaptateurs BBUNIV-SRAM ou BBUNIV-SHIM de pédaliers en 24/22mm ou 24mm. Roulements étanches Enduro Bearings ABEC3 6806 OS (Ø int 30mm). Cuvettes en aluminium usiné CNC. Joints silicones pour une étanchéité durable. 100% fabriqué aux USA, 117 gr<br>N° art fourn : D7544B',`product_name`='SRAM BOITIER de pédalier DUB BB30 (MTB) 73mm (6195)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195' WHERE `virtuemart_product_id` = '131391'
2019-12-18	09:43:52	187	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32035_boitier_de_pedalier_dub_bb30_(mtb)_73mm.jpg has not been found.
2019-12-18	09:43:52	187	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	187	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131391 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	187	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	187	[DEBUG]	Executed store
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131391','0','41.7827298050139','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	187	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	187	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	187	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131391
2019-12-18	09:43:52	187	[DEBUG]	Load a row
2019-12-18	09:43:52	187	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	187	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	187	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	187	[DEBUG]	Executed store
2019-12-18	09:43:52	187	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	187	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	187	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	187	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	187	[DEBUG]	Executed store
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131391','35')
2019-12-18	09:43:52	187	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	187	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	187	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	187	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	187	[DEBUG]	Store custom available field
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131391,3,'79.6780555555556',1)
2019-12-18	09:43:52	187	[DEBUG]	Checking category
2019-12-18	09:43:52	187	[DEBUG]	Delete old category references
2019-12-18	09:43:52	187	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131391
2019-12-18	09:43:52	187	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	187	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131391 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	187	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	187	[DEBUG]	Add new category references
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131391','11','')
2019-12-18	09:43:52	187	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131391','11','')
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	188	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	188	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	188	[DEBUG]	Process line 188
2019-12-18	09:43:52	188	[DEBUG]	Load a row
2019-12-18	09:43:52	188	[DEBUG]	Processing item: 710845813719
2019-12-18	09:43:52	188	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	188	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	188	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6195_1'
2019-12-18	09:43:52	188	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	188	[DEBUG]	Processing product tax
2019-12-18	09:43:52	188	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	188	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	188	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	188	[DEBUG]	Query for Product
2019-12-18	09:43:52	188	[DEBUG]	Executed store
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131391','710845813719','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	188	[DEBUG]	No parent found
2019-12-18	09:43:52	188	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131391 AND customfield_value = 'stockable'
2019-12-18	09:43:52	188	[DEBUG]	Check product language entry
2019-12-18	09:43:52	188	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131392
2019-12-18	09:43:52	188	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195-noir' AND `virtuemart_product_id` != 131392
2019-12-18	09:43:52	188	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195-noir' AND `virtuemart_product_id` != 131392
2019-12-18	09:43:52	188	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131392, 'sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195-noir')
2019-12-18	09:43:52	188	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	188	[DEBUG]	Executed store
2019-12-18	09:43:52	188	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM BOITIER de pédalier DUB BB30 (MTB) 73mm (6195) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-de-pedalier-dub-bb30-mtb-73mm-6195-noir' WHERE `virtuemart_product_id` = '131392'
2019-12-18	09:43:52	188	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32035_boitier_de_pedalier_dub_bb30_(mtb)_73mm.jpg has not been found.
2019-12-18	09:43:52	188	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	188	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131392 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	188	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	188	[DEBUG]	Executed store
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131392','0','41.7827298050139','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	188	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	188	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	188	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131392
2019-12-18	09:43:52	188	[DEBUG]	Load a row
2019-12-18	09:43:52	188	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	188	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	188	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	188	[DEBUG]	Executed store
2019-12-18	09:43:52	188	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	188	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	188	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	188	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	188	[DEBUG]	Executed store
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131392','35')
2019-12-18	09:43:52	188	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	188	[DEBUG]	Store custom available field
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131392,3,'',1)
2019-12-18	09:43:52	188	[DEBUG]	Checking category
2019-12-18	09:43:52	188	[DEBUG]	Delete old category references
2019-12-18	09:43:52	188	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131392
2019-12-18	09:43:52	188	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	188	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131392 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	188	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	188	[DEBUG]	Add new category references
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131392','11','')
2019-12-18	09:43:52	188	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131392','11','')
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	189	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field override
2019-12-18	09:43:52	189	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:52	189	[DEBUG]	Process line 189
2019-12-18	09:43:52	189	[DEBUG]	Load a row
2019-12-18	09:43:52	189	[DEBUG]	Processing item: A_6319_1
2019-12-18	09:43:52	189	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	189	[DEBUG]	Processing product tax
2019-12-18	09:43:52	189	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	189	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	189	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	189	[DEBUG]	Query for Product
2019-12-18	09:43:52	189	[DEBUG]	Executed store
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6319_1','0.117','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	189	[DEBUG]	Check product language entry
2019-12-18	09:43:52	189	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131393
2019-12-18	09:43:52	189	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319' AND `virtuemart_product_id` != 131393
2019-12-18	09:43:52	189	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:52	189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319' AND `virtuemart_product_id` != 131393
2019-12-18	09:43:52	189	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131393, 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319')
2019-12-18	09:43:52	189	[DEBUG]	Query for ProductLang
2019-12-18	09:43:52	189	[DEBUG]	Executed store
2019-12-18	09:43:52	189	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier PressFit 30 Le boitier PF30-BB est destiné aux cadres en standard PressFit (Ø int 46mm) et s\'adapte à des largeurs de boitier de 61 à 86,5mm. Il permet le montage direct de pédaliers en axe de 30mm ou via les adaptateurs BBUNIV-SRAM ou BBUNIV-SHIM de pédaliers en 24/22mm ou 24mm. Roulements étanches Enduro Bearings ABEC3 6806 OS (Ø int 30mm). Cuvettes en aluminium usiné CNC. Joints silicones pour une étanchéité durable. 100% fabriqué aux USA, 117 gr<br>N° art fourn : D7533S',`product_name`='SRAM BOITIER de pédalier BB30 Press Fit 30 68/92, BB30A, BBRight, BB386 (6319)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319' WHERE `virtuemart_product_id` = '131393'
2019-12-18	09:43:52	189	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32202_boitier_de_pedalier_bb30_press_fit_30_68-92,_bb30a,_bbright,_bb386.jpg has not been found.
2019-12-18	09:43:52	189	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:52	189	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131393 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:52	189	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:52	189	[DEBUG]	Executed store
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131393','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:52	189	[DEBUG]	Checking manufacturer
2019-12-18	09:43:52	189	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:52	189	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131393
2019-12-18	09:43:52	189	[DEBUG]	Load a row
2019-12-18	09:43:52	189	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:52	189	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	189	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:52	189	[DEBUG]	Executed store
2019-12-18	09:43:52	189	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:52	189	[DEBUG]	Manufacturer exists
2019-12-18	09:43:52	189	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:52	189	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:52	189	[DEBUG]	Executed store
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131393','35')
2019-12-18	09:43:52	189	[DEBUG]	Find the custom field ID
2019-12-18	09:43:52	189	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:52	189	[DEBUG]	No custom field ID found
2019-12-18	09:43:52	189	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:52	189	[DEBUG]	Store custom available field
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131393,3,'79.6780555555556',1)
2019-12-18	09:43:52	189	[DEBUG]	Checking category
2019-12-18	09:43:52	189	[DEBUG]	Delete old category references
2019-12-18	09:43:52	189	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131393
2019-12-18	09:43:52	189	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:52	189	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131393 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:52	189	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:52	189	[DEBUG]	Add new category references
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131393','11','')
2019-12-18	09:43:52	189	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:52	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131393','11','')
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field published
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:52	190	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field override
2019-12-18	09:43:52	190	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:52	190	[DEBUG]	Process line 190
2019-12-18	09:43:52	190	[DEBUG]	Load a row
2019-12-18	09:43:52	190	[DEBUG]	Processing item: 710845792625
2019-12-18	09:43:52	190	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:52	190	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:52	190	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6319_1'
2019-12-18	09:43:52	190	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:52	190	[DEBUG]	Processing product tax
2019-12-18	09:43:52	190	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:52	190	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:52	190	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:52	190	[DEBUG]	Query for Product
2019-12-18	09:43:52	190	[DEBUG]	Executed store
2019-12-18	09:43:52	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131393','710845792625','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	190	[DEBUG]	No parent found
2019-12-18	09:43:53	190	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131393 AND customfield_value = 'stockable'
2019-12-18	09:43:53	190	[DEBUG]	Check product language entry
2019-12-18	09:43:53	190	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131394
2019-12-18	09:43:53	190	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319-noir' AND `virtuemart_product_id` != 131394
2019-12-18	09:43:53	190	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319-noir' AND `virtuemart_product_id` != 131394
2019-12-18	09:43:53	190	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131394, 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319-noir')
2019-12-18	09:43:53	190	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	190	[DEBUG]	Executed store
2019-12-18	09:43:53	190	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM BOITIER de pédalier BB30 Press Fit 30 68/92, BB30A, BBRight, BB386 (6319) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6319-noir' WHERE `virtuemart_product_id` = '131394'
2019-12-18	09:43:53	190	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32202_boitier_de_pedalier_bb30_press_fit_30_68-92,_bb30a,_bbright,_bb386.jpg has not been found.
2019-12-18	09:43:53	190	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	190	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131394 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	190	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	190	[DEBUG]	Executed store
2019-12-18	09:43:53	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131394','0','55.6174558960074','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	190	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	190	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	190	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131394
2019-12-18	09:43:53	190	[DEBUG]	Load a row
2019-12-18	09:43:53	190	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	190	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:53	190	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	190	[DEBUG]	Executed store
2019-12-18	09:43:53	190	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:53	190	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	190	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:53	190	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	190	[DEBUG]	Executed store
2019-12-18	09:43:53	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131394','35')
2019-12-18	09:43:53	190	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	190	[DEBUG]	Store custom available field
2019-12-18	09:43:53	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131394,3,'',1)
2019-12-18	09:43:53	190	[DEBUG]	Checking category
2019-12-18	09:43:53	190	[DEBUG]	Delete old category references
2019-12-18	09:43:53	190	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131394
2019-12-18	09:43:53	190	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	190	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131394 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:53	190	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	190	[DEBUG]	Add new category references
2019-12-18	09:43:53	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131394','11','')
2019-12-18	09:43:53	190	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131394','11','')
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	191	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field override
2019-12-18	09:43:53	191	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:53	191	[DEBUG]	Process line 191
2019-12-18	09:43:53	191	[DEBUG]	Load a row
2019-12-18	09:43:53	191	[DEBUG]	Processing item: A_6320_1
2019-12-18	09:43:53	191	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	191	[DEBUG]	Processing product tax
2019-12-18	09:43:53	191	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	191	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	191	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	191	[DEBUG]	Query for Product
2019-12-18	09:43:53	191	[DEBUG]	Executed store
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_6320_1','0.117','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	191	[DEBUG]	Check product language entry
2019-12-18	09:43:53	191	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131395
2019-12-18	09:43:53	191	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320' AND `virtuemart_product_id` != 131395
2019-12-18	09:43:53	191	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320' AND `virtuemart_product_id` != 131395
2019-12-18	09:43:53	191	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131395, 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320')
2019-12-18	09:43:53	191	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	191	[DEBUG]	Executed store
2019-12-18	09:43:53	191	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier de pédalier PressFit 30 Le boitier PF30-BB est destiné aux cadres en standard PressFit (Ø int 46mm) et s\'adapte à des largeurs de boitier de 61 à 86,5mm. Il permet le montage direct de pédaliers en axe de 30mm ou via les adaptateurs BBUNIV-SRAM ou BBUNIV-SHIM de pédaliers en 24/22mm ou 24mm. Roulements étanches Enduro Bearings ABEC3 6806 OS (Ø int 30mm). Cuvettes en aluminium usiné CNC. Joints silicones pour une étanchéité durable. 100% fabriqué aux USA, 117 gr<br>N° art fourn : H82310',`product_name`='SRAM BOITIER de pédalier BB30 Press Fit 30 68/92, BB30A, BBRight, BB386  (6320)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320' WHERE `virtuemart_product_id` = '131395'
2019-12-18	09:43:53	191	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32203_boitier_de_pedalier_bb30_press_fit_30_68-92,_bb30a,_bbright,_bb386_.jpg has not been found.
2019-12-18	09:43:53	191	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	191	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131395 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	191	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	191	[DEBUG]	Executed store
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131395','0','64.9025069637883','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	191	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	191	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	191	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131395
2019-12-18	09:43:53	191	[DEBUG]	Load a row
2019-12-18	09:43:53	191	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	191	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:53	191	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	191	[DEBUG]	Executed store
2019-12-18	09:43:53	191	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:53	191	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	191	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:53	191	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	191	[DEBUG]	Executed store
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131395','35')
2019-12-18	09:43:53	191	[DEBUG]	Find the custom field ID
2019-12-18	09:43:53	191	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:53	191	[DEBUG]	No custom field ID found
2019-12-18	09:43:53	191	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	191	[DEBUG]	Store custom available field
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131395,3,'79.6780555555556',1)
2019-12-18	09:43:53	191	[DEBUG]	Checking category
2019-12-18	09:43:53	191	[DEBUG]	Delete old category references
2019-12-18	09:43:53	191	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131395
2019-12-18	09:43:53	191	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	191	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131395 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:53	191	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	191	[DEBUG]	Add new category references
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131395','11','')
2019-12-18	09:43:53	191	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131395','11','')
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:53	192	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field override
2019-12-18	09:43:53	192	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:53	192	[DEBUG]	Process line 192
2019-12-18	09:43:53	192	[DEBUG]	Load a row
2019-12-18	09:43:53	192	[DEBUG]	Processing item: 8716683102703
2019-12-18	09:43:53	192	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:53	192	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:53	192	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6320_1'
2019-12-18	09:43:53	192	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	192	[DEBUG]	Processing product tax
2019-12-18	09:43:53	192	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	192	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	192	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	192	[DEBUG]	Query for Product
2019-12-18	09:43:53	192	[DEBUG]	Executed store
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131395','8716683102703','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	192	[DEBUG]	No parent found
2019-12-18	09:43:53	192	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131395 AND customfield_value = 'stockable'
2019-12-18	09:43:53	192	[DEBUG]	Check product language entry
2019-12-18	09:43:53	192	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131396
2019-12-18	09:43:53	192	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320-noir' AND `virtuemart_product_id` != 131396
2019-12-18	09:43:53	192	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320-noir' AND `virtuemart_product_id` != 131396
2019-12-18	09:43:53	192	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131396, 'sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320-noir')
2019-12-18	09:43:53	192	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	192	[DEBUG]	Executed store
2019-12-18	09:43:53	192	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM BOITIER de pédalier BB30 Press Fit 30 68/92, BB30A, BBRight, BB386  (6320) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-boitier-de-pedalier-bb30-press-fit-30-68-92-bb30a-bbright-bb386-6320-noir' WHERE `virtuemart_product_id` = '131396'
2019-12-18	09:43:53	192	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/32203_boitier_de_pedalier_bb30_press_fit_30_68-92,_bb30a,_bbright,_bb386_.jpg has not been found.
2019-12-18	09:43:53	192	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	192	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131396 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	192	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	192	[DEBUG]	Executed store
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131396','0','64.9025069637883','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	192	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	192	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	192	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131396
2019-12-18	09:43:53	192	[DEBUG]	Load a row
2019-12-18	09:43:53	192	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	192	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:53	192	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	192	[DEBUG]	Executed store
2019-12-18	09:43:53	192	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2019-12-18	09:43:53	192	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	192	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2019-12-18	09:43:53	192	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	192	[DEBUG]	Executed store
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131396','35')
2019-12-18	09:43:53	192	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	192	[DEBUG]	Store custom available field
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131396,3,'',1)
2019-12-18	09:43:53	192	[DEBUG]	Checking category
2019-12-18	09:43:53	192	[DEBUG]	Delete old category references
2019-12-18	09:43:53	192	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131396
2019-12-18	09:43:53	192	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	192	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131396 AND `virtuemart_category_id`  = 11
2019-12-18	09:43:53	192	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	192	[DEBUG]	Add new category references
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131396','11','')
2019-12-18	09:43:53	192	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131396','11','')
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	193	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field override
2019-12-18	09:43:53	193	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:53	193	[DEBUG]	Process line 193
2019-12-18	09:43:53	193	[DEBUG]	Load a row
2019-12-18	09:43:53	193	[DEBUG]	Processing item: A_53_4
2019-12-18	09:43:53	193	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	193	[DEBUG]	Processing product tax
2019-12-18	09:43:53	193	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	193	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	193	[DEBUG]	Query for Product
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_53_4','2.87','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	193	[DEBUG]	Check product language entry
2019-12-18	09:43:53	193	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131397
2019-12-18	09:43:53	193	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53' AND `virtuemart_product_id` != 131397
2019-12-18	09:43:53	193	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53' AND `virtuemart_product_id` != 131397
2019-12-18	09:43:53	193	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131397, 'mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53')
2019-12-18	09:43:53	193	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1.6 X 1700 mm, 100 unités<br>N° art fourn : 98534',`product_name`='MLV-Bike Câbles de freins Route 1 unité 1.6 X 1700 mm (53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53' WHERE `virtuemart_product_id` = '131397'
2019-12-18	09:43:53	193	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_53.jpg
2019-12-18	09:43:53	193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004700470000
2019-12-18	09:43:53	193	[DEBUG]	Process image file
2019-12-18	09:43:53	193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004700470000
2019-12-18	09:43:53	193	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	193	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_53.jpg
2019-12-18	09:43:53	193	[DEBUG]	Full name target: images/stories/virtuemart/product/image_53.jpg
2019-12-18	09:43:53	193	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_53.jpg'
2019-12-18	09:43:53	193	[DEBUG]	Query for Media
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_53.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_53.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5077'
2019-12-18	09:43:53	193	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131397','5077','1')
2019-12-18	09:43:53	193	[DEBUG]	Store product image relation
2019-12-18	09:43:53	193	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	193	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131397 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	193	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131397','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	193	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	193	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	193	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131397
2019-12-18	09:43:53	193	[DEBUG]	Load a row
2019-12-18	09:43:53	193	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:53	193	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:53	193	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:53	193	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	193	[DEBUG]	Executed store
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131397','2')
2019-12-18	09:43:53	193	[DEBUG]	Find the custom field ID
2019-12-18	09:43:53	193	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:53	193	[DEBUG]	No custom field ID found
2019-12-18	09:43:53	193	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	193	[DEBUG]	Store custom available field
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131397,3,'269.150277777778',1)
2019-12-18	09:43:53	193	[DEBUG]	Checking category
2019-12-18	09:43:53	193	[DEBUG]	Check if category path exists: CABLES DE FREINS - BREMSKABEL
2019-12-18	09:43:53	193	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CABLES DE FREINS - BREMSKABEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2019-12-18	09:43:53	193	[DEBUG]	Check if category path exists: CABLES DE FREINS - BREMSKABEL
2019-12-18	09:43:53	193	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CABLES DE FREINS - BREMSKABEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 12
2019-12-18	09:43:53	193	[DEBUG]	Delete old category references
2019-12-18	09:43:53	193	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131397
2019-12-18	09:43:53	193	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	193	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131397 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	193	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	193	[DEBUG]	Add new category references
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131397','13','')
2019-12-18	09:43:53	193	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131397','13','')
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:53	194	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field override
2019-12-18	09:43:53	194	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:53	194	[DEBUG]	Process line 194
2019-12-18	09:43:53	194	[DEBUG]	Load a row
2019-12-18	09:43:53	194	[DEBUG]	Processing item: 1000000000535
2019-12-18	09:43:53	194	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:53	194	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:53	194	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_53_4'
2019-12-18	09:43:53	194	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	194	[DEBUG]	Processing product tax
2019-12-18	09:43:53	194	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	194	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	194	[DEBUG]	Query for Product
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131397','1000000000535','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	194	[DEBUG]	No parent found
2019-12-18	09:43:53	194	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131397 AND customfield_value = 'stockable'
2019-12-18	09:43:53	194	[DEBUG]	Check product language entry
2019-12-18	09:43:53	194	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131398
2019-12-18	09:43:53	194	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53-acier' AND `virtuemart_product_id` != 131398
2019-12-18	09:43:53	194	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53-acier' AND `virtuemart_product_id` != 131398
2019-12-18	09:43:53	194	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131398, 'mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53-acier')
2019-12-18	09:43:53	194	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Câbles de freins Route 1 unité 1.6 X 1700 mm (53) (Acier)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-cables-de-freins-route-1-unite-1-6-x-1700-mm-53-acier' WHERE `virtuemart_product_id` = '131398'
2019-12-18	09:43:53	194	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_53.jpg
2019-12-18	09:43:53	194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004700470000
2019-12-18	09:43:53	194	[DEBUG]	Process image file
2019-12-18	09:43:53	194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004700470000
2019-12-18	09:43:53	194	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	194	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_53.jpg
2019-12-18	09:43:53	194	[DEBUG]	Full name target: images/stories/virtuemart/product/image_53.jpg
2019-12-18	09:43:53	194	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_53.jpg'
2019-12-18	09:43:53	194	[DEBUG]	Query for Media
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_53.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_53.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5077'
2019-12-18	09:43:53	194	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131398','5077','1')
2019-12-18	09:43:53	194	[DEBUG]	Store product image relation
2019-12-18	09:43:53	194	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	194	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131398 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	194	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131398','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	194	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	194	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	194	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131398
2019-12-18	09:43:53	194	[DEBUG]	Load a row
2019-12-18	09:43:53	194	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:53	194	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2019-12-18	09:43:53	194	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2019-12-18	09:43:53	194	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	194	[DEBUG]	Executed store
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131398','2')
2019-12-18	09:43:53	194	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	194	[DEBUG]	Store custom available field
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131398,3,'',1)
2019-12-18	09:43:53	194	[DEBUG]	Checking category
2019-12-18	09:43:53	194	[DEBUG]	Delete old category references
2019-12-18	09:43:53	194	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131398
2019-12-18	09:43:53	194	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	194	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131398 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	194	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	194	[DEBUG]	Add new category references
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131398','13','')
2019-12-18	09:43:53	194	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131398','13','')
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	195	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field override
2019-12-18	09:43:53	195	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:53	195	[DEBUG]	Process line 195
2019-12-18	09:43:53	195	[DEBUG]	Load a row
2019-12-18	09:43:53	195	[DEBUG]	Processing item: A_357_1
2019-12-18	09:43:53	195	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	195	[DEBUG]	Processing product tax
2019-12-18	09:43:53	195	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	195	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	195	[DEBUG]	Query for Product
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_357_1','2.36','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	195	[DEBUG]	Check product language entry
2019-12-18	09:43:53	195	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131399
2019-12-18	09:43:53	195	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357' AND `virtuemart_product_id` != 131399
2019-12-18	09:43:53	195	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357' AND `virtuemart_product_id` != 131399
2019-12-18	09:43:53	195	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131399, 'msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357')
2019-12-18	09:43:53	195	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec téflon, câble de très haute qualité<br>N° art fourn : CF',`product_name`='MSC Câbles de freins VTT 1 unité Téflon 1.5 x 2100 mm (357)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357' WHERE `virtuemart_product_id` = '131399'
2019-12-18	09:43:53	195	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_399.jpg
2019-12-18	09:43:53	195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:53	195	[DEBUG]	Process image file
2019-12-18	09:43:53	195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:53	195	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	195	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_399.jpg
2019-12-18	09:43:53	195	[DEBUG]	Full name target: images/stories/virtuemart/product/image_399.jpg
2019-12-18	09:43:53	195	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_399.jpg'
2019-12-18	09:43:53	195	[DEBUG]	Query for Media
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_399.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_399.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5078'
2019-12-18	09:43:53	195	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131399','5078','1')
2019-12-18	09:43:53	195	[DEBUG]	Store product image relation
2019-12-18	09:43:53	195	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	195	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131399 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	195	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131399','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	195	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	195	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	195	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131399
2019-12-18	09:43:53	195	[DEBUG]	Load a row
2019-12-18	09:43:53	195	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	195	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	195	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:53	195	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	195	[DEBUG]	Executed store
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131399','32')
2019-12-18	09:43:53	195	[DEBUG]	Find the custom field ID
2019-12-18	09:43:53	195	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:53	195	[DEBUG]	No custom field ID found
2019-12-18	09:43:53	195	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	195	[DEBUG]	Store custom available field
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131399,3,'558.444444444444',1)
2019-12-18	09:43:53	195	[DEBUG]	Checking category
2019-12-18	09:43:53	195	[DEBUG]	Delete old category references
2019-12-18	09:43:53	195	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131399
2019-12-18	09:43:53	195	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	195	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131399 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	195	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	195	[DEBUG]	Add new category references
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131399','13','')
2019-12-18	09:43:53	195	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131399','13','')
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:53	196	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field override
2019-12-18	09:43:53	196	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:53	196	[DEBUG]	Process line 196
2019-12-18	09:43:53	196	[DEBUG]	Load a row
2019-12-18	09:43:53	196	[DEBUG]	Processing item: 1000000004267
2019-12-18	09:43:53	196	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:53	196	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:53	196	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_357_1'
2019-12-18	09:43:53	196	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	196	[DEBUG]	Processing product tax
2019-12-18	09:43:53	196	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	196	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	196	[DEBUG]	Query for Product
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131399','1000000004267','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	196	[DEBUG]	No parent found
2019-12-18	09:43:53	196	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131399 AND customfield_value = 'stockable'
2019-12-18	09:43:53	196	[DEBUG]	Check product language entry
2019-12-18	09:43:53	196	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131400
2019-12-18	09:43:53	196	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357-noir' AND `virtuemart_product_id` != 131400
2019-12-18	09:43:53	196	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357-noir' AND `virtuemart_product_id` != 131400
2019-12-18	09:43:53	196	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131400, 'msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357-noir')
2019-12-18	09:43:53	196	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Câbles de freins VTT 1 unité Téflon 1.5 x 2100 mm (357) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cables-de-freins-vtt-1-unite-teflon-1-5-x-2100-mm-357-noir' WHERE `virtuemart_product_id` = '131400'
2019-12-18	09:43:53	196	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_399.jpg
2019-12-18	09:43:53	196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:53	196	[DEBUG]	Process image file
2019-12-18	09:43:53	196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2019-12-18	09:43:53	196	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	196	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_399.jpg
2019-12-18	09:43:53	196	[DEBUG]	Full name target: images/stories/virtuemart/product/image_399.jpg
2019-12-18	09:43:53	196	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_399.jpg'
2019-12-18	09:43:53	196	[DEBUG]	Query for Media
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_399.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_399.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5078'
2019-12-18	09:43:53	196	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131400','5078','1')
2019-12-18	09:43:53	196	[DEBUG]	Store product image relation
2019-12-18	09:43:53	196	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	196	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131400 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	196	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131400','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	196	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	196	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	196	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131400
2019-12-18	09:43:53	196	[DEBUG]	Load a row
2019-12-18	09:43:53	196	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	196	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	196	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:53	196	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	196	[DEBUG]	Executed store
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131400','32')
2019-12-18	09:43:53	196	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	196	[DEBUG]	Store custom available field
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131400,3,'',1)
2019-12-18	09:43:53	196	[DEBUG]	Checking category
2019-12-18	09:43:53	196	[DEBUG]	Delete old category references
2019-12-18	09:43:53	196	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131400
2019-12-18	09:43:53	196	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	196	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131400 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	196	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	196	[DEBUG]	Add new category references
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131400','13','')
2019-12-18	09:43:53	196	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131400','13','')
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	197	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field override
2019-12-18	09:43:53	197	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:53	197	[DEBUG]	Process line 197
2019-12-18	09:43:53	197	[DEBUG]	Load a row
2019-12-18	09:43:53	197	[DEBUG]	Processing item: A_1147_1
2019-12-18	09:43:53	197	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	197	[DEBUG]	Processing product tax
2019-12-18	09:43:53	197	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	197	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	197	[DEBUG]	Query for Product
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1147_1','2.85','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	197	[DEBUG]	Check product language entry
2019-12-18	09:43:53	197	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131401
2019-12-18	09:43:53	197	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147' AND `virtuemart_product_id` != 131401
2019-12-18	09:43:53	197	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147' AND `virtuemart_product_id` != 131401
2019-12-18	09:43:53	197	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131401, 'msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147')
2019-12-18	09:43:53	197	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1.6 x 1700 mm, 100 unités<br>N° art fourn : YFB1603',`product_name`='MSC Câbles de freins VTT 1 unité 1.6x1700mm (1147)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147' WHERE `virtuemart_product_id` = '131401'
2019-12-18	09:43:53	197	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_1472.jpg
2019-12-18	09:43:53	197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:53	197	[DEBUG]	Process image file
2019-12-18	09:43:53	197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:53	197	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	197	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_1472.jpg
2019-12-18	09:43:53	197	[DEBUG]	Full name target: images/stories/virtuemart/product/image_1472.jpg
2019-12-18	09:43:53	197	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_1472.jpg'
2019-12-18	09:43:53	197	[DEBUG]	Query for Media
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_1472.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_1472.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5079'
2019-12-18	09:43:53	197	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131401','5079','1')
2019-12-18	09:43:53	197	[DEBUG]	Store product image relation
2019-12-18	09:43:53	197	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	197	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131401 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	197	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131401','0','4.54967502321263','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	197	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	197	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	197	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131401
2019-12-18	09:43:53	197	[DEBUG]	Load a row
2019-12-18	09:43:53	197	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	197	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	197	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:53	197	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	197	[DEBUG]	Executed store
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131401','32')
2019-12-18	09:43:53	197	[DEBUG]	Find the custom field ID
2019-12-18	09:43:53	197	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:53	197	[DEBUG]	No custom field ID found
2019-12-18	09:43:53	197	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	197	[DEBUG]	Store custom available field
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131401,3,'239.233611111111',1)
2019-12-18	09:43:53	197	[DEBUG]	Checking category
2019-12-18	09:43:53	197	[DEBUG]	Delete old category references
2019-12-18	09:43:53	197	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131401
2019-12-18	09:43:53	197	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	197	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131401 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	197	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	197	[DEBUG]	Add new category references
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131401','13','')
2019-12-18	09:43:53	197	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131401','13','')
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:53	198	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field override
2019-12-18	09:43:53	198	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:53	198	[DEBUG]	Process line 198
2019-12-18	09:43:53	198	[DEBUG]	Load a row
2019-12-18	09:43:53	198	[DEBUG]	Processing item: 1000000015874
2019-12-18	09:43:53	198	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:53	198	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:53	198	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1147_1'
2019-12-18	09:43:53	198	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	198	[DEBUG]	Processing product tax
2019-12-18	09:43:53	198	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	198	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	198	[DEBUG]	Query for Product
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131401','1000000015874','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	198	[DEBUG]	No parent found
2019-12-18	09:43:53	198	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131401 AND customfield_value = 'stockable'
2019-12-18	09:43:53	198	[DEBUG]	Check product language entry
2019-12-18	09:43:53	198	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131402
2019-12-18	09:43:53	198	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147-noir' AND `virtuemart_product_id` != 131402
2019-12-18	09:43:53	198	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147-noir' AND `virtuemart_product_id` != 131402
2019-12-18	09:43:53	198	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131402, 'msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147-noir')
2019-12-18	09:43:53	198	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Câbles de freins VTT 1 unité 1.6x1700mm (1147) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cables-de-freins-vtt-1-unite-1-6x1700mm-1147-noir' WHERE `virtuemart_product_id` = '131402'
2019-12-18	09:43:53	198	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_1472.jpg
2019-12-18	09:43:53	198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:53	198	[DEBUG]	Process image file
2019-12-18	09:43:53	198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2019-12-18	09:43:53	198	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	198	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_1472.jpg
2019-12-18	09:43:53	198	[DEBUG]	Full name target: images/stories/virtuemart/product/image_1472.jpg
2019-12-18	09:43:53	198	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_1472.jpg'
2019-12-18	09:43:53	198	[DEBUG]	Query for Media
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_1472.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_1472.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5079'
2019-12-18	09:43:53	198	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131402','5079','1')
2019-12-18	09:43:53	198	[DEBUG]	Store product image relation
2019-12-18	09:43:53	198	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	198	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131402 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	198	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131402','0','4.54967502321263','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	198	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	198	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	198	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131402
2019-12-18	09:43:53	198	[DEBUG]	Load a row
2019-12-18	09:43:53	198	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	198	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	198	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:53	198	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	198	[DEBUG]	Executed store
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131402','32')
2019-12-18	09:43:53	198	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	198	[DEBUG]	Store custom available field
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131402,3,'',1)
2019-12-18	09:43:53	198	[DEBUG]	Checking category
2019-12-18	09:43:53	198	[DEBUG]	Delete old category references
2019-12-18	09:43:53	198	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131402
2019-12-18	09:43:53	198	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	198	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131402 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	198	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	198	[DEBUG]	Add new category references
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131402','13','')
2019-12-18	09:43:53	198	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131402','13','')
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field product_parent_sku
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_s_desc
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field product_in_stock
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field product_weight
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	199	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field custom_title
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field custom_param
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field override
2019-12-18	09:43:53	199	[DEBUG]	Use field value for field public_price
2019-12-18	09:43:53	199	[DEBUG]	Process line 199
2019-12-18	09:43:53	199	[DEBUG]	Load a row
2019-12-18	09:43:53	199	[DEBUG]	Processing item: A_1513_1
2019-12-18	09:43:53	199	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	199	[DEBUG]	Processing product tax
2019-12-18	09:43:53	199	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	199	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	199	[DEBUG]	Query for Product
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','0','A_1513_1','0.9','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','0','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	199	[DEBUG]	Check product language entry
2019-12-18	09:43:53	199	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131403
2019-12-18	09:43:53	199	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513' AND `virtuemart_product_id` != 131403
2019-12-18	09:43:53	199	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513' AND `virtuemart_product_id` != 131403
2019-12-18	09:43:53	199	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131403, 'msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513')
2019-12-18	09:43:53	199	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Câbles de freins Téflon route noirs, 50 unités, 1.5 x 2100 mm<br>N° art fourn : CFC',`product_name`='MSC Câbles de freins Route Téflon 1.5 x 2000 mm, 50 unités (1513)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513' WHERE `virtuemart_product_id` = '131403'
2019-12-18	09:43:53	199	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3462.jpg
2019-12-18	09:43:53	199	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:53	199	[DEBUG]	Process image file
2019-12-18	09:43:53	199	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:53	199	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	199	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3462.jpg
2019-12-18	09:43:53	199	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3462.jpg
2019-12-18	09:43:53	199	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3462.jpg'
2019-12-18	09:43:53	199	[DEBUG]	Query for Media
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3462.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3462.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='0',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5082'
2019-12-18	09:43:53	199	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131403','5082','1')
2019-12-18	09:43:53	199	[DEBUG]	Store product image relation
2019-12-18	09:43:53	199	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	199	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131403 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	199	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131403','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	199	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	199	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	199	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131403
2019-12-18	09:43:53	199	[DEBUG]	Load a row
2019-12-18	09:43:53	199	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	199	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	199	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:53	199	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	199	[DEBUG]	Executed store
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131403','32')
2019-12-18	09:43:53	199	[DEBUG]	Find the custom field ID
2019-12-18	09:43:53	199	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2019-12-18	09:43:53	199	[DEBUG]	No custom field ID found
2019-12-18	09:43:53	199	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	199	[DEBUG]	Store custom available field
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131403,3,'279.1225',1)
2019-12-18	09:43:53	199	[DEBUG]	Checking category
2019-12-18	09:43:53	199	[DEBUG]	Delete old category references
2019-12-18	09:43:53	199	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131403
2019-12-18	09:43:53	199	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	199	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131403 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	199	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	199	[DEBUG]	Add new category references
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131403','13','')
2019-12-18	09:43:53	199	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131403','13','')
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_sku
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_parent_sku
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_name
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field category_path
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_price
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field product_override_price
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_tax
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field file_url
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field product_s_desc
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field product_desc
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_in_stock
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field product_availability
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field product_weight
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field product_unit
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field related_products
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field product_special
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field manufacturer_name
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field manufacturer_id
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field published
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field metadesc
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field metakey
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field custom_title
2019-12-18	09:43:53	200	[DEBUG]	Use field value for field custom_value
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field custom_param
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field override
2019-12-18	09:43:53	200	[DEBUG]	Use default value for field public_price
2019-12-18	09:43:53	200	[DEBUG]	Process line 200
2019-12-18	09:43:53	200	[DEBUG]	Load a row
2019-12-18	09:43:53	200	[DEBUG]	Processing item: 1000000026481
2019-12-18	09:43:53	200	[DEBUG]	Looking for parent SKU
2019-12-18	09:43:53	200	[DEBUG]	Checking product parent SKU
2019-12-18	09:43:53	200	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1513_1'
2019-12-18	09:43:53	200	[DEBUG]	Product tax: 7.7
2019-12-18	09:43:53	200	[DEBUG]	Processing product tax
2019-12-18	09:43:53	200	[DEBUG]	Check if calculation rule exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' AND (`publish_up` = '0000-00-00 00:00:00' OR `publish_up` = '1970-01-01 00:00:00') AND (`publish_down` = '0000-00-00 00:00:00' OR `publish_down` = '1970-01-01 00:00:00') GROUP BY `c`.`virtuemart_calc_id`
2019-12-18	09:43:53	200	[DEBUG]	Found multiple calculation rules, using the first one. This is 2
2019-12-18	09:43:53	200	[DEBUG]	Query for Product
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_length`,`product_width`,`product_height`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_available_date`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1','131403','1000000026481','0','KG','0','0','0','M','','0','0','0','0','0000-00-00 00:00:00','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|product_box=\"\"|','0','','','','0','1','0','2019-12-18 09:43:37','1593','2019-12-18 09:43:37','1593','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	200	[DEBUG]	No parent found
2019-12-18	09:43:53	200	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 131403 AND customfield_value = 'stockable'
2019-12-18	09:43:53	200	[DEBUG]	Check product language entry
2019-12-18	09:43:53	200	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 131404
2019-12-18	09:43:53	200	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513-noir' AND `virtuemart_product_id` != 131404
2019-12-18	09:43:53	200	[DEBUG]	Check if the product slug exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513-noir' AND `virtuemart_product_id` != 131404
2019-12-18	09:43:53	200	[DEBUG]	Insert the dummy entry for the product language
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (131404, 'msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513-noir')
2019-12-18	09:43:53	200	[DEBUG]	Query for ProductLang
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Câbles de freins Route Téflon 1.5 x 2000 mm, 50 unités (1513) (Noir)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cables-de-freins-route-teflon-1-5-x-2000-mm-50-unites-1513-noir' WHERE `virtuemart_product_id` = '131404'
2019-12-18	09:43:53	200	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3462.jpg
2019-12-18	09:43:53	200	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:53	200	[DEBUG]	Process image file
2019-12-18	09:43:53	200	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2019-12-18	09:43:53	200	[DEBUG]	Mime type found: image/jpeg
2019-12-18	09:43:53	200	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/2020.fabien-bike.ch/images/stories/virtuemart/product/image_3462.jpg
2019-12-18	09:43:53	200	[DEBUG]	Full name target: images/stories/virtuemart/product/image_3462.jpg
2019-12-18	09:43:53	200	[DEBUG]	Checking if the file_url exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'images/stories/virtuemart/product/image_3462.jpg'
2019-12-18	09:43:53	200	[DEBUG]	Query for Media
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='images/stories/virtuemart/product/image_3462.jpg',`file_url_thumb`='images/stories/virtuemart/product/image_3462.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_on`='0000-00-00 00:00:00',`created_by`='0',`modified_on`='0000-00-00 00:00:00',`modified_by`='0',`locked_on`='0000-00-00 00:00:00',`locked_by`='0' WHERE `virtuemart_media_id` = '5082'
2019-12-18	09:43:53	200	[DEBUG]	Query for ProductMedia
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('131404','5082','1')
2019-12-18	09:43:53	200	[DEBUG]	Store product image relation
2019-12-18	09:43:53	200	[DEBUG]	Finding a product_price_id
2019-12-18	09:43:53	200	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 131404 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND `product_price_publish_up` = '0000-00-00 00:00:00' AND `product_price_publish_down` = '0000-00-00 00:00:00'
2019-12-18	09:43:53	200	[DEBUG]	Query for ProductPrice
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('131404','0','6.4066852367688','0','2','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','0')
2019-12-18	09:43:53	200	[DEBUG]	Checking manufacturer
2019-12-18	09:43:53	200	[DEBUG]	Delete product manufacturer references
2019-12-18	09:43:53	200	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_manufacturers` WHERE `virtuemart_product_id` = 131404
2019-12-18	09:43:53	200	[DEBUG]	Load a row
2019-12-18	09:43:53	200	[DEBUG]	Manufacturer already exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT * FROM mlvbch_virtuemart_manufacturers_fr_fr WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	200	[DEBUG]	Query for ManufacturerLang
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2019-12-18	09:43:53	200	[DEBUG]	Manufacturer exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2019-12-18	09:43:53	200	[DEBUG]	Query for ProductManufacturer
2019-12-18	09:43:53	200	[DEBUG]	Executed store
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('131404','32')
2019-12-18	09:43:53	200	[DEBUG]	Processing custom available field: public_price
2019-12-18	09:43:53	200	[DEBUG]	Store custom available field
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (131404,3,'',1)
2019-12-18	09:43:53	200	[DEBUG]	Checking category
2019-12-18	09:43:53	200	[DEBUG]	Delete old category references
2019-12-18	09:43:53	200	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 131404
2019-12-18	09:43:53	200	[DEBUG]	Check if a category reference already exists
2019-12-18	09:43:53	200	[QUERY]	 SELECT COUNT(*) AS total FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id`  = 131404 AND `virtuemart_category_id`  = 13
2019-12-18	09:43:53	200	[DEBUG]	Category reference does not exist yet
2019-12-18	09:43:53	200	[DEBUG]	Add new category references
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131404','13','')
2019-12-18	09:43:53	200	[ADD]	VirtueMart Product Category Reference added
2019-12-18	09:43:53	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`virtuemart_product_id`,`virtuemart_category_id`,`ordering`) VALUES  ('131404','13','')
