Answers.Body: <p>When you check availability, it's actually not looking at CiviCRM - it's looking in Drupal.  If you're a coder, you can read the code <a href="https://github.com/civicrm/civicrm-core/blob/ee73cf301e0996ec4e5fea742446f4c09343cad1/CRM/Utils/System/Drupal.php#L115" rel="nofollow noreferrer">here</a>.  Based on this, it seems like you need to delete the Drupal user, not the CiviCRM contact.</p>
  
  <p><strong>To fix:</strong></p>
  
  <ul>
  <li>Go to <strong>CiviCRM menu » Hide menu</strong> to view the Drupal menu (see screenshot).</li>
  </ul>
  
  <p><a href="https://i.sstatic.net/xBpmJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/xBpmJ.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>Your Drupal menu may vary based on the installed extension, but you'll likely have a "People" menu:</li>
  </ul>
  
  <p><a href="https://i.sstatic.net/7jiC3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7jiC3.png" alt="enter image description here"></a></p>
  
  <p>From here, you can delete the Drupal user.  Instructions can be found <a href="http://www.dummies.com/web-design-development/drupal/adding-editing-and-deleting-drupal-users/" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Note that if you create a new Drupal contact with the same email address as a CiviCRM contact's primary contact, the link between the two will be regenerated!  So you should never have to delete the CiviCRM contact in this instance.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-09T20:41:36.577Z
Answers.LastActivityDate: 2017-01-09T20:41:36.577Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>It sounds like the "deleted" contact record has gone into trash.  You may be able to find it by doing an advanced search in contacts, making sure that you tick the "Search in Trash" box.  You can delete it from the trash box.</p>
  
  <p>As an alternative, you could restore the record from the trash box and then merge the two records, thereby ending up with only one.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-06T17:34:21.400Z
Answers.Text: I don't think this is correct - while answering another question yesterday, I learned that the `uf_match` record for a contact is deleted when a contact is moved to the trash (a little scary!).  So your answer SHOULD be correct, but at least on the latest version of Civi, it's not.  Also, I think the "check availability" function checks the CMS?
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-09T20:20:13.413Z
Answers.Text: OK, now I think I REALLY messed up. I had no idea there even was a trash / never thought to search in it so this is great to know! But now after I found her second record in the trash, I hit "Delete Permanently" so that it would in theory delete the duplicate. After deleting permanently, I'm still getting the error in the picture above that her email is already registered! I realize now I should have done the second suggestion (restore & merge) but fear its too late as now I can't locate it in the trash either... should I just recreate her account manually from scratch... ?
Answers.UserDisplayName: Sofia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-06T16:15:50.523Z
Answers.LastActivityDate: 2017-01-06T16:15:50.523Z
Answers.UserDisplayName: peterb
Body: <p>Someone who signed up on our website was having trouble logging into her account (made via joining membership). I went to manually reset a login for her, and found out that her email address was already being used for a different contact account we had on file (made from joining a mailing list). To fix this, I deleted the latter contact account, so that only her membership one would exist. I then tried to create a login for this account, but every time I do so it says her email address is already registered still, even though I deleted the previous contact file linked to that email address and can no longer find it. Whenever I search for another contact under her name nothing shows up except for the membership one, which is the one I am trying to edit, so I don't know how to access (and DELETE!) this supposed second account that keeps on interfering with her membership one.
  <a href="https://i.sstatic.net/xrKQn.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/xrKQn.jpg" alt="every time I try to reset her login information it says her email address is already registered still, even though I deleted the previous contact file linked to that email address and can no longer find it. see here that i cannot create a login for her to access her account"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-06T17:35:34.830Z
Comments.Text: This is a good question.  To give a good answer, we'll need a little bit more information.  Could you please edit your post to include your CiviCRM version number, which CMS software you're using with version number (e.g. Wordpress 4.2.2, Drupal 7.37)
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-09T11:34:18.680Z
Comments.Text: Sofia, you really do need to provide information on which CMS software you are using as you problem is with the CMS login.
Comments.UserDisplayName: JoAnne
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-09T20:11:56.183Z
Comments.Text: Ah my apologies! We are using Drupal 7.53, and CiviCRM 4.6.24
Comments.UserDisplayName: Sofia
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-09T20:31:38.197Z
Comments.Text: Thanks for updating with the CMS and version!  That's enough info to post an answer.
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <civimember><contacts><user-account>
Title: Deleted duplicate contact, when try to make login still says the email address is already registered ((Drupal 7.53, CiviCRM 4.6.24)
ThreadText: # Deleted duplicate contact, when try to make login still says the email address is already registered ((Drupal 7.53, CiviCRM 4.6.24)
  
  (Asked by: username_0 on 2017-01-06)
  
  Someone who signed up on our website was having trouble logging into her account (made via joining membership). I went to manually reset a login for her, and found out that her email address was already being used for a different contact account we had on file (made from joining a mailing list). To fix this, I deleted the latter contact account, so that only her membership one would exist. I then tried to create a login for this account, but every time I do so it says her email address is already registered still, even though I deleted the previous contact file linked to that email address and can no longer find it. Whenever I search for another contact under her name nothing shows up except for the membership one, which is the one I am trying to edit, so I don't know how to access (and DELETE!) this supposed second account that keeps on interfering with her membership one.
  [![every time I try to reset her login information it says her email address is already registered still, even though I deleted the previous contact file linked to that email address and can no longer find it. see here that i cannot create a login for her to access her account](https://i.sstatic.net/xrKQn.jpg)](https://i.sstatic.net/xrKQn.jpg)
  
  **Tags:** civimember, contacts, user-account
  
  > **Comments:**
  > **username_1**: This is a good question.  To give a good answer, we'll need a little bit more information.  Could you please edit your post to include your CiviCRM version number, which CMS software you're using with version number (e.g. Wordpress 4.2.2, Drupal 7.37)  
  > **username_2**: username_0, you really do need to provide information on which CMS software you are using as you problem is with the CMS login.  
  > **username_0**: Ah my apologies! We are using Drupal 7.53, and CiviCRM 4.6.24  
  > **username_1**: Thanks for updating with the CMS and version!  That's enough info to post an answer.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-01-09. Score: 1
  
  When you check availability, it's actually not looking at CiviCRM - it's looking in Drupal. If you're a coder, you can read the code [here](https://github.com/civicrm/civicrm-core/blob/ee73cf301e0996ec4e5fea742446f4c09343cad1/CRM/Utils/System/Drupal.php#L115). Based on this, it seems like you need to delete the Drupal user, not the CiviCRM contact.
  
  **To fix:**
  
  * Go to **CiviCRM menu » Hide menu** to view the Drupal menu (see screenshot).
  
  [![enter image description here](https://i.sstatic.net/xBpmJ.png)](https://i.sstatic.net/xBpmJ.png)
  
  * Your Drupal menu may vary based on the installed extension, but you'll likely have a "People" menu:
  
  [![enter image description here](https://i.sstatic.net/7jiC3.png)](https://i.sstatic.net/7jiC3.png)
  
  From here, you can delete the Drupal user. Instructions can be found [here](http://www.dummies.com/web-design-development/drupal/adding-editing-and-deleting-drupal-users/).
  
  Note that if you create a new Drupal contact with the same email address as a CiviCRM contact's primary contact, the link between the two will be regenerated! So you should never have to delete the CiviCRM contact in this instance.
  
  
  ---
  
  ### Answer by username_3 on 2017-01-06. Score: 0
  
  It sounds like the "deleted" contact record has gone into trash. You may be able to find it by doing an advanced search in contacts, making sure that you tick the "Search in Trash" box. You can delete it from the trash box.
  
  As an alternative, you could restore the record from the trash box and then merge the two records, thereby ending up with only one.
  
  > **Comments:**
  > **username_1**: I don't think this is correct - while answering another question yesterday, I learned that the `uf_match` record for a contact is deleted when a contact is moved to the trash (a little scary!).  So your answer SHOULD be correct, but at least on the latest version of Civi, it's not.  Also, I think the "check availability" function checks the CMS?  
  > **username_0**: OK, now I think I REALLY messed up. I had no idea there even was a trash / never thought to search in it so this is great to know! But now after I found her second record in the trash, I hit "Delete Permanently" so that it would in theory delete the duplicate. After deleting permanently, I'm still getting the error in the picture above that her email is already registered! I realize now I should have done the second suggestion (restore & merge) but fear its too late as now I can't locate it in the trash either... should I just recreate her account manually from scratch... ?  
  
  ---
  
  