- Discuz! info: MySQL Query Error
- User: kfn-yy
- Time: 2008-6-7 2:29pm
- Script: s iewthread.php
- SQL: SELECT p.*, m.uid, m.username, m.groupid, m.adminid, m.regdate, m.lastactivity, m.posts, 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,pd.petname, pd.mypetpic, pd.pettype, pd.mypetjob, pd.mypetlevel, pd.mypetexp, pd.mypethp, pd.mypetmaxhp, pd.mypetsp, pd.mypetmp, pd.mypetmaxmp, pd.mypetgood 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]wxpetdata pd ON pd.username=m.username
- WHERE p.tid='142' AND p.invisible='0' ORDER BY dateline LIMIT 0, 20
- 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 '.spacename
- FROM [Table]posts p
- LEFT JOIN [Table]members m ON m.uid=p.authorid
- ' at line 5
- Errno.: 1064
- Similar error report has beed dispatched to administrator before.
- 到 http://faq.comsenz.com 搜索此错误的解决方案
复制代码
修改后进入帖子时出现这个 |