Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error thown after writing a review --> help?


racelance

Recommended Posts

Posted

I keep getting the following error when writing a review. After selecting whether it's good/bad & hitting continue - this error is thrown. It also occurs if the same person signs up (at least it's a similar error). I'd appreciate any help on this matter...

 

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



insert into reviews_description (reviews_id, languages_id, reviews_text) values ('1', '1', 'Great product, I highly recommend it! Looks great on my garage floor I'm sure it'll look nice on yours!')



[TEP STOP]

 

Any help out there?

 

Thanks,

 

Lance

Posted

Your reviews table should be setting unique reviews_id and if looking at the table it should be set to auto increment.

 

Make sure that you do not have blank, duplicate or otherwised messed up reviews_id in the reviews table.

Posted

Linda~

 

Where & how exactly do I do this? Do you mean within the SQL database or in a file (if so which one(s))?

 

Thanks,

 

Lance

Archived

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

×
×
  • Create New...