Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when trying to add products


thejungle

Recommended Posts

Posted

Hi!

 

When I try to add a new product I get the `confirm' screen and when I click insert get:

 

1062 - Duplicate entry '35-1' for key 1

 

insert into products_description (products_name, products_description, products_url, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, products_id, language_id) values ('Sample Products', 'Sample Product description', '', 'Sample Product description', 'Sample Product description', '123', '35', '1')

 

[TEP STOP]

 

 

What did I doooooo?

How can I fix it?

 

Or do I need to start again with the database?

 

Thanks everyone

Ernie

Posted

Have you previously tried to removed products in some manner. If so how. Normally this can happen if you've used 'empty table' on one say the products table, but not on the products description table

Trust me, I'm an Accountant.

Posted

Hi:

 

I did reinstall OSC and when it copied the sample database, I thought it would wipe out the one already there. Now I'm finding remnants of the one I thought was gone. I think I'll delete the db completely and start again :(

 

Thanks

Ernie

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...