Fatal error: Uncaught exception 'CDbException' with message 'CDbConnection failed to open the DB connection.' in /var/www/html/yiiframework/db/CDbConnection.php:405 Stack trace: #0 /var/www/html/yiiframework/db/CDbConnection.php(347): CDbConnection->open() #1 /var/www/html/yiiframework/db/CDbConnection.php(325): CDbConnection->setActive(true) #2 /var/www/html/yiiframework/base/CModule.php(394): CDbConnection->init() #3 /var/www/html/yiiframework/base/CModule.php(103): CModule->getComponent('db') #4 /var/www/html/protected/components/FunctionsV3.php(6264): CModule->__get('db') #5 /var/www/html/protected/controllers/StoreController.php(141): FunctionsV3::checkIfTableExist('option') #6 /var/www/html/yiiframework/web/CWebApplication.php(281): StoreController->init() #7 /var/www/html/yiiframework/web/CWebApplication.php(141): CWebApplication->runController('store/menu') #8 /var/www/html/yiiframework/base/CApplication.php(185): CWebApplication->processRequest() #9 /var/www/html/index.php(54): CApplication->run() #10 {main} th in /var/www/html/yiiframework/db/CDbConnection.php on line 405