Zen Cart New Product Error: 1062 Duplicate entry ’2147483647′ for key ‘PRIMARY’
Posted by alex in ErrorsA client of mine contacted me earlier because he was unable to add products to his Zen Cart store. I recently installed a couple modules for him and was thinking that the issue may be related to one of the modules however this did not end up being the case. After some investigation I was able to resolve the problem easily by first deleting a product that had been added and then by issuing a SQL command to modify the auto increment numbers for the Zen Cart products table. Below there is more information on the error as well as details on how to resolve the issue.
Tags: 2147483647, alter table, auto increment, auto_increment, duplicate entry, KEY, mysql, primary, products, products_id, sql, table, zen cart, ZenCart








Entries (RSS)