Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Account Creation Error


Recommended Posts

Hi I have just discovered the following error in my oscommerce site,

when a new user submits their details.


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


insert into address_book (customers_id, address_book_id, entry_firstname, entry_lastname, entry_street_address, entry_postcode, entry_city, entry_country_id, entry_zone_id, entry_state) values ('5', '1', 'John', 'Doe', '20 makers St', '3149', 'Mount Waverley', '13', '183', '')



I have verified that the account does not exist prior to the sign up.

Any clues.



Link to comment
Share on other sites

Problem now solved the old white space aka carriage return problem.

Found a new line after the last ?>

in catalog/includes/languages/english/default.php

that was causing this error hope this helps someone one day.


Link to comment
Share on other sites

  • 2 years later...

Yeah, it just helped me!

I wish more people would be like you... soo many people post that they need help (with the same problems I have) - but then, when they figure it out, they don't bother to post and say how the issue is resolved.


Thanks Mikhail!


Link to comment
Share on other sites


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

  • Create New...