Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Account Creation Error


Guest

Recommended Posts

Posted

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', '')

[TEP STOP]

 

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

Any clues.

Thanks.

Mikhail.

Posted

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.

Mikhail.

  • 2 years later...
Posted

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!

JL

Archived

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

×
×
  • Create New...