LimeSurvey - 错误 - 在数据库中找不到活动记录类“SettingGlobal”的表“{{settings_global}}”

问题描述

我正在尝试将我的limesurvey 应用程序从一台服务器移动到另一台服务器。我已经复制了所有源文件,创建了数据库并导入了数据。

当我打开应用程序时,它报告了这个错误。

CDbException 活动记录类的表“{{settings_global}}” 在数据库中找不到“SettingGlobal”。

/home/deb125679/domains/xxxx.org/public_html/testyourmatch/framework/db/ar/CActiveRecord.php(2387)

2375 2376 /** 2377 * 构造函数。第2378话 CActiveRecord $model 模型实例 2379 * @throws CDbException 如果活动记录类的指定表不能为 在数据库中找到 2380 */ 2381 公共函数 __construct($model) 2382 { 2383 $this->_modelClassName=get_class($model); 2384 2385
$tableName=$model->tableName(); 2386
if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null) 2387 throw new CDbException(Yii::t('yii','The table 在活动记录类“{class}”中找不到“{table}” 数据库。',2388
array('{class}'=>$this->_modelClassName,'{table}'=>$tableName)));

我也在本地主机中收到此错误。提到的表存在于数据库中。请检查附件。

enter image description here

数据库配置:

return array(
    'components' => array(
        'db' => array(
            'connectionString' => 'mysql:host=localhost;port:3308;dbname=testyourmatch;','emulatePrepare' => true,'username' => 'root','password' => '','charset' => 'utf8','tablePrefix' => 'lime_',),

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...