Fatal error: Uncaught CDbException: CDbConnection failed to open the DB connection. in /home/paycart/public_html/paymeal/yiiframework/db/CDbConnection.php:405 Stack trace: #0 /home/paycart/public_html/paymeal/yiiframework/db/CDbConnection.php(347): CDbConnection->open() #1 /home/paycart/public_html/paymeal/yiiframework/db/CDbConnection.php(325): CDbConnection->setActive(true) #2 /home/paycart/public_html/paymeal/yiiframework/base/CModule.php(394): CDbConnection->init() #3 /home/paycart/public_html/paymeal/yiiframework/base/CModule.php(103): CModule->getComponent('db') #4 /home/paycart/public_html/paymeal/protected/components/FunctionsV3.php(6270): CModule->__get('db') #5 /home/paycart/public_html/paymeal/protected/controllers/StoreController.php(149): FunctionsV3::checkIfTableExist('option') #6 /home/paycart/public_html/paymeal/yiiframework/web/CWebApplication.php(281): StoreController->init() #7 /home/paycart/public_html/paymeal/yiiframework/web/CWebApplication.php(141): CWebApplication->runController('store/cuisine') #8 in /home/paycart/public_html/paymeal/yiiframework/db/CDbConnection.php on line 405