Hello, I have installed MediaWiki on a local host, but this message appeared while logging in to the MediaWiki account: "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form." I'm using XAMPP to launch the local host.
Topic on Project:Support desk/Flow
try setting $wgSessionCacheType = CACHE_DB;
This issue usually means something is wrong with cache config (e.g. apcu). It will likely also make your wiki be slow.
Check also you have cookies enabled
But then, I got the following (in Polish):
[acc7e29f297d1335de199a15] 2020-01-26 08:07:31: Krytyczny wyjątek typu „InvalidArgumentException”
I refreshed the page and got:
[894563b0ab7719a1d0e77f99] 2020-01-26 08:07:57: Krytyczny wyjątek typu „InvalidArgumentException”
I copied the coding and placed in LocalSettings.php, with quote marks around "CACHE_DB". I ended up removing the quote marks. The login works.
yes, not having quote marks is important. CACHE_DB is a constant not a string.
Hi all, I was having the exact same issue. No recent install or upgrade. Things were running fine and than, all of the sudden, I could not login on my browser of choice (Chrome). I could, however, login using an incognito window on Chrome or a different browser (tryed Firefox).
I solved it by clearing my browser cache and deleting all cookies, heading back to the login page, clicking on the "forgot password" link and changing my password. Now things are back to normal.
Hope this helps