SAM770 Posted August 9, 2017 Share Posted August 9, 2017 BonjourJe souhaite dupliquer un produit a chaque fois j'ai l'erreur suivante sans que les photos soit copiés.Merci de votre aidecordialement"Cette page ne fonctionne pasImpossible de traiter cette demande via chloly.fr à l'heure actuelle.HTTP ERROR 500 "mode debug:Whoops, looks like something went wrong.1/1PrestaShopDatabaseException in Db.php line 744:Duplicate entry '46-0-0-0-2017-08-03 00:00:00-2017-12-31 00:00:00-1-0-1-0-0-1-1' for key 'id_product_2'<br /><br /><pre>INSERT INTO `zv84_specific_price` (`id_shop_group`, `id_shop`, `id_cart`, `id_product`, `id_product_attribute`, `id_currency`, `id_specific_price_rule`, `id_country`, `id_group`, `id_customer`, `price`, `from_quantity`, `reduction`, `reduction_tax`, `reduction_type`, `from`, `to`) VALUES ('0', '1', '0', '46', '0', '1', '1', '0', '0', '0', '-1', '1', '0.5', '1', 'percentage', '2017-08-03 00:00:00', '2017-12-31 00:00:00')</pre>in Db.php line 744at DbCore->displayError('INSERT INTO `zv84_specific_price` (`id_shop_group`, `id_shop`, `id_cart`, `id_product`, `id_product_attribute`, `id_currency`, `id_specific_price_rule`, `id_country`, `id_group`, `id_customer`, `price`, `from_quantity`, `reduction`, `reduction_tax`, `reduction_type`, `from`, `to`) VALUES ('0', '1', '0', '46', '0', '1', '1', '0', '0', '0', '-1', '1', '0.5', '1', 'percentage', '2017-08-03 00:00:00', '2017-12-31 00:00:00')') in Db.php line 378at DbCore->query('INSERT INTO `zv84_specific_price` (`id_shop_group`, `id_shop`, `id_cart`, `id_product`, `id_product_attribute`, `id_currency`, `id_specific_price_rule`, `id_country`, `id_group`, `id_customer`, `price`, `from_quantity`, `reduction`, `reduction_tax`, `reduction_type`, `from`, `to`) VALUES ('0', '1', '0', '46', '0', '1', '1', '0', '0', '0', '-1', '1', '0.5', '1', 'percentage', '2017-08-03 00:00:00', '2017-12-31 00:00:00')') in Db.php line 716at DbCore->q('INSERT INTO `zv84_specific_price` (`id_shop_group`, `id_shop`, `id_cart`, `id_product`, `id_product_attribute`, `id_currency`, `id_specific_price_rule`, `id_country`, `id_group`, `id_customer`, `price`, `from_quantity`, `reduction`, `reduction_tax`, `reduction_type`, `from`, `to`) VALUES ('0', '1', '0', '46', '0', '1', '1', '0', '0', '0', '-1', '1', '0.5', '1', 'percentage', '2017-08-03 00:00:00', '2017-12-31 00:00:00')', true) in Db.php line 467at DbCore->insert('zv84_specific_price', array(array('id_shop_group' => '0', 'id_shop' => '1', 'id_cart' => '0', 'id_product' => '46', 'id_product_attribute' => '0', 'id_currency' => '1', 'id_specific_price_rule' => '1', 'id_country' => '0', 'id_group' => '0', 'id_customer' => '0', 'price' => '-1', 'from_quantity' => '1', 'reduction' => '0.5', 'reduction_tax' => '1', 'reduction_type' => 'percentage', 'from' => '2017-08-03 00:00:00', 'to' => '2017-12-31 00:00:00')), false) in ObjectModel.php line 518at ObjectModelCore->add(true, false) in SpecificPrice.php line 98at SpecificPriceCore->add() in SpecificPrice.php line 504at SpecificPriceCore->duplicate('46') in Product.php line 4206at ProductCore::duplicateSpecificPrices('2', '46') in AdminProductDataUpdater.php line 187at AdminProductDataUpdater->duplicateProduct('2') in ProductController.php line 812at ProductController->unitAction('duplicate', '2')at call_user_func_array(array(object(ProductController), 'unitAction'), array('duplicate', '2')) in bootstrap.php.cache line 3247at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562at Kernel->handle(object(Request), '1', false) in index.php line 86 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now