CDbException: CDbConnection failed to open the DB connection. in /home/facestore.pt/app/library/yii/framework/db/CDbConnection.php:405 Stack trace: #0 /home/facestore.pt/app/library/yii/framework/db/CDbConnection.php(347): CDbConnection->open() #1 /home/facestore.pt/app/releases/20180118165533/facebook/protected/models/db/dbconector.php(24): CDbConnection->setActive(true) #2 /home/facestore.pt/app/releases/20180118165533/facebook/protected/models/MyFacebook.php(63): dbconector->__construct() #3 /home/facestore.pt/app/releases/20180118165533/facebook/protected/components/ZendUrlRule.php(53): MyFacebook::getStoreByWebStoreName('impalastore.fac...') #4 /home/facestore.pt/app/library/yii/framework/web/CUrlManager.php(372): ZendUrlRule->parseUrl(Object(CUrlManager), Object(CHttpRequest), 'texteis-lar', 'texteis-lar') #5 /home/facestore.pt/app/library/yii/framework/web/CWebApplication.php(140): CUrlManager->parseUrl(Object(CHttpRequest)) #6 /home/facestore.pt/app/library/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() #7 /home/facestore.pt/app/releases/20180118165533/facebook/index.php(41): CApplication->run() #8 {main}