Discuz! info: MySQL Query Error

Time: 2024-4-29 7:02am
Script: /cyclub/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.shown_medals,
mf.sightml AS signature, mf.customstatus, mf.spacename, mf.lucky, mf.mood
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.pid in('4285620','4286098','4286182','4286337','4287473','4287621') ORDER BY pid DESC AND p.invisible = 0 AND (p.status<>12 AND p.status<>16 OR p.status=12 AND p.authorid='0') ORDER BY dateline LIMIT 0, 10
Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND p.invisible = 0 AND (p.status<>12 AND p.status<>16 OR p.status=12 AND p...' at line 9
Errno.: 1064

Similar error report has been dispatched to administrator before.

到 http://faq.comsenz.com 搜索此错误的解决方案