- 積分
- 522
- 威望
- 522
- 金錢
- 246
- 最後登錄
- 2022-4-25
|
管理员好。我这几天不知怎么回事,论坛发帖经常出现下面的代码,请求援助,谢谢
Discuz! info: MySQL Query Error
User: 罗平
Time: 2015-11-23 9:31am
Script: /viewthread.php
SQL: SELECT p.*, m.uid, m.username, m.groupid, m.adminid, m.regdate, m.lastactivity, m.posts, m.threads, m.digestposts, m.oltime,
m.pageviews, m.credits, m.extcredits1, m.extcredits2, m.extcredits3, m.extcredits4, m.extcredits5, m.extcredits6,
m.extcredits7, m.extcredits8, m.email, m.gender, m.showemail, m.invisible, mf.nickname, mf.site,
mf.icq, mf.qq, mf.yahoo, mf.msn, mf.taobao, mf.alipay, mf.location, mf.medals,
mf.sightml AS signature, mf.customstatus, mf.spacename
FROM [Table]posts p
LEFT JOIN [Table]members m ON m.uid=p.authorid
LEFT JOIN [Table]memberfields mf ON mf.uid=m.uid
WHERE p.tid='1454' AND p.invisible='0' ORDER BY dateline LIMIT -0, 0
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-0, 0' at line 9
Errno.: 1064
到 http://faq.comsenz.com 搜索此错误的解决方案 |
|