kroell Posted July 23, 2020 Share Posted July 23, 2020 Hi! We are experiencing this for a long time now, in the version 1.6 we had this on our systems that uploaded all the information to the server, but never in the store itself, but now, we are having "duplicated entry for Primary Key" too often. One exemple, we have "Multibanco" that generates a reference for our customers to pay, but most of the times, it is not generated because and "duplicated key" comes in, and everithing crashes. Any thing that we can do to this? Thanks in advance Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2020 Share Posted July 23, 2020 Set the id_order column in the ps_orders table to autoincrement. Maybe there will be more problems in the database. If you do not have any knowledge of Prestashop, PHP and SQL, do not make any modifications and hire someone for the job. Link to comment Share on other sites More sharing options...
kroell Posted July 23, 2020 Author Share Posted July 23, 2020 Hi there! the problem i don't think to be the auto increment, because is happens randomly... as i have noticed before, that happening in other tables also randomly! any other idea? meanwhile i will look into the autoincrement... thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now