Guest User

Untitled

a guest
Nov 19th, 2019
111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (1/1) PrestaShopDatabaseException
  2. Duplicate entry '0-1' for key 'PRIMARY'<br /><br /><pre>INSERT INTO `ps_product_shop` (`id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`, `id_product`, `id_shop`) VALUES ('0', '1', '0', '0', '0', '1', NULL, '0', '888.88', '0', '', '0', '0', '0', '0', '0', '1', '', '0', '1', '0000-00-00', '0', 'new', '1', '0', 'both', '0', '0', '2019-11-19 16:36:48', '2019-11-19 16:36:48', '3', '0', '1')</pre>
  3.  
  4. in Db.php line 746
  5. at DbCore->displayError('INSERT INTO `ps_product_shop` (`id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`, `id_product`, `id_shop`) VALUES (\'0\', \'1\', \'0\', \'0\', \'0\', \'1\', NULL, \'0\', \'888.88\', \'0\', \'\', \'0\', \'0\', \'0\', \'0\', \'0\', \'1\', \'\', \'0\', \'1\', \'0000-00-00\', \'0\', \'new\', \'1\', \'0\', \'both\', \'0\', \'0\', \'2019-11-19 16:36:48\', \'2019-11-19 16:36:48\', \'3\', \'0\', \'1\')')
  6. in Db.php line 378
  7. at DbCore->query('INSERT INTO `ps_product_shop` (`id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`, `id_product`, `id_shop`) VALUES (\'0\', \'1\', \'0\', \'0\', \'0\', \'1\', NULL, \'0\', \'888.88\', \'0\', \'\', \'0\', \'0\', \'0\', \'0\', \'0\', \'1\', \'\', \'0\', \'1\', \'0000-00-00\', \'0\', \'new\', \'1\', \'0\', \'both\', \'0\', \'0\', \'2019-11-19 16:36:48\', \'2019-11-19 16:36:48\', \'3\', \'0\', \'1\')')
  8. in Db.php line 718
  9. at DbCore->q('INSERT INTO `ps_product_shop` (`id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`, `id_product`, `id_shop`) VALUES (\'0\', \'1\', \'0\', \'0\', \'0\', \'1\', NULL, \'0\', \'888.88\', \'0\', \'\', \'0\', \'0\', \'0\', \'0\', \'0\', \'1\', \'\', \'0\', \'1\', \'0000-00-00\', \'0\', \'new\', \'1\', \'0\', \'both\', \'0\', \'0\', \'2019-11-19 16:36:48\', \'2019-11-19 16:36:48\', \'3\', \'0\', \'1\')', true)
  10. in Db.php line 467
  11. at DbCore->insert('ps_product_shop', array(array('id_category_default' => 0, 'id_tax_rules_group' => 1, 'on_sale' => 0, 'online_only' => 0, 'ecotax' => 0.0, 'minimal_quantity' => 1, 'low_stock_threshold' => array('type' => 'sql', 'value' => 'NULL'), 'low_stock_alert' => 0, 'price' => 888.88, 'wholesale_price' => 0.0, 'unity' => '', 'unit_price_ratio' => 0, 'additional_shipping_cost' => 0.0, 'customizable' => 0, 'text_fields' => 0, 'uploadable_files' => 0, 'active' => 1, 'redirect_type' => '', 'id_type_redirected' => 0, 'available_for_order' => 1, 'available_date' => '0000-00-00', 'show_condition' => 0, 'condition' => 'new', 'show_price' => 1, 'indexed' => 0, 'visibility' => 'both', 'cache_default_attribute' => 0, 'advanced_stock_management' => 0, 'date_add' => '2019-11-19 16:36:48', 'date_upd' => '2019-11-19 16:36:48', 'pack_stock_type' => 3, 'id_product' => 0, 'id_shop' => 1)), false)
  12. in ObjectModel.php line 723
  13. at ObjectModelCore->update(false)
  14. in Product.php line 622
  15. at ProductCore->update()
  16. in TisaPrice.php line 17
RAW Paste Data