Login to WordPress backend only possible with main admin user

mochkal
User w
User w
Posts: 5
Joined: Mon Nov 27, 2023 9:54 pm

Login to WordPress backend only possible with main admin user

Post by mochkal »

Hey guys,

if I have activated the plugin, logging into the WordPress backend is only possible with the main admin. Otherwise with no other user. Even if they also have the admin role, it is not possible.
You are automatically redirected to the main page but cannot access the backend.

Does anyone have an idea what the problem could be?

Thank you very much.
User avatar
Ezrael
w3 User
w3 User
Posts: 102
Joined: Wed Nov 15, 2023 9:11 pm
Contact:

Re: Login to WordPress backend only possible with main admin user

Post by Ezrael »

Could you provide a link to your page?

Do your admin roles have access to the WordPress Admin toolbar, which is usually displayed above the header?

When you log in and the script is activated, the site refreshes to ensure that you are logged in to both phpBB and WordPress.

As an admin, the admin toolbar should appear at the top, allowing you to access the WordPress backend.

Do you use plugins like Ultimate Member to manage your WordPress roles?
User avatar
axew3
w3all User
w3all User
Posts: 2887
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Login to WordPress backend only possible with main admin user

Post by axew3 »

Probably the cookie setting wrong into phpBB ACP.
Check that the cookie setting of phpBB require it to be available over all the domain (as explained into the installation steps, under phpBB side settings)
https://www.axew3.com/w3/wordpress-phpb ... n-install/
Guest

Re: Login to WordPress backend only possible with main admin user

Post by Guest »

Hey everyone,

First of all, thank you so much for your responses.

WordPress: staging.emmc.eu
Forum: forum.emmc.eu

Yes, all admin users have the permission to view the admin toolbar. I am using some plugins (like SureMembers), but even after deactivating SureMembers, the problem persists.

I believe the issue might be related to the user ID. The User ID 1 works without any problems, but for all other users, it doesn’t.

I’ve attached an image of my cookie settings below. Could you check if everything looks right?

Image

Once again, many thanks for your help!
mochkal
User w
User w
Posts: 5
Joined: Mon Nov 27, 2023 9:54 pm

Re: Login to WordPress backend only possible with main admin user

Post by mochkal »

Hey everyone,

First of all, thank you so much for your responses.

WordPress: staging.emmc.eu
Forum: forum.emmc.eu

Yes, all admin users have the permission to view the admin toolbar. I am using some plugins (like SureMembers), but even after deactivating SureMembers, the problem persists.

I believe the issue might be related to the user ID. The User ID 1 works without any problems, but for all other users, it doesn’t.

I’ve attached an image of my cookie settings below. Could you check if everything looks right?

Image

Once again, many thanks for your help!

Update: Btw. i think i have found the error ... maybe the cookie domain, like you have said, was wrong? ;)
Image
User avatar
axew3
w3all User
w3all User
Posts: 2887
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Login to WordPress backend only possible with main admin user

Post by axew3 »

Yes the second one is the good one. The absolute domain name (prepended by a dot to be ok also for very old compatibilities).
Post Reply