Discuz! info: MySQL Query Error

Time: 2024-11-5 1:37pm
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
LEFT JOIN [Table]trades tr ON p.pid=tr.pid WHERE p.tid='132164' AND p.invisible='0' AND tr.tid IS null ORDER BY dateline LIMIT -10, 10
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 '-10, 10' at line 9
Errno.: 1064

Similar error report has been dispatched to administrator before.

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