Jump to content
Sign in to follow this  
MikeG

Petites erreurs de Duplicate entry lors de la MAJ

Recommended Posts

Bonjour,

La mise a jour vers la dernière version (1.2.4) se passe pas trop mal, a part 3 petites erreurs qui ne semblent pas trop affecter la boutique, mais que j'aimerai quand meme fixer.


INSERT INTO `ps_order_state` (`id_order_state`, `invoice`, `send_email`, `color`, `unremovable`, `logable`, `delivery`) VALUES (11, 0, 0, 'lightblue', 1, 0, 0)
(1062) Duplicate entry '11' for key 1


INSERT INTO `ps_order_state_lang` (`id_order_state`, `id_lang`, `name`, `template`) VALUES (11, 1, 'Awaiting PayPal payment', '')
(1062) Duplicate entry '11-1' for key 1


INSERT INTO `ps_order_state_lang` (`id_order_state`, `id_lang`, `name`, `template`) VALUES (11, 2, 'En attente du paiement par PayPal', '')
(1062) Duplicate entry '11-2' for key 1


J'ai donc regardé la base, et effectivement, les données existent déjà.

Pour la table ps_order_state :
11 0 0 0 0 0 0

Pour la table ps_order_state_lang :
11 1 erreur retour
11 2 erreur retour
12 1 retenue douaniere
12 2 retenue douaniere
13 1 envoi Retour SAV
13 2 envoi Retour SAV

Que faire ? Remplacer ces lignes par les nouvelles ? Ou plutot les rajouter aux tables ?

Merci

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More