欧美精品亚洲精品日韩经典,午夜秒播,国产福利精品一区二区,亚洲国产成人精品久久,亚洲免费专区,国产精品国产三级国产a,日韩福利网站

龍巖易富通網(wǎng)絡(luò )科技有限公司

龍巖小程序開(kāi)發(fā),龍巖分銷(xiāo)系統

DiscuzX1.5訪(fǎng)問(wèn)群組頁(yè)面時(shí),經(jīng)常出現如下錯誤,刷新以后又變正常

2015.09.10 | 641閱讀 | 0條評論 | 未命名

dz1.5版本為20110321版本,訪(fǎng)問(wèn)群組頁(yè)面錯誤,刷新以后又可以了。

Error messages:
  • [Type] 查詢(xún)語(yǔ)句錯誤
  • [1052] Column 'displayorder' in on clause is ambiguous
  • [Query] SELECT attach.*,t.tid,t.author,t.authorid,t.subject , f.name groupname FROM `forum_attachment` attach INNER JOIN `forum_thread` t ON `t`.`tid`=`attach`.`tid` AND `displayorder`>='0' LEFT JOIN forum_forum f ON t.fid=f.fid LEFT JOIN forum_forumfield ff ON f.fid = ff.fid WHERE `attach`.`dateline`>='1292729484' AND `attach`.`readperm`='0' AND `attach`.`price`='0' AND t.isgroup='1'AND `attach`.`isimage` IN ('1', '-1') ORDER BY `attach`.`dateline` DESC LIMIT 0,4;
解決方法:打開(kāi) /source/class/block/group/block_groupattachment.php 將第290行 ON `t`.`tid`=`attach`.`tid` AND `displayorder`>='0' 改為: ON `t`.`tid`=`attach`.`tid` AND `t`.`displayorder`>='0'

贊 (

發(fā)表評論