XF 2.3 Security error occurred when login to admin console

LuckyRiver

Active member
Hi,

I couldn't install full beta4 or beta5 version due to a mysql bug which is already reported and fixed, but with a beta3 full version locally on windows 11 and it could be in beta5 version.

Make sure you are not logged in forum.

I had to uncomment this line in .htaccess for oauth2 token to work.

# This line may be needed to workaround HTTP Basic auth issues when using PHP as a CGI.
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]


but when I do that, I no longer can access to admin console, an error dialog pops up shown in attachment

It also happens when login to forum too with new users I created manually, but I'm unable to reproduce it, but I get the same error message.

Comment the line out does work but I need to uncomment it for Oauth2 to work.


1713900282746.webp
 
You may need to keep that line commented (though will be worth testing with both).

But at least part of the issue will be this line:

Code:
#RewriteBase /xenforo

That will likely need to be uncommented and change the /xenforo part to be /xf23 as that is the path your XF installation is at.
 
Top Bottom