Skip to:
Content
Pages
Categories
Search
Top
Bottom

Access for user approval is denied, permission problem


  • Christian Kramer
    Participant

    @chriskojak

    Hi,

    on my Multisite I cannot approve new users. I am registered as a superadministrator.

    The registration works for new users.
    After that I see the number of stored user registrations, which awaiting approval. But clicking the awaiting tab at all users overview the access is denied because of permissons (superadministrator).

    Any ideas?

    Chris

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

  • Christian Kramer
    Participant

    @chriskojak

    Does anyone have an idea for accessing the “pending users” section?
    As (super-)administrator I have no access (permissions denied).


    danbp
    Moderator

    @danbp

    hi @chriskojak,

    you have no access to
    your-site/wp-admin/network/users.php

    or to
    your-site/wp-admin/network/users.php?page=bp-signups

    Are other dashboard access parts concerned ?


    Christian Kramer
    Participant

    @chriskojak

    Hi @danbp,

    thanks for your support.

    I have no access to mysite/wp-admin/users.php?page=bp-signups
    (This is the user administration of the sub-side. The network pending user administration did not work either.)

    It is crazy! The administration of all pending users, either in network user administration or in sub-site administrattion, is not possible. I have not the permissions to access.

    Additionally the pending users are not assigned to the sub-site, on which they have registered.


    danbp
    Moderator

    @danbp

    Is this the only part where you can’t access ?

    Ensure you followed correctly all install instructions

    Installation in WordPress Multisite

    BuddyPress does not work on installations where you give WordPress its own directory.


    Christian Kramer
    Participant

    @chriskojak

    Yes, this is the only part I cannot access.

    I use buddypress in the main site of the network only. I installed it as described in the page you linked.

    Buddypress is a part of the plugin directory in the wordpress installation.


    danbp
    Moderator

    @danbp

    Seems to be a weird bug ! A ticket was opened a few weeks back:
    https://buddypress.trac.wordpress.org/ticket/6360

    Same issue here, with a patch:
    https://buddypress.trac.wordpress.org/ticket/6371

    Test the patch, an give feedback (important) about your issue and some details about your host config: server type, php & mysql version.
    You can login by using same credentials as here.

    Good luck !


    Christian Kramer
    Participant

    @chriskojak

    Great. It looks like my problem.
    Thanks for the hint.

    Do you know how I can implement the patch?
    It seems the bp-members-admin-classes.php file is the cause.
    But I am not a PHP programmer. 🙁

    What do the numbers mean?
    Is ‘+’ for adding and ‘-‘ for deleting?


    danbp
    Moderator

    @danbp

    no need to be a programmer to apply a patch. You’re still know how to copy/paste, i’m sure ! 🙂

    the number refer to the line number. If you use a code editor like notepad++ you’ll see them.

    + or – is self explanatory: + is added, – is removed.

    Depending the patch size, you should be very attentive and concentrated when copy/pasting.

    Or you use the heavy pro method, explained on WP’s Codex:
    https://make.wordpress.org/core/handbook/working-with-patches/apply-a-patch-using-tortoisesvn/

    … but for one or two lines, it’s a bit to much IMO !


    Christian Kramer
    Participant

    @chriskojak

    Ok. I pasted the snippets into the file and uploaded it.
    But no change. I cannot access the pending user section.


    danbp
    Moderator

    @danbp

    Do you see warnings or notices when you activate debug mode in wp-config ?

    Do you use a cache ? Yes ? So clear it.

    Also, clear your brwoser history. In many cases, permission deny is a session error, which comes up when you try to login with two different usernames with two different role. (admin vs. subscriber zum beispiel)


    Christian Kramer
    Participant

    @chriskojak

    I activated the debug mode in wp-config, but no warnings or notices. (The page was loaded normally, without any debug mode hints and it looks like a site with deactivated debug mode.)

    All caches are cleared. I deactivated the WP Super Cache plugin.
    I cleared the browser cache completely.

    The result: no access to pending users.

    In the Network Admin user setting I see one pending user, but I cannot delete him. The same result after clicking “delete” (or “activate”): No access.


    Christian Kramer
    Participant

    @chriskojak

    The problem seems to happen only in Multisite mode. I stepped back to single site. Now I can access the user section “waiting for approval/pending/…” again.

    But there is another problem with Buddypress about Approval, which I will post in a separated article.

    Thanks for your patience and support.


    danbp
    Moderator

    @danbp

    Do you have ms defines in wp-config ?
    define( 'WP_ALLOW_MULTISITE', true );

    Have you setup pretty permalinks (something other than default) ? Also htaccess may be wrong.
    Create a new one.
    This can be done by removing the old htaccess and (re)saving permalinks, WP will give you new params or create htaccess for you.
    Also are all salt keys in wp-config ? Try to remove the existing and add new one. Take them from here: https://api.wordpress.org/secret-key/1.1/salt/

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Access for user approval is denied, permission problem’ is closed to new replies.
Skip to toolbar