racespec Posted July 4, 2007 Share Posted July 4, 2007 Hello All I was attempting to duplicate a product, rather than rewriting the entire description again but i kept getting this error 1062 - Duplicate entry '0-164' for key 1 insert into products_to_categories (products_id, categories_id) values ('0', '164') [TEP STOP] I have SPPC installed and other contributions, have others come across this Thanks Tarek RACESPEC Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2007 Share Posted July 4, 2007 You have left something the same with the descriptions that should NOT be the same. The DB table is like an excel spreadsheet with a lot of rows. Each row has to be a different number. You are trying to add something to the same row or insert a product with the exact same name into another row. Try changing the row number you are inserting it into or change the product name slightly. Link to comment Share on other sites More sharing options...
racespec Posted July 5, 2007 Author Share Posted July 5, 2007 You have left something the same with the descriptions that should NOT be the same. The DB table is like an excel spreadsheet with a lot of rows. Each row has to be a different number. You are trying to add something to the same row or insert a product with the exact same name into another row. Try changing the row number you are inserting it into or change the product name slightly. What i am doing is duplicating a product in the same section, then modify it, rather that having to rewrite the description all over again Thanks Tarek RACESPEC Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.