Jump to content

Mise à jour 1.6.0.14 vers 1.6.1.24 : Erreurs


Recommended Posts

Bonjour,

Je viens de faire une mise à jour de mon site en local avec le module Prestashop : 1.6.0.14 -> 1.6.1.24

Une fois la mise à jour terminée, le module m'affiche une 'petite' liste des erreurs rencontrées. Je ne suis pas capable d'interpréter ces erreurs et donc de les corriger. Ni même de savoir si elles ont une incidence ou pas sur le fonctionnement du site. Est-ce que quelqu'un(e) pourrait m'aider ? Merci

Liste des erreurs :

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_cart_product` ADD PRIMARY KEY (`id_cart`,`id_product`,`id_product_attribute`,`id_address_delivery`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_cart_product` ADD PRIMARY KEY (`id_cart`,`id_product`,`id_produ' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_customization` ADD KEY `id_cart_product` (`id_cart`, `id_product`, `id_product_attribute`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_customization` ADD KEY `id_cart_product` (`id_cart`, `id_produc' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_image_shop` DROP KEY `id_image`, ADD PRIMARY KEY (`id_image`, `id_shop`, `cover`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_image_shop` DROP KEY `id_image`, ADD PRIMARY KEY (`id_image`, `' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_image_shop` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_image`, `id_shop`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_image_shop` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_image`, `id_' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_image` ADD UNIQUE KEY `id_product_cover` (`id_product`,`cover`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_image` ADD UNIQUE KEY `id_product_cover` (`id_product`,`cover`)' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_image_shop` ADD UNIQUE KEY `id_product` (`id_product`, `id_shop`, `cover`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_image_shop` ADD UNIQUE KEY `id_product` (`id_product`, `id_shop' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_product_attribute` ADD UNIQUE KEY `product_default` (`id_product`,`default_on`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_product_attribute` ADD UNIQUE KEY `product_default` (`id_produc' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_product_attribute_shop` ADD UNIQUE KEY `id_product` (`id_product`, `id_shop`, `default_on`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_product_attribute_shop` ADD UNIQUE KEY `id_product` (`id_produc' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_product_download` ADD UNIQUE KEY `id_product` (`id_product`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_product_download` ADD UNIQUE KEY `id_product` (`id_product`)' at line 1

 

SQL 1.6.1.0 1064 in ALTER IGNORE TABLE `fp_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`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `fp_specific_price` ADD UNIQUE KEY `id_product_2` (`id_cart`, `id_p' at line 1

Link to comment
Share on other sites

Bonjour,

Merci pour votre réponse.

D'après les infos que vous m'avez invité à consulter, je comprends que cette clause n'est plus utilisée avec MySQL 5.7.
Effectivement, ma base de données a été impotée depuis mon hébergement où la version MySQL est 5.6. Alors que la version MySQL sur mon serveur en local est en 5.7

Par contre, je ne ai pas compris l'utilité de la clause IGNORE. Et donc, je ne sais pas quelles sont les conséquences de son abandon en MySQL 5.7 sur la mise à jour de mon site. Dois-je modifier la version de mon MySQL local en le passant en 5.6 ?

Merci,
Florent

 

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...