JonCloud Posted December 11, 2003 Share Posted December 11, 2003 B) Hello, I searched the forums first but couldnt find my answer. Hopefully someone can help out. I get this error message in admin when I try to cross sell products. Anyone recognize it? I think everything else works, so maybe fixing this is all I have to do. 1062 - Duplicate entry '1' for key 1 INSERT INTO products_xsell VALUES ('',4,2062,1) [TEP STOP] I will appreciate any advice. Thanks, Jason Quote Link to comment Share on other sites More sharing options...
JonCloud Posted December 11, 2003 Author Share Posted December 11, 2003 I flushed the database with DROP TABLE IF EXISTS products_xsell; CREATE TABLE products_xsell ( ID int(10) NOT NULL auto_increment, products_id int(10) unsigned NOT NULL default '1', xsell_id int(10) unsigned NOT NULL default '1', sort_order int(10) unsigned NOT NULL default '1', PRIMARY KEY (ID) ) TYPE=MyISAM; And that fixed it! J Quote Link to comment Share on other sites More sharing options...
slimchick Posted March 15, 2004 Share Posted March 15, 2004 A HUGE THANK-YOU for posting this fix!!!!! I had the exact same problem and your post fixedmy headache!!! Thanks!! Pam Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.