- Posts: 225
- Thank you received: 41
Ask the community, share ideas, and connect with other LimeSurvey users!
]2019/01/26 16:51:45 [error] [system.db.CDbCommand] CDbCommand::execute() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'limesurvey.sessions' doesn't exist. The SQL statement executed was: DELETE FROM `sessions` WHERE expire<:expire. Bound with :expire=1548517905.
2019/01/26 16:51:45 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'limesurvey.settings_global' doesn't exist. The SQL statement executed was: SHOW FULL COLUMNS FROM `settings_global`.
2019/01/26 16:51:45 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'limesurvey.settings_global' doesn't exist. The SQL statement executed was: SHOW FULL COLUMNS FROM `settings_global`.
2019/01/26 16:51:45 [error] [exception.CDbException] CDbException: The table "{{settings_global}}" for active record class "SettingGlobal" cannot be found in the database. in /var/www/limesurvey/framework/db/ar/CActiveRecord.php:2390
Stack trace:
#0 /var/www/limesurvey/framework/db/ar/CActiveRecord.php(413): CActiveRecordMetaData->__construct(Object(SettingGlobal))
#1 /var/www/limesurvey/framework/db/ar/CActiveRecord.php(682): CActiveRecord->getMetaData()
#2 /var/www/limesurvey/application/models/LSActiveRecord.php(34): CActiveRecord->hasAttribute('created')
#3 /var/www/limesurvey/framework/db/ar/CActiveRecord.php(398): LSActiveRecord->behaviors()
#4 /var/www/limesurvey/application/models/SettingGlobal.php(33): CActiveRecord::model('SettingGlobal')
#5 /var/www/limesurvey/application/helpers/globalsettings_helper.php(23): SettingGlobal::model()
#6 /var/www/limesurvey/application/helpers/globalsettings_helper.php(18): injectglobalsettings()
#7 /var/www/limesurvey/framework/YiiBase.php(321): require('/var/www/limesu...')
#8 /var/www/limesurvey/application/core/LSYii_Application.php(179): YiiBase::import('application.hel...', true)
#9 /var/www/limesurvey/application/core/LSYii_Controller.php(70): LSYii_Application->loadHelper('globalsettings')
#10 /var/www/limesurvey/application/core/LSYii_Controller.php(39): LSYii_Controller->loadHelper('globalsettings')
#11 /var/www/limesurvey/framework/web/CWebApplication.php(359): LSYii_Controller->__construct('admin', NULL)
#12 /var/www/limesurvey/framework/web/CWebApplication.php(276): CWebApplication->createController('')
#13 /var/www/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController('admin')
#14 /var/www/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest()
#15 /var/www/limesurvey/index.php(194): CApplication->run()
#16 {main}
REQUEST_URI=/limesurvey3/admin/
$oDB->createCommand()->createTable('{{sessions}}', array( 'id' => "string(32) NOT NULL", 'expire' => "integer NULL", 'data' => "LONGBLOB", ));
$oDB->createCommand()->createTable('{{sessions}}', array( 'id' => "string(32) NOT NULL", 'expire' => "integer NULL", 'data' => "binary", ));