Skip to content
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

独立页面中留言板页面访问显示database query error #47

Closed
CandyLeaves opened this issue Dec 26, 2024 · 4 comments
Closed

独立页面中留言板页面访问显示database query error #47

CandyLeaves opened this issue Dec 26, 2024 · 4 comments

Comments

@CandyLeaves
Copy link

创建独立页面,使用模板:留言,进行页面预览或者发布页面后点击该页面报错。

image

image

全新安装的typecho和本主题及插件,其他所有功能没有发现问题

BearSimple主题版本:v2.8.1.20241010[更新日志]
PHP版本:8.2.20
网站服务器:nginx
数据库:Pdo_Mysql[Version:8.0.40]
Typecho版本:1.2.1
User Agent信息:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

@whitebearcode
Copy link
Owner

仅使用留言模板出现该问题还是创建任何独立页面都出现该问题呢

@CandyLeaves
Copy link
Author

仅留言板页面会出现该错误

@whitebearcode
Copy link
Owner

你好,可能为数据库版本原因暂未适配,可暂时将
/usr/themes/bearsimple/messages.php中从第35行开始到第50行的代码删掉,即可恢复正常访问
这个问题会在后续版本中处理,感谢反馈。

@CandyLeaves
Copy link
Author

非常感谢您的努力,按照您的方法该问题已经解决,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants