We have an old oscommerce website and getting and error so we need this fixing.
it appears when we try to checkout etc
error is shown below
=================
1062 - Duplicate entry '0' for key 'PRIMARY'
insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, currency, currency_value) values ('10669', 'namr name', 'testing price', 'testing price', '', 'Hull', 'HU12 888', '', 'United Kingdom', '0000000000', 'email', '1', 'namr name', 'testing price', 'testing price', '', 'Hull', 'HU12 888', '', 'United Kingdom', '1', 'namr name', 'testing price', 'testing price', '', 'Hull', 'hu12 888', '', 'United Kingdom', '1', 'TRADE Payments (TRADE ACCOUNT ONLY)', '', '', '', '', now(), '1', 'GBP', '1.00000000')
[TEP STOP]
============================