Topic on Project:Support desk

Session Hijacking and not able to login or create new account MW 1.29.1

2
CurlyCurly (talkcontribs)

Hi,

I am using

  • MW 1.29.1
  • PHP 5.6.31
  • Mysql 5.7.19
  • Apache 2.4

I am getting the following error message and not able to login and create any new user account.

Error : 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.

I searched through the web and tried couple of solutions that are listed below, but I am not able to get the issue cleared. Following are the solution I tried.

1. Adding different combinations of the below listed.

$wgMainCacheType = CACHE_ACCEL;, CACHE_NONE;, CACHE_ANYTHING;
$wgSessionCacheType = CACHE_DB;

2. Setting cookie secure to false.

$wgCookieSecure = false;

3. Setting tmp folder under MW installation and referring it under Localsettings.php

I am running this setup in my local machine.

Thanks for the help.

星耀晨曦 (talkcontribs)

Do you use cache? E.g. apcu or opcache.

If you use cache, please click this document to configure.