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" #5

Closed
Zhangzijing opened this issue Jan 10, 2019 · 2 comments
Closed

引用块存在错位情况, 以及"Database Query Error" #5

Zhangzijing opened this issue Jan 10, 2019 · 2 comments
Labels
已解决 已经处理或解决了问题

Comments

@Zhangzijing
Copy link
Contributor

当引用的文字只有一行时会错误, 详见你的博客的最新一篇文章的第一行

当使用Sqlite的时候, Database Query Error

@Zhangzijing
Copy link
Contributor Author

开启调试模式发现错误为:

SQLSTATE[HY000]: General error: 1 no such function: RAND

修改建议: 判断如果是sqlite数据库, 就改用random()函数(function文件里面), 如果不知道怎么判断, 就做成个设置项目.

@Seevil
Copy link
Owner

Seevil commented Jan 15, 2019

哇塞dalao,增加了一个设置项

@Seevil Seevil added the 已解决 已经处理或解决了问题 label Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
已解决 已经处理或解决了问题
Projects
None yet
Development

No branches or pull requests

2 participants