Jump to content

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


Jack

Recommended Posts

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值的前题是已知自己有改过文件而造成的问题

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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...