How can I fix the MediaWiki error “Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.”?

前端 未结 12 2321
春和景丽
春和景丽 2021-02-14 02:03

The problem I am having is that I can not log on to my newly created wiki that I made using MediaWiki. I have searched the web for an answer, and the ones I found did not help w

12条回答
  •  攒了一身酷
    2021-02-14 02:41

    The easiest solution, also recommended by Aaron Schulz, is generally to set

    $wgSessionsInObjectCache = true;
    $wgMainCacheType = CACHE_ANYTHING;
    

    in your LocalSettings.php. In recent PHP you'll have OPcache enabled by default; if no accelerator is available, at worst this configuration will use the database.

    See also cache documentation.

提交回复
热议问题