Discuz! info: MySQL Query Error
User: admin
Time: 2006-1-10 9:59pm
Script: /viewthread.php
SQL: SELECT p.*, m.uid, m.username, m.groupid, m.regdate, m.lastactivity, m.posts, m.digestposts, m.oltime,
m.pageviews, m.credits, m.extcredits1, m.gender, m.extcredits2, m.extcredits3, m.extcredits4, m.extcredits5, m.extcredits6,
m.extcredits7, m.extcredits8, m.email, m.showemail, b.mypetname, .mypet, b.mypetname, b.mypetlevel, b.mypetdead, b.openpk, b.mypethp, b.mypetsp, b.mypetexp, mypetsex, b.mypetsx, m.hw, m.invisible, m.avatarshowid, mf.nickname, mf.site,
mf.icq, mf.qq, mf.yahoo, mf.msn, mf.taobao, mf.alipay, mf.location, mf.medals, mf.avatar, mf.avatarwidth,
mf.avatarheight, mf.sightml AS signature, mf.customstatus
FROM cdb_posts p
LEFT JOIN cdb_members m ON m.uid=p.authorid
LEFT JOIN cdb_memberfields mf ON mf.uid=m.uid
LEFT JOIN cdb_mypetdata b ON b.username=p.author
WHERE p.tid='883' AND p.invisible='0' ORDER BY dateline LIMIT 0, 15
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 ' b.mypetname, b.mypetlevel, b.mypetdead, b.openpk, b.mypethp, b
Errno.: 1064
An error report has been dispatched to our administrator. |