Discuz! info: MySQL Query Error
Time: 2025-1-20 9:51pm
Script: /cyclub/redirect.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('4090909','4091153','4091234','4091254','4095385','4095827','4096835') 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