Bug 1908 - 增加住户页面,点击导航栏上增加住户,出错。
增加住户页面,点击导航栏上增加住户,出错。
Status: VERIFIED FIXED
Product: 核心模块
Classification: 云服务软件
Component: 核心模块
未指定
BG Windows
: --- enhancement
: ---
Assigned To: 杜二红
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-30 15:44 CST by 杨玲
Modified: 2017-07-06 16:29 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 杨玲 2017-06-30 15:44:11 CST
:(
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') LIMIT 1' at line 1
错误位置

FILE: /var/www/html/huijiatong/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169
TRACE

#0 /var/www/html/huijiatong/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /var/www/html/huijiatong/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /var/www/html/huijiatong/ThinkPHP/Library/Think/Model.class.php(759): Think\Db\Driver->select(Array)
#3 /var/www/html/huijiatong/Application/Core/Controller/RoomController.class.php(100): Think\Model->find()
#4 [internal function]: Core\Controller\RoomController->room_owner_add()
#5 /var/www/html/huijiatong/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Core\Controller\RoomController))
#6 /var/www/html/huijiatong/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#7 /var/www/html/huijiatong/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /var/www/html/huijiatong/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /var/www/html/huijiatong/index.php(19): require('/var/www/html/h...')
#10 {main}
Comment 1 杜二红 2017-07-05 17:57:33 CST
现已经不报错。
Comment 2 杨玲 2017-07-06 16:29:54 CST
已验证