php 部署错误, 提示为数据库表的问题

一一无念 发布于 2016/01/05 20:25
阅读 977
收藏 0
PHP
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'thinkphp.think_config' doesn't exist
错误位置


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


#0 /var/www/html/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /var/www/html/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(56): Think\Db\Driver->query('SHOW COLUMNS FR...')
#2 /var/www/html/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('think_config')
#3 /var/www/html/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#4 /var/www/html/ThinkPHP/Library/Think/Model.class.php(1434): Think\Model->_checkTableInfo()
#5 /var/www/html/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#6 /var/www/html/ThinkPHP/Common/functions.php(621): Think\Model->__construct('config', '', '')
#7 /var/www/html/Application/Home/Controller/CommonController.class.php(11): M('config')
#8 /var/www/html/ThinkPHP/Library/Think/Controller.class.php(41): Home\Controller\CommonController->_initialize()
#9 /var/www/html/ThinkPHP/Common/functions.php(681): Think\Controller->__construct()
#10 /var/www/html/ThinkPHP/Library/Think/App.class.php(89): controller('Index', '')
#11 /var/www/html/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#12 /var/www/html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#13 /var/www/html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#14 /var/www/html/index.php(25): require('/var/www/html/T...')
#15 {main}

加载中
0
小虫0302
小虫0302
都提示表不存在了,唉
0
一一无念
一一无念
但是部署文档里没有指定要创建对应的表啊
0
batcom
batcom
表不存在,导入安装包里面的sql文件
返回顶部
顶部