跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

PHP论坛人

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。

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

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

 

创建帐户或登录后发表意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.