I can't access Membership menu, details, etc. (localhost)

The Problem:

I’m on localhost. I installed and configured some of the site under the default localhost “admin” account. I installed “Membership” under the admin account. Now that I have created my real admin users and deleted the default admin account how can I get access to the membership plugin? I can’t access anything dealing with Membership.

Things I’ve tried:

– I’ve deleted membership, reinstalled and still get the same problem.

– I tried changing the menu permission so I could at least see the “Membership” menu option, but that doesn’t work.

– I recreated an “admin” account, that doesn’t work either.

My Question:

What must I do to fix this so I can edit & manage the Membership plugin?

  • PC
    • WPMU DEV Initiate

    Hiya,

    Greetings and thanks for posting on the forums.

    I think I know what happened here.

    What must I do to fix this so I can edit & manage the Membership plugin?

    Did you assign the new admin as a “Membership Admin” before you removed the default admin account ?

    You can add the below code in wp-config.php and see if you get access.

    define( 'MEMBERSHIP_MASTER_ADMIN', 'admin');

    Replace admin with your current admin username.

    I hope that helps. Please feel free to ask if you have more questions on the same.

    Cheers

    PC

    Sales &Support

  • Noahj Champion
    • Site Builder, Child of Zeus

    PC, thanks! This didn’t work though. I get a 500 error page when activating Membership now. Wether “define( ‘MEMBERSHIP_MASTER_ADMIN’, ‘admin’:wink:;” is active or not. I get the following:

    The website encountered an error while retrieving http://localhost/x.com/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=. It may be down for maintenance or configured incorrectly.

    But no worries man! It’s a lesson learned. I will not make the mistake of installing membership under WordPress’s default admin account. I’m just going to export/import to in a new site. It’s a mockup site at the moment anyhow.

  • Robert
    • New Recruit

    I am having the same experience as the above person.

    I am a membership admin and when I try to enable the membership it tells me I do not have the proper access.

    At a loss of what to do here.

    I installed and activated Membership through the WPMU dashboard.

    Hope to hear back soon.

    Thanks,

    Robert

  • Noahj Champion
    • Site Builder, Child of Zeus

    Hi Robert,

    Did you try the above code to fix this issue?

    Are you on a live site or not?

    After I reinstalled my sites and installed membership I didn’t encounter the problem again.

    Support would also have to know wether you are using a single WordPress install or a Multi-site install.

    Outside of that, that’s all I can do to help speed up your back and forth with support or before PC responds.

  • PC
    • WPMU DEV Initiate

    Hey there Robert,

    Sorry for having missed your last response on this one. I was away for a long time and had somethings to take care of and could not be here any sooner. Sorry if that caused you any issues.

    Is the issue still there or have you managed to sort this out on another thread or one of our live chat sessions ?

    If yes, that is great. If not, kindly feel free to create a new thread and share more information about the issue so that we can deal with it separately :slight_smile:

    @Brand Dedication, thanks a lot for chiming in to help :slight_smile:

    Cheers, PC