New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
备份功能未删除干净旧有评论导致恢复备份后/admin/index.php报Server Error 500 #1747
Labels
bug
Something isn't working
Comments
恢复数据的时候有报错么? |
虽然说再恢复原有dat备份后删除评论并再恢复现有dat备份即可正常,但还是提一下,毕竟万一有人不备份现有dat直接恢复原有dat备份,那就得进数据库删了(好绕啊:<但没办法) |
没有 /doge |
开了debug就正常所以没办法获取错误信息,只能从后台首页和评论的地方发现问题 |
随便问一下,在学php自己写插件和在新的官方主题中修改首页为名片式,但是不知道修改后所有文章页面(即默认主题首页)在哪个链接,/archive/吗还是 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述这个 Bug
旧的博客dat备份恢复评论后,后台概要即/admin/index.php报Server Error 500且开debug后获取不到错误信息
复现方式
复现的步骤:
1.前往 '后台备份',备份现有dat文件,前往 '管理文章'删除安装自动生成的“欢迎使用 Typecho”一文及下属评论, 前往 '后台备份',备份现有dat文件并上传旧有dat(未删除)备份文件,再上传现有dat文件
5.在config.inc.php添加define('TYPECHO_DEBUG', TRUE); 打开debug后可恢复正常但可见评论有误,且该评论无法手动删除(猜测是备份功能恢复备份时未删除旧有评论记录,数据库与后台页面不匹配报错的)
期望的结果
后台概要应该正常显示
截图
截图较多因此放到上面步骤
平台
The text was updated successfully, but these errors were encountered: