Post by adensoft » Wed May 16, 2018 12:51 am

halo my pro .
i have error since 3 days .when customer add new order . system give order id is 0 .every new order have id 0
but my old order have order id 650Image
am tired please help me



Sun May 28, 2017 7:08 pm

Post by sw!tch » Wed May 16, 2018 1:17 am

What OC version? What mods?

Curious how the order ids can be zero when order_id in the current version is set to auto-increment. Further you would get something like Duplicate entry '0' for key 'PRIMARY'.

Go to phpmyadmin and see if they are showing 0 there. Maybe the DB isn't setup correct with the proper keys.

Backup and [ learn how to recover ] before you make any changes.

Active Member


Sat Apr 28, 2012 2:32 pm

Post by paulfeakins » Wed May 16, 2018 4:55 pm

sw!tch wrote:
Wed May 16, 2018 1:17 am
Go to phpmyadmin
Yes, go to phpMyAdmin and make sure that column is set to auto increment and the other settings are correct.

For quick, professional OpenCart support please email

User avatar
Expert Member


Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: OSWorX, thekrotek and 12 guests