Jump to content

Fehlermeldung nach Artikel Duplizieren Presta 1.6.1.1


WOS08

Recommended Posts

Seit gestern Abend wird mir folgende Fehlermeldung angezeigt, nachdem ich ein Artikel Dubliziere :

 

Duplicate entry '0-3453-1-0-1-0-0-0-0-1-6-2016-10-21 12:03:40-2016-10-23
23:59:00' for key 'id_product_2'

INSERT INTO `ps_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', '3453', '0',
'1', '6', '0', '0', '0', '-1', '1', '0.2', '1', 'percentage',
'2016-10-21 12:03:40', '2016-10-23 23:59:00')

 

Hatte das Problem schon jemand mal ?

 

Der Artikel lässt sich zwar dann teils bearbeiten aber Änderungen werden nicht übernommen, Bspweise Artikel Beschreibung.

 

Hoffe einer von euch hatte dieses Problem schon einmal beheben können.

 

MFG Pascal Otten

Link to comment
Share on other sites

Das ist ein Bug in dieser Version von Prestashop. Es gibt jetzt zwei Möglichkeiten:

 

1. Upgrade auf die aktuelle Version

2. Manuelle Änderung der Datenbank mithilfe von Phpmyadmin wie folgt:

Im Tab SQL nacheinander folgende Befehle eingeben und mit Klick auf Button GO abschließen:

ALTER TABLE `ps_specific_pric` ENGINE=MyISAM;
ALTER IGNORE TABLE `ps_specific_price` ADD UNIQUE KEY `id_product_2` (`id_cart`, id_product`,`id_shop`,`id_shop_group`,`id_currency`,`id_country`,`id_group`,`id_customer`,`id_product_attribute`,`from_quantity`,`id_specific_price_rule`,`from`,`to`);
Dann sollte es eigentlich funktionieren.
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...