:(
1146:Table 'ybi1.ot_code' doesn't exist [ SQL语句 ] : SHOW COLUMNS FROM `ot_code`
错误位置
FILE: C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Db\Driver.class.php LINE: 350
TRACE
#0 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Db\Driver.class.php(350): E('1146:Table 'ybi...')
#1 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Db\Driver.class.php(180): Think\Db\Driver->error()
#2 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(56): Think\Db\Driver->query('SHOW COLUMNS FR...')
#3 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('ot_code')
#4 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Model.class.php(1454): Think\Model->_checkTableInfo()
#6 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 C:\phpStudy\WWW\ybi\ThinkPHP\Common\functions.php(621): Think\Model->__construct('code', '', '')
#8 C:\phpStudy\WWW\ybi\User\Home\Controller\IndexController.class.php(1045): M('code')
#9 [internal function]: Home\Controller\IndexController->tgbzcl()
#10 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#11 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\IndexController), 'tgbzcl')
#12 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#13 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#14 C:\phpStudy\WWW\ybi\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#15 C:\phpStudy\WWW\ybi\index.php(47): require('C:\\phpStudy\\WWW...')
#16 {main}
ThinkPHP3.2.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]
Please pay attention to the key point " Table 'ybi1.ot_code' doesn't exist "
Baidu Translation can help you solve the problem.
Isn’t the prompt very accurate? The database table does not exist
Template does not exist: ./User/Home/View/default/ Public/404 .html