Forums

[resolved] [Plugin: Advanced Access Manager] Super Admin not created therefore plugin does not function (11 posts)

  1. abenson2
    Member
    Posted 3 weeks ago #

    Hi,

    When I first access the plugin I get the familiar message:

    PLEASE READ THIS! You entered Advanced Access Manager Option Page.

    This graphic interface allows you to control access to your WordPress Blog. DO NOT try to change settings if you are not sure what you are doing! If you have problems or questions, or just found something weird in a system's behavior, PLEASE take a look to FAQ section before asking for support.

    For your safety, after you press OK button, Super Admin Role will be created specifically for your user.

    Users with already defined Super Admin Role will be deprived of it and replaced with Administrator Role

    If you have Multi-Site Setup, you will see the same message again for each new Blog you entered or created.

    I click OK but the message does not disappear - the loading page symbol just keeps going round and round. I can click the 'X' and then seemingly use the plugin in but when testing the site the access rights have not been applied.

    I believe this is due to the Super Admin not being created in the first instance. How can I resolve this?

    Thank you.

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

  2. Vasyl Martyniuk
    Member
    Posted 3 weeks ago #

    Hi abenson2,
    Can you please check your error log file. For more info please follow http://whimba.org/support#viewtopic.php?f=6&t=11#p15

    Regards,
    Vasyl

  3. abenson2
    Member
    Posted 3 weeks ago #

    Thanks for the response...I checked the error log file and it seems to back up my theory:

    SHUTDOWN 1: Call to undefined function add_user_to_blog()
    FATAL ERROR in file /home/d/public_html/support/wp-content/plugins/advanced-access-manager/models/mvb_model_ajax.php(1112)
    REQUEST data:
    Array
    (
    [action] => mvbam
    [sub_action] => create_super
    [_ajax_nonce] => 7d0ee2330a
    [answer] => 1
    )
    SHUTDOWN 1: Call to undefined function add_user_to_blog()
    FATAL ERROR in file /home/d/public_html/support/wp-content/plugins/advanced-access-manager/models/mvb_model_ajax.php(1112)
    REQUEST data:
    Array
    (
    [action] => mvbam
    [sub_action] => create_super
    [_ajax_nonce] => 7d0ee2330a
    [answer] => 1
    )
    SHUTDOWN 1: Call to undefined function add_user_to_blog()
    FATAL ERROR in file /home/d/public_html/support/wp-content/plugins/advanced-access-manager/models/mvb_model_ajax.php(1112)
    REQUEST data:
    Array
    (
    [action] => mvbam
    [sub_action] => create_super
    [_ajax_nonce] => 7d0ee2330a
    [answer] => 1
    )
    SHUTDOWN 1: Call to undefined function add_user_to_blog()
    FATAL ERROR in file /home/d/public_html/support/wp-content/plugins/advanced-access-manager/models/mvb_model_ajax.php(1112)
    REQUEST data:
    Array
    (
    [action] => mvbam
    [sub_action] => create_super
    [_ajax_nonce] => 7d0ee2330a
    [answer] => 1
    )

  4. Vasyl Martyniuk
    Member
    Posted 3 weeks ago #

    few more question.
    Version of WP and AAM. And are you using multisite setup?

  5. abenson2
    Member
    Posted 3 weeks ago #

    WP Version: 3.3.1

    AAM: 1.5.8.1 (beta)

    Also, some additional information which may or may not be relevant. I used the export tool to move content from my old server/domain to new server/domain. I used the "All Content Option"

    "All content: This will contain all of your posts, pages, comments, custom fields, terms, navigation menus and custom posts."

    In my old site/server AAM was working perfectly...

  6. abenson2
    Member
    Posted 3 weeks ago #

    Forgot to say; not using multisite setup.

  7. abenson2
    Member
    Posted 3 weeks ago #

    Another thought...is it something to do with the fact I deleted the user associated with wp:author_id 1 ? Is AAM looking for that id to create the super admin?

  8. Vasyl Martyniuk
    Member
    Posted 3 weeks ago #

    Hi abenson2,
    I believe I found the cause of problems. This probably happens when somebody try to manager AAM when he/she is not a root admin (admin created during WP setup). This cause that super admin is not created in fact that add_user_to_blog is not loaded if site is not a multisite.
    After that you just have to messup something in administrator role and that's it - admin access lost.
    I'll fix this issue tonight and on Sunday will release next version.

    Regards,
    Vasyl

  9. abenson2
    Member
    Posted 3 weeks ago #

    OK thanks Vasyl, appreciate your support and look forward to new version.

  10. Vasyl Martyniuk
    Member
    Posted 3 weeks ago #

    Last release 1.5.8.2 (beta) has some fixes related to this issue.

    I appreciate you abenson2 for patient and logs.

    I'm putting AAM on hold until all possible scenarios will be fixed. That can't last anymore.

  11. george.n
    Member
    Posted 8 hours ago #

    Just to note AAM 1.5.8.2 did not change the Administrator to a Super Admin on WP 3.2.1 fresh install.

    I was trying your - what seems to be a great - plugin on WP 3.2.1 and the latest release of AAM 1.5.8.2 and it did not work. The Super Admin was not created and the windowed message was stuck indefinitely. As well, got the same errors in the logs.

    So I upgraded WP to 3.3.1 and the Super Admin was created with no problems so far.

    The thing is this would have been great for a couple of projects I'd like to use this on but they run on WP 3.2.1 for the moment and updating to WP 3.3.1 at this moment in time is not an option.

    Anyway you need to change the required on the plugin page from 3.2 to 3.3 so users don't waste time over it.

Reply

You must log in to post.

About this Topic