Discuz! info: MySQL Query Error
User: admin
Time: 2006-9-28 7:42pm
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.extcredits2, m.extcredits3, m.extcredits4, m.extcredits5, m.extcredits6,
m.extcredits7, m.extcredits8, m.email, m.gender, m.showemail, m.invisible, m.avatarshowid, m.xspacestatus, 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,tt.mypet, tt.mypetpic, tt.mypetname, tt.mypetjob, tt.mypetexp, tt.mypethp, tt.mypetmaxhp, tt.mypetsp, tt.mypetmp, tt.mypetmaxmp, tt.mypetdead, tt.openpk
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 tt ON tt.username=m.username
WHERE p.tid='4' AND p.invisible='0' ORDER BY dateline LIMIT 0, 10
Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (gbk_chinese_ci,IMPLICIT) for operation '='
Errno.: 1267
Similar error report has beed dispatched to administrator before.
修改后和第一页那朋友出现同样的问题,翻了好几页也没有看到怎么修改,郁闷
viewthread.php
这文件出了事 |