CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Duplicate email error on registration for a new email account
Pages: [1]

Author Topic: Duplicate email error on registration for a new email account  (Read 829 times)

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Duplicate email error on registration for a new email account
August 14, 2009, 08:35:46 am
Very confused. After a few months of working with CiviCRM on Joomla 1.5.14 (and earlier) and testing it successfully numerous times, since moving it to a new server and upgrading, and doing a few further tests (successfully), since making the site live yesterday at http://www.wapcepc,org I'm now getting the duplicated email account error, the first time someone registers on the site with a new email address (even when they aren't being sent to a payment handler):

Code: [Select]
unrecoverable error
    Sorry. A non-recoverable error has occurred.

    DB Error: already exists

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -5
    [message] => DB Error: already exists
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_uf_match (uf_id , uf_name , contact_id ) VALUES ( 121 , 'test2@xxxx.org' ,  35 )  [nativecode=1062 ** Duplicate entry 'test2@xxxx.org' for key 2]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_uf_match (uf_id , uf_name , contact_id ) VALUES ( 121 , 'test2@xxxx.org' ,  35 )  [nativecode=1062 ** Duplicate entry 'test2@xxxx.org' for key 2]
    [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_uf_match (uf_id , uf_name , contact_id ) VALUES ( 121 , 'test2@xxxx.org' ,  35 )  [nativecode=1062 ** Duplicate entry 'test2@xxxx.org' for key 2]"]
)

I've tested this with a bunch of email addresses that have never been used on the site and it's still telling me that they already exist.

Tried to search the forums but couldn't see anything on this,

thanks
Nic[/code]

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Duplicate email error on registration for a new email account
August 14, 2009, 12:40:14 pm

1. can we get ssh access to your machine and write access to the civicrm directory

2. if so, please test the above. Then get on IRC and ping us. We'll logon and try to figure out whats happening and why

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: Duplicate email error on registration for a new email account
August 14, 2009, 01:06:20 pm
Thanks for the quick reply.

It seems fixed now. Here's what I did:

 - After posting this I remade the menu links (clutching at straws). Then all attempted signups created a 'cannot find key' error.

 - A while later (an hour) I tried purging expired cache in Joomla backend, and deleting all cache items, and when I tried again signup worked - and continued to work on four separate tests on safari and firefox.

I don't really understand, but if the error returns I'll repost.

Nic

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Duplicate email error on registration for a new email account

This forum was archived on 2017-11-26.