:(
1146:表 'ybi1.ot_code' 不存在 [ 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('代码')
##9 [内部函数]: Home\Controller\IndexController->tgbzcl()
##10 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod-> invoke(对象(Home\Controller\IndexController))
11 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(对象(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 { 快速简单的 OOP PHP 框架 } -- [ 我们可以只要想想]
能留意下重点不 “ Table 'ybi1.ot_code' doesn't exist ”
百度翻译就能帮你解决的问题。
提示的不是非常准确了吗 数据库表不存在
模板不存在:./User/Home/View/default/ Public/404 .html