后台登录后报错1064,请大神帮忙

浏览:454 发布日期:2018/03/29 分类:求助交流
1064: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 ') AND `status` = 1 AND `parent` = 0 ORDER BY sort asc' at line 1 [ SQL语句 ] : SELECT * FROM `wt_system_menu` WHERE `linkurl` IN () AND `status` = 1 AND `parent` = 0 ORDER BY sort asc
错误位置
FILE: D:\phpStudy\WWW\xiao\web\Core\Library\Think\Db\Driver.class.php  LINE: 350

TRACE
#0 D:\phpStudy\WWW\xiao\web\Core\Library\Think\Db\Driver.class.php(350): E('1064:You have a...')
#1 D:\phpStudy\WWW\xiao\web\Core\Library\Think\Db\Driver.class.php(180): Think\Db\Driver->error()
#2 D:\phpStudy\WWW\xiao\web\Core\Library\Think\Db\Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 D:\phpStudy\WWW\xiao\web\Core\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#4 D:\phpStudy\WWW\xiao\web\apps\System\Controller\_initController.class.php(40): Think\Model->select()
#5 D:\phpStudy\WWW\xiao\web\apps\System\Controller\_initController.class.php(24): System\Controller\_initController->getMenuList()
#6 D:\phpStudy\WWW\xiao\web\Core\Library\Think\Controller.class.php(41): System\Controller\_initController->_initialize()
#7 D:\phpStudy\WWW\xiao\web\Core\Common\functions.php(695): Think\Controller->__construct()
#8 D:\phpStudy\WWW\xiao\web\Core\Library\Think\App.class.php(89): controller('Index', '')
#9 D:\phpStudy\WWW\xiao\web\Core\Library\Think\App.class.php(204): Think\App::exec()
#10 D:\phpStudy\WWW\xiao\web\Core\Library\Think\Think.class.php(120): Think\App::run()
#11 D:\phpStudy\WWW\xiao\web\Core\Core.php(97): Think\Think::start()
#12 D:\phpStudy\WWW\xiao\web\index.php(34): require('D:\\phpStudy\\WWW...')
#13 {main}
最佳答案
评论( 相关
后面还有条评论,点击查看>>