安装数据库报这个错误

安装报错 · shawn · 于 7个月前 发布 · 222 次阅读

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.extensions' doesn't exist in /code/fecmall/vendor/yiisoft/yii2/db/Command.php:1290 Stack trace: #0 /code/fecmall/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute() #1 /code/fecmall/vendor/yiisoft/yii2/db/Command.php(1158): yii\db\Command->internalExecute('SELECT FROM ...') #2 /code/fecmall/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL) #3 /code/fecmall/common/config/bootstrap.php(35): yii\db\Command->queryAll() #4 /code/fecmall/appfront/web/index.php(24): require('...') #5 {main} Next yii\db\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.extensions' doesn't exist The SQL being executed was: SELECT FROM extensions where status=1 AND installed_status=1 ORDER BY priority ASC in /code/fecmall/vendor/yiisoft/yii2/db/Sc in /code/fecmall/vendor/yiisoft/yii2/db/Schema.php on line 674

共收到 1 条回复
Fecmall#17个月前 0 个赞

这是你的nginx配置的问题,访问 www.xxx.com/install.php 的时候, 将 www.xxx.com/index.php 文件加载了,进而报的错误

论坛有相关帖子,找了一篇,参看:http://www.fecmall.com/topic/2177

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics