Administration Control Panel Login Loop

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
ErikMouse
Registered User
Posts: 48
Joined: Wed Mar 27, 2013 9:04 am
Name: Erik Mouse

Re: Administration Control Panel Login Loop

Post by ErikMouse »

Mick wrote: Tue Mar 05, 2024 9:57 am What is Imunify360 set to, I saw another post mentioning that only yesterday? A2 should be able to help you with that.

viewtopic.php?p=16001419#p16001419
I have mentioned this in the open ticket I have with A2 Hosting and they gave the following reply on it.
A2 Hosting Tech Support wrote:We'll need them to be a bit more specific about the Immunify360 question. If the question is are we running it, yes we are, but Immunify360 has a lot of configurations so it's a very broad question. Modsec is just a module that manages the rule set, if a rule is broken it notifies Immunify360 and Immunify decides what to do after that, such as giving you a CAPTCHA or blocking your IP.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6525
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Administration Control Panel Login Loop

Post by thecoalman »

Try this, I can't test it as far as the mod_security rule goes so you can be the guinea pig. :D It's just temp solution if it works but it will help identify the problem whether it works or not.

Open /includes/functions.php

Find:

Code: Select all

		'S_LOGIN_REDIRECT'		=> $s_login_redirect,
Replace with (note: you need to edit in the root of your phpBB forum for https://www.example.com/forum/):

Code: Select all

		'S_LOGIN_REDIRECT'		=> str_replace( './../' , 'https://www.example.com/forum/' , $s_login_redirect),
Before uplaoding to your server rename existing functions.php to functions.php.bak so you have easy fallback to replace original file. Make sure mod_security is enabled. This may not be required but purge phpBB's cache. You may need to logout of forum to trigger login for ACP.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
MasterUser
Registered User
Posts: 8
Joined: Thu Apr 09, 2020 7:42 am

Re: Administration Control Panel Login Loop

Post by MasterUser »

thecoalman wrote: Wed Mar 06, 2024 3:29 am Try this, I can't test it as far as the mod_security rule goes so you can be the guinea pig. :D It's just temp solution if it works but it will help identify the problem whether it works or not.

Open /includes/functions.php

Find:

Code: Select all

		'S_LOGIN_REDIRECT'		=> $s_login_redirect,
Replace with (note: you need to edit in the root of your phpBB forum for https://www.example.com/forum/):

Code: Select all

		'S_LOGIN_REDIRECT'		=> str_replace( './../' , 'https://www.example.com/forum/' , $s_login_redirect),
Before uplaoding to your server rename existing functions.php to functions.php.bak so you have easy fallback to replace original file. Make sure mod_security is enabled. This may not be required but purge phpBB's cache. You may need to logout of forum to trigger login for ACP.
I tried this, it works as a workaround

Return to “[3.3.x] Support Forum”