跳轉到內容
PHP論壇人

文件健康检查 File health check / There are 1 missing files


推薦的文章

File health check 文件健康检查的错误消息

通常是插件 (或论坛主程序) 的某些文件被修改过,但没有生成并记录新的Hash值

 

There are 1 missing files or files with unexpected contents. You should review these.

xf1.png

 

 


File health check results

Check completed on XXXX files. The files listed below have contents different from those originally downloaded.

If you have edited these files yourself, you may ignore this message, otherwise you should investigate further as this may be evidence of corrupted or altered files.

在此需要记下那些文件有错误

xf2.png

 

 

 

 


下载Windows软件 Hash Calculator 哈希计算器

将XF论坛有问题的文件丢入Hash Calculator软件

Hash Calculator软件将生成SHA-256值

从Hash软件中,将SHA-256值复制出来

xf3.png

 

 

 

 


打开XenForo的文件 hashes.json,文件位于 /src/addons/XF/hashes.json

在 hashes.json 中,搜索那个有问题的文件名称,将生成的新SHA-256值,替换掉旧的Hash值,最后保存hashes.json文件

xf4.png

 

 

 

 

上传并覆盖 hashes.json 文件到对应的目录中  /src/addons/XF/hashes.json

到论坛后台 -> Tools -> File health check -> Proceed 再次对论坛文件健康检查

xf5.png

 

 

 

 


完成!

xf6.png

 

 

请注意!

修改Hash值的前题是已知自己有改过文件而造成的问题

如果你真确定自己没修改过,有可能论坛被改动过,加料了!遇到这种情况,最好将论坛数据重新恢复到前几天的备份

 

意見的連結

建立帳號或登入後發表意見

你需要成為會員才能發表意見

建立帳號

在我們的論壇註冊新帳號,只需要幾個簡單步驟!

註冊帳號

登入

已有帳號?請登入。

現在登入
×
×
  • 建立新的...