problem with mediawiki cookies

前端 未结 5 393
名媛妹妹
名媛妹妹 2021-01-13 08:26

anytime a user logs into our Wiki they get the following error: \"This Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.\" Even

5条回答
  •  攒了一身酷
    2021-01-13 09:16

    Wikimedia's advice is

    Check to make sure PHP's directory for storing session data is writable. This directory can be found in the php.ini file under the session.save_path setting. Errors in this php.ini setting can also cause other problems.

    ... (and) make sure the Internet Guest Account (eg. IUSR_FOOBAR, nobody, or apache) has write permissions to the folder listed in the session.save_path variable of the php.ini file.

    Source.

    If you are using a hosting site you need to edit your php scripting configuration (php.ini). The page should have information on your web document root. If there is already a "tmp" folder created then use it. If there is not a tmp folder in your current set up create one that is NOT browseable by users and tell the php.ini file the location as directed above.

提交回复
热议问题