错误提示
出错信息:Database SQL: "SELECT distinct C.*,D.name as class_name,D.app,D.urlname as class_urlname FROM dux_tags_has as A inner join dux_tags as B ON B.tag_id = A.tag_id inner join dux_content as C ON C.content_id = A.content_id inner join dux_category as D ON D.class_id = C.class_id WHERE `B`.`tag_id` = '3' ORDER BY B.tag_id DESC LIMIT 0,1024". ErrorInfo: Expression #1 of ORDER BY clause is not in SELECT list, references column 'www.139dzr.com.B.tag_id' which is not in SELECT list; this is incompatible with DISTINCT
出错文件:/home/wwwroot/www.139dzr.com/framework/base/db/MysqlPdoDriver.php
错误行:34
Trace信息:
#0 /home/wwwroot/www.139dzr.com/framework/base/db/MysqlPdoDriver.php(20) framework\base\db\MysqlPdoDriver->query()
#1 /home/wwwroot/www.139dzr.com/framework/base/Model.php(76) framework\base\db\MysqlPdoDriver->select()
#2 /home/wwwroot/www.139dzr.com/app/duxcms/model/TagsHasModel.php(60) framework\base\Model->select()
#3 /home/wwwroot/www.139dzr.com/app/duxcms/controller/TagsContentController.php(33) app\duxcms\model\TagsHasModel->loadContentList()
#4 /home/wwwroot/www.139dzr.com/framework/base/App.php(49) app\duxcms\controller\TagsContentController->index()
#5 /home/wwwroot/www.139dzr.com/framework/core.php(97) framework\base\App::run()
#6 /home/wwwroot/www.139dzr.com/index.php(8) require()
您可以选择   返回  或者  回到首页