Hi there,
We’ve just taken over a website. Have imported dumped the Database, uploaded the files, and getting this:
CDbException
The table “cms_settings” for active record class “CmsSettings” cannot be found in the database.
Checking the database, that table exists. Have edited /Protected/Config/Web.php to database IP and details but still having the same error?
<?php
return CMap::mergeArray(
require(dirname(__FILE__) . '/main.php'),
array(
'components' => array(
'cache' => array(
'class' => 'CDbCache',
),
/*
'db'=>array(
'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
),
*/
'db' => array(
'class' => 'system.db.CDbConnection',
'schemaCachingDuration' => 3600,
'connectionString' => 'mysql:149.255.59.14;dbname=labcares_labcare',
'emulatePrepare' => true,
'username' => '********(correct username)',
'password' => '********(Correct Password)',
'charset' => 'utf8',
),
),
)
);
Any help would be appreciated