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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Can't delete sample memberships
Pages: [1]

Author Topic: Can't delete sample memberships  (Read 961 times)

nnangeroni

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
  • CiviCRM version: 3.4.0
  • CMS version: Drupal 6.20
  • MySQL version: 5.5.x
  • PHP version: 5.3.x
Can't delete sample memberships
September 26, 2010, 05:21:57 pm
Version:  CiviCRM 3.2.3

Post installation, trying to delete sample data.  

I deleted all contacts except "Inner City Arts", which fails to delete.  The error message is:

Quote
The contact might be the Membership Organization of a Membership Type. You will need to edit the Membership Type and change the Membership Organization before you can delete this contact.

So I tried to edit the membership organization, but there are no other organizations, so I cannot change the org.  I tried to delete membership type, and got the message:

Quote
1. There are some contacts who have this membership type assigned to them. Search for contacts with this membership type on the CiviMember >> Find Members page. If you delete all memberships of this type, you will then be able to delete the membership type on this page. To delete the membership type, all memberships of this type should be deleted.

But the Find Members page fails to find any members (not surprising since there are none).  

I'm probably missing something obvious, but can someone enlighten me as to what I'm missing?
« Last Edit: September 26, 2010, 05:37:50 pm by nnangeroni »

Rahul Bile

  • I post occasionally
  • **
  • Posts: 112
  • Karma: 16
  • impossible says, I M Possible
    • I AM POSSIBLE
Re: Can't delete sample memberships
September 26, 2010, 10:15:16 pm
nnangeroni,

Quote
1. There are some contacts who have this membership type assigned to them. Search for contacts with this membership type on the CiviMember >> Find Members page. If you delete all memberships of this type, you will then be able to delete the membership type on this page. To delete the membership type, all memberships of this type should be deleted.

But the Find Members page fails to find any members (not surprising since there are none). 


-- With CiviCRM 3.2.x , deleted contacts are marked as trash and  not permanently deleted from database until you select "Permanently Delete" from action tasks. And so in your case the contacts are not permanently deleted.
You can go to advance search and <your_site>civicrm/contact/search/advanced&reset=1 and search for the contacts in trash ( by checking the checkbox , 'Search in Trash'). And delete them permanently ( which will also delete all the memberships ). Only after that you will be able to delete all the membership types.

HTH

Rahul.
« Last Edit: September 26, 2010, 10:24:52 pm by rahulbile »
Consider donating to CiviCRM if you use it. http://civicrm.org/donate

nnangeroni

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
  • CiviCRM version: 3.4.0
  • CMS version: Drupal 6.20
  • MySQL version: 5.5.x
  • PHP version: 5.3.x
Re: Can't delete sample memberships
September 27, 2010, 09:37:55 am
Thanks so much!  I suspected something of the sort, but not consciously enough to find it.  Kudos to you for your kind help!   :D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Can't delete sample memberships

This forum was archived on 2017-11-26.