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