WordPress.org

Forums

  1. florau
    Member
    Posted 1 year ago #

    I deactivated S2Member yesterday and activated Paid Memberships Pro because of its drip content feature.

    However, this morning on trying to log in I cannot access my dashboard, I get the following error.

    You do not have sufficient permissions to access this page.

    I automatically thought the issue was with PMPro, as I was technically logged in but just couldn't gain accerss to my dashboard, I was able to access my backend via another saved url and deactivate this plugin also.

    The said issue did not resolve, so I decided to reactivate S2Member which did resolve the issue.

    Does this mean that if I deactivate S2member I can't get access to my dashboard anymore? Please help - do I have to turn off the deactivate safeguard measures?

    Thanks

    https://wordpress.org/plugins/s2member/

  2. Cristian Lavaque
    Member
    Plugin Contributor

    Posted 1 year ago #

    s2Member doesn't apply access restrictions to administrators or the admin area when active, much less when not.

    Only these protections would affect an admin for security reasons, and only if s2 is active and the configured conditions are met: WP Admin -> s2Member -> Restrictions -> Brute Force, Unique IP

  3. johncockman
    Member
    Posted 5 months ago #

    This happened to me as well. Can you please tell me how to reactivate S2Member without being able to get into my dashboard?

    Thank you!

  4. johncockman
    Member
    Posted 5 months ago #

    If I could only reactivate S2Member I might be able to fix the issue based on this post:

    http://www.s2member.com/forums/topic/uninstalling-s2member-causes-permission-issue/

  5. johncockman
    Member
    Posted 5 months ago #

    Does anyone have the code that goes into the active_plugins options value in the wordpress options table? If I had that code, it might reactivate s2member and then I might be able to get into my dashboard.

    Someone please help, my host can't help me!

  6. johncockman
    Member
    Posted 5 months ago #

    I've tried creating a new user with administrative capabilities, but no joy.

  7. johncockman
    Member
    Posted 5 months ago #

    My meta value for my administrative WP capabilities is

    a:2:{s:13:"administrator";b:1;s:13:"bbp_keymaster";b:1;}

    which seems to be correct. Yet I still can't get into my wp-admin dashboard.

    All this happened when I deactivated S2-Member. Now I am completely locked out. I have no idea how to get back into my site, and my hosting provider says they cannot help me. I was on the phone with them for a really long time. Can someone please help me?

  8. KTS915
    Member
    Posted 5 months ago #

    Can you use FTP?

    If so, what I'd suggest is that you go into your installation, and re-name your s2Member and/or bbPress folder(s). That will render them inactive. Then try and login again. You will be able to get them working again by giving them back their original names.

    Obviously, I can't guarantee that this will work, because I don't know what the cause of the problem is, but you don't risk losing any data this way.

  9. johncockman
    Member
    Posted 5 months ago #

    Thank you KTS915.

    I am aware of how to disable plugins and currently all plugins on my site are disabled.

    Somehow my administrator capabilities have been corrupted.

  10. johncockman
    Member
    Posted 5 months ago #

    In fact, now that I have deactivated all of my plugins, I have no way to reactivate them without access to my dashboard. Is there no way to do this???

  11. KTS915
    Member
    Posted 5 months ago #

    @johncockman,

    Yes, I understand that. But, as you say, the database entry appears to be correct.

    You say your host can't help. But perhaps they can. Do they keep database backups? If so, it should be possible to restore yours to how it was before you had these problems.

  12. johncockman
    Member
    Posted 5 months ago #

    The database is probably OK, I'll check about the backup. The host developer tells me that S2Member made unauthorized changes to my administrator account settings. I am totally locked out. I don't think this is something that gets backed up.

  13. KTS915
    Member
    Posted 5 months ago #

    The host developer tells me that S2Member made unauthorized changes to my administrator account settings.

    Hmm. Who is your host?

  14. johncockman
    Member
    Posted 5 months ago #

    GoDaddy is my host. They are currently trying to set up another administrative user in my wordpress account in order to reset my settings. Initial attempts to do this failed. My dashboard sees locked. It is not easy, the developer had to submit a support ticket. I am still waiting to hear back about it.

  15. KTS915
    Member
    Posted 5 months ago #

    GoDaddy is my host.

    I guessed as much. Their responses to queries from a friend of mine (whose setup is quite simple and who doesn't use s2Member) means that I wouldn't trust a thing they say about WordPress.

  16. johncockman
    Member
    Posted 5 months ago #

    Thanks for your interest on this. They could not solve the issue with my login and so are trying to restore to the 19th. My fingers are crossed.

  17. KTS915
    Member
    Posted 5 months ago #

    OK, if that doesn't work, here is a tutorial on how to create a new admin user.

    Frankly, it should be a piece of cake for a good host but, if they give you access to phpMyAdmin, you should be able to do it yourself if they can't restore your old database.

    Otherwise, you can point GoDaddy to it!

  18. johncockman
    Member
    Posted 5 months ago #

    Thanks! I actually did try creating a new Admin but it didn't work. GoDaddy tried as well. I don't know why this wouldn't work.

  19. KTS915
    Member
    Posted 5 months ago #

    Then I don't think this has anything to do with s2Member. In fact, it's quite probably been caused by something outside WordPress altogether.

    Whatever has apparently corrupted your database is much more likely to be a more fundamental process. Does GoDaddy keep proper logs, so that you can see everything that has happened to your installation (not just to WordPress) over the last week or so?

  20. johncockman
    Member
    Posted 5 months ago #

    GoDaddy keeps a 4-day running emergency backup. I don't know about logs.

    This all happened the microsecond I deactivated the S2Member plugin. I know you are down on GoDaddy but until I figure anything else out, I am blaming S2Member. I am not the first person this has happened to. Please see:

    http://www.s2member.com/forums/topic/uninstalling-s2member-causes-permission-issue

    As of 53 hours after hiring a developer to fix the problem, it still isn't fixed.

  21. KTS915
    Member
    Posted 5 months ago #

    Blame who you like, but reference to a three-year-old thread isn't in the slightest persuasive in the absence of a catalog of similar complaints.

  22. johncockman
    Member
    Posted 5 months ago #

    Then may I blame the plugin whose deactivation broke my site?

    I didn't start this thread -- it is 8 months old. Here are a few others:

    Here is something I just found:

    http://spoonjab.com/wordpress-admin-permission-error-s2member/

    I am going to try it.

  23. johncockman
    Member
    Posted 5 months ago #

    Actually I can't try it out because I can't get in to install the plugin. I sent the link to the GoDaddy developer.

  24. KTS915
    Member
    Posted 5 months ago #

    Then may I blame the plugin whose deactivation broke my site?

    As I said, you can blame who you like. But that reasoning is no better than the previous one. After all, the theme or plugin that creates a conflict is not necessarily the one that causes the problem to manifest itself.

    And, let's be honest, there's been a litany of complaints about GoDaddy's WordPress hosting. Even GoDaddy themselves have publicly admitted as much, and recently re-launched their WordPress offering to much fanfare with the promise that they'd be doing things differently from now on.

    But, if they keep a log of changes to your site, it should be much easier to identify the problem. And, if they don't keep a log, they really shouldn't be hosting at all.

  25. johncockman
    Member
    Posted 5 months ago #

    I will check about the logs though I suspect that is the first thing the developer looked at.

    As much as I would like to blame someone, I agree that I cannot know what combination of variables may have led to the crash. It happened on deactivation of S2Member and so I suspect some kind of incompatibility between S2Member and some other program.

    I just heard from S2Member. They say:

    Hi John,

    s2Member does not restrict access to the WordPress Dashboard for administrators. If you deleted the s2Member folders from the plugins directory, then s2Member as been fully deactivated and it is not affecting any part of your site. If you are unable to login with the s2Member plugin folders deleted, then there is something other than s2Member causing this issue.

    You might want to try deleting all folders from your wp-content/plugins/ directory, in case some other WordPress plugin is causing this issue. Otherwise, you'll need to work with your web hosting company to resolve this, as they can look at the server logs to find out exactly why you're being denied access.

    So, their advise mirrors yours, and I am no further along than when I started.

    John

  26. johncockman
    Member
    Posted 5 months ago #

    UPDATE: I was able to get into the site by visiting the following URL:

    .../wp-admin/plugins.php?loggedout=true

    and logging in through the plugins. However, if I try to log in here:

    .../wp-admin/index.php

    to access my dashboard, I get the error:

    "You do not have sufficient permissions to access this page."

    I can not access the main dashboard link, nor edit my admin profile when S2Member is off. That is also will all other plugins disabled.

    However, when I reactivate S2Member, suddenly I have access again. This really seems to be an issue with the S2Member plugin.

    Version 150311 + s2Member Pro v150311 | By s2Member / WebSharks, Inc.

  27. johncockman
    Member
    Posted 5 months ago #

    OK now that I am back in, I am able fix the administrative capabilities that S2Member and bbPress broke as is explained here:

    http://www.s2member.com/forums/topic/uninstalling-s2member-causes-permission-issue/

    I had to install a plugin called "Advanced Access Manager," create a super-user, and then give my site administrators the "read" capability that bbPress and S2Member had stripped.

  28. KTS915
    Member
    Posted 5 months ago #

    So you are using multisite. Why didn't you say so?

  29. johncockman
    Member
    Posted 5 months ago #

    I'm not using a multisite.

  30. johncockman
    Member
    Posted 5 months ago #

    With newer versions of Advanced Access Manager, the creation of a super-user is necessary in order to make changes to administrative roles. They call it a super-user even though it is just an administrative capability on a single site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic