• Resolved scientific.jay

    (@scientificjay)


    I clicked one thing to change some capabilities for contributors and next thing I know every roll on the site has been demoted to contributor I tried backing up my DB and screwing around with the mysql php and its not working. I even tried deleting the plugin folder via ftpTry this using phpmyadmin

    also tried this
    1. Go to your WordPress database.
    2. Select the wp_usermeta table.
    3. Click on “Browse” at the top of the right-hand panel.
    4. For each user (login username = nickname in this table), you’ll have a
    wp_capabilities row. Click on the pencil in that row to enter edit mode.
    5. Replace the contents of the meta_value with

    a:1:{s:13:”administrator”;b:1;}

    This will reset that user to purely an administrator.

    6. In wp_options, do the same thing to “active_plugins”, resetting it to

    a:0:{}

    This will deactivate all of your plugins, including Role Manager, and should
    let you login.

    and nothing is working Dont know what to do. SOS!

    http://wordpress.org/extend/plugins/advanced-access-manager/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Same here!! What the heck?! :s

    Hi 3ric,
    Probably I did a mistake and gave ability to users manage Administrator Role. But I already fixed this on next release 1.3.1.
    I’m sure that you accidentally changed the Administrator Role. And I can be sure because this has been tested hundreds times.
    Use this file to repair your admin role – http://whimba.com/download/repair.php1

    Change the line name to repair.php. Put it on the root and access it with link http://[you website]/repair.php.

    This should help.

    Hi scientific.jay,
    The step 5 in your description will not help if you lost admin privileges. There is other meta key user_roles with the list of all roles and capabilities.
    More over is you rewrote administrator’s capabilities deactivation of all plugins will not help.
    The only thing which will help for sure is repairing list of admin’s capabilities mentioned in previous post to 3ric.

    Regards.

    Thanks so much, Vasyl Martyniuk!

    5 stars for support and quick response! All admin is back.

    On Release 1.3.1 I included Super Admin Role. So you’ll never mess up admin’s capabilities.

    By the way, Vasyl, I just noticed what the issue is, and why it does this.

    What happens is that when you go to the Access Manager, and go to the “Capabilities” tab, you’ll notice the “Administrator” checkbox (bottom left) is unchecked under “Administrator”. So whatever changes you make to any other user, it automatically removes administrator privileges to the admin users (unless someone checks it back on).

    Here’s the weird part…if you simply change from “Editor” view back to Administrative” view, it checks the Administrator checkbox automatically. Something simple to fix in the next version, I guess.

    Thanks again for your help!

    Eric

    Actually, that wasn’t the only issue. Sorry.

    Whenever I save anything (even when not touching anything), it still gives me an error whenever trying to access simple pages, such as “Users”

    error message: “Cheatin’ uh?”

    Oh well, I guess I’ll wait for the next release.

    “Use this file to repair your admin role – http://whimba.com/download/repair.php1”

    Link broken.

    Hi hammer404,
    Send me an email on whimba (at) gmail.com and I’ll reply with this file.
    Regards,
    Vasyl

    Hi guys,
    For more information read this post – http://whimba.org/support#viewtopic.php?f=7&t=6

    Regards,
    Vasyl

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘[Plugin: Advanced Access Manager] Took my ADMIN ROLL AWAY’ is closed to new replies.