Mediawiki

来自小青青的笔记
IVEN讨论 | 贡献2019年12月28日 (六) 12:45的版本 (创建页面,内容为“这里记载一些在mediawiki遇到的一些问题: ==缓存问题== 发布时提示登录已经丢失。无论重新提交多少次都没用。。。 于是退…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

这里记载一些在mediawiki遇到的一些问题:

缓存问题

发布时提示登录已经丢失。无论重新提交多少次都没用。。。

于是退出重新登录。登录时一直在提示:“似乎您的登录会话有问题;为了防止会话劫持,这个操作已经被取消。请重新提交表单。”

mediawiki官网这样描述这个问题:

If sessions are not stored on an external caching system such as Redis or Memcached, users may get logged-out, and no further login attempts would succeed during the time the wiki is set read only, receiving a message similar to:

然后我进服务器打开redis-cli,尝试执行flushall,报错:READONLY You can't write against a read only slave.

重启redis后解决。