Topic on Project:Support desk

problem with your login session

7
91.35.69.118 (talkcontribs)

Hello folks! I have set up a new Mediawiki installation (1.27.0). The installation went fine, but now I cannot login with the user account I created during the install process. Error message is: "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again."

What can I do about this?

AhmadF.Cheema (talkcontribs)
2003:4F:4D5D:2301:7DEC:EB86:211F:253F (talkcontribs)

Thank you very, very much for your reply, Ahmad. Unfortunately it didn't help. When I change $wgMainCacheType and/or $wgSessionCacheType to anything else than CACHE_ACCEL, then the Mediawiki page cannot be loaded at all.

AhmadF.Cheema (talkcontribs)

Does the MediaWiki page give an error or does it keep on loading indefinitely?

2003:4F:4D5D:2301:7DEC:EB86:211F:253F (talkcontribs)

It works now with Mediawiki 1.26.3.

2003:4F:4D5D:2301:7DEC:EB86:211F:253F (talkcontribs)

MW 1.27.0 gave an error 500.

AhmadF.Cheema (talkcontribs)

The error 500 means there is probably some configuration or extensions problem.

If you still want to try 1.27, you will have to set

$wgShowExceptionDetails = true;

at the end of your LocalSettings.php file, to get more information about the error.

It is possible that you made some syntax error while editing your LocalSettings.php.

Reply to "problem with your login session"