Jump to content

Dupliquer produit: HTTP ERROR 500


SAM770

Recommended Posts

Bonjour
Je souhaite dupliquer un produit a chaque fois j'ai l'erreur suivante sans que les photos soit copiés.
Merci de votre aide

cordialement

"Cette page ne fonctionne pas

Impossible de traiter cette demande via chloly.fr à l'heure actuelle.
HTTP ERROR 500 "

mode debug:
Whoops, looks like something went wrong.

1/1
PrestaShopDatabaseException 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 744
at 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 378
at 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 716
at 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 467
at 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 518
at ObjectModelCore->add(true, false) in SpecificPrice.php line 98
at SpecificPriceCore->add() in SpecificPrice.php line 504
at SpecificPriceCore->duplicate('46') in Product.php line 4206
at ProductCore::duplicateSpecificPrices('2', '46') in AdminProductDataUpdater.php line 187
at AdminProductDataUpdater->duplicateProduct('2') in ProductController.php line 812
at ProductController->unitAction('duplicate', '2')
at call_user_func_array(array(object(ProductController), 'unitAction'), array('duplicate', '2')) in bootstrap.php.cache line 3247
at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206
at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360
at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562
at Kernel->handle(object(Request), '1', false) in index.php line 86
 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...