Jump to content

Recommended Posts

post-642230-0-28425800-1398426995_thumb.jpg

 

I'm getting the following error when I try to record product combinations.

 

I contacted my server and they found the following errors. Does anyone know what might be causing this and how to fix it?

 

PHP Fatal error:  Uncaught Duplicate entry '706-52196' for key 'PRIMARY'
INSERT INTO ps_product_attribute_combination (`id_attribute` ,`id_product_attribute`) VALUES  (706,52196) , (633,52196) 
 
thrown in classes/db/Db.php on line 607
 
PHP Fatal error:  Uncaught Duplicate entry '706-52196' for key 'PRIMARY'
INSERT INTO ps_product_attribute_combination (`id_attribute` ,`id_product_attribute`) VALUES  (706,52196) , (633,52196) 
 
thrown in classes/db/Db.php on line 607
 
(END) debug2: channel 1: window 998600 sent adjust 49976
 
your IDs are doubled in the database 
 
mysql> select * from ps_product_attribute_combination where id_attribute='706' and id_product_attribute='52196';
 
+--------------+----------------------+
| id_attribute | id_product_attribute |
+--------------+----------------------+
|          706 |                52196 |
+--------------+----------------------+
 
Link to comment
Share on other sites

×
×
  • Create New...