If you load a users page, but you are not logged in the ACP, clicking the Administer user link gets you on the board index, instead to the linked acp page.
(This can be done if you load the user page, then open Administration Control Panel in a tab. Or if you opened the user page in a tab and then clicked the acp link from your index page.)
Reloading the user page fixes it and the link gets properly loaded, instead of redirecting you to the board index.
Should i be opening a bug ticket for this, or its far too complicated to fix it for 3.1... or whatever?
Possible bug in acp features before acp login?
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
- Dragosvr92
- Registered User
- Posts: 624
- Joined: Tue May 31, 2011 12:08 pm
- Location: Romania
- Contact:
Possible bug in acp features before acp login?
Previous user: TheKiller
Avatar on Memberlist 1.0.3
Avatar on Memberlist 1.0.3
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: Possible bug in acp features before acp login?
I'm not seeing that. Maybe you need to check the cookie settings? What I usually see happening is that the SID "cycles" and then it's no good to get into the ACP for some reason.
- Dragosvr92
- Registered User
- Posts: 624
- Joined: Tue May 31, 2011 12:08 pm
- Location: Romania
- Contact:
Re: Possible bug in acp features before acp login?
After i first noticed the error behaviour, i cleared out all my site cookies and tried the login steps again. It reproduced the very same error.
Previous user: TheKiller
Avatar on Memberlist 1.0.3
Avatar on Memberlist 1.0.3
Re: Possible bug in acp features before acp login?
In addition to cookie settings, I would suggest purging the system cache. This will ensure both the server-side and browser caches start from a known (clean) setting.
- Dragosvr92
- Registered User
- Posts: 624
- Joined: Tue May 31, 2011 12:08 pm
- Location: Romania
- Contact:
Re: Possible bug in acp features before acp login?
- Purged Cache.
- Cleared all site cookies.
- Went to board index.
- Logged in forum.
- Went to a user profile page.
- Opened the ACP page in a new tab and logged in.
- Clicked Administer user on the user profile page i had open.
- The same issue.
Previous user: TheKiller
Avatar on Memberlist 1.0.3
Avatar on Memberlist 1.0.3
Re: Possible bug in acp features before acp login?
Your description helped. I have reproduced your problem with the 3.1.x repository install (latest). I have updated the steps:
I navigate the forum, then:
My guess : Perhaps an unforeseen condition (two browser windows open simultaneously) is causing a permissions problem. The result is to go to the Board Index as a way to protect permissions.
I will defer to the experienced developers for additional comments.
- Login as administrator
- Purged Cache.
- Logged out, cleared all browser cookies
- Went to board index.
- Logged into forum as administrator, check "Remember me" box.
- Went to a user profile page.
- Opened the ACP page in a new tab and logged in.
- Clicked Administer user on the user profile page i had open.
- The same issue.
Code: Select all
http://localhost/phpbb/phpBB/index.php?sid=69f604bb1da21a22aeabe9d434db9e3a
- Went to a user profile page.
- Clicked Administer user on the user profile
My guess : Perhaps an unforeseen condition (two browser windows open simultaneously) is causing a permissions problem. The result is to go to the Board Index as a way to protect permissions.
I will defer to the experienced developers for additional comments.
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: Possible bug in acp features before acp login?
One tab has one SID while the other has another SID. I'm not seeing how we could do anything about that. The SID you have loaded in the browser tab where you have the profile open is invalidated after you log in to the ACP in the other tab. I'm assuming a cookie is being set after you log in to the ACP that causes the other page to get confused because there is now a cookie present that says you have validated for an ACP session but your actual SID does not match. I'm going to say this is more user error than an actual bug.
- Dragosvr92
- Registered User
- Posts: 624
- Joined: Tue May 31, 2011 12:08 pm
- Location: Romania
- Contact:
Re: Possible bug in acp features before acp login?
... Which is why i dislike the sid. It should just be stored in a Cookie and be overwriten by the new one. Not to be stored in the url.
Previous user: TheKiller
Avatar on Memberlist 1.0.3
Avatar on Memberlist 1.0.3