Topic on Project:Support desk

Can't login to my admin account

5
Alex Swak (talkcontribs)

Whenever I try to login I get this message:

"There seems to be a problem with your login session; this action has been cancelled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again."

I'm using:

MediaWiki 1.29.1

PHP 5.6.32

MySQL 5.7

This is my website. I don't use caching.

AhmadF.Cheema (talkcontribs)
Alex Swak (talkcontribs)

I tried setting $wgSessionCacheType to every possible value. Didn't work.

AdamLacey (talkcontribs)

Did you manage to resolve this as I'm having the same issue when I recently restored a DB? I also then upgraded the site in a hope it would help but still no luck unfortunately

AdamLacey (talkcontribs)

Ignore me! I discovered it was because I had set the site to read only and then restored a DB after that!

I just commented out "$wgReadOnly = 'message'" and then it woked

Reply to "Can't login to my admin account"