susan767 Posted January 26, 2009 Share Posted January 26, 2009 Hi, I'm trying to install Product Sort v1.7 contribution http://addons.oscommerce.com/info/911 and having problem right off the bat. When I run the following product_sort.sql, ALTER TABLE products ADD `products_sort_order` INT(3); INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (263, 'Display Product Sort Order', 'PRODUCT_SORT_ORDER', '0', 'Do you want to display the Product Sort Order column?', 8, 29, '', '', NULL, NULL); I get the "#1062 - Duplicate entry '263' for key 1" error message. Your help would be greatly appreciated, Susasn Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted February 4, 2009 Share Posted February 4, 2009 (edited) Hi, I'm trying to install Product Sort v1.7 contribution http://addons.oscommerce.com/info/911 and having problem right off the bat. When I run the following product_sort.sql, ALTER TABLE products ADD `products_sort_order` INT(3); INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (263, 'Display Product Sort Order', 'PRODUCT_SORT_ORDER', '0', 'Do you want to display the Product Sort Order column?', 8, 29, '', '', NULL, NULL); I get the "#1062 - Duplicate entry '263' for key 1" error message. Your help would be greatly appreciated, Susasn it means there is already an entry in your database for id=263 - just change the id in your sql statement to another number, like 432 or something and you should be fine. alternatively just leave it blank '' and it will pick the next available id. Scott Edited February 4, 2009 by olsonsp4c Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
susan767 Posted February 5, 2009 Author Share Posted February 5, 2009 it means there is already an entry in your database for id=263 - just change the id in your sql statement to another number, like 432 or something and you should be fine. alternatively just leave it blank '' and it will pick the next available id. Scott Thank you very much Scott. I really appreciate your help. Susan 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.