Following is the complete error output…
CDbException
CDbConnection failed to open the DB connection: could not find driver
/var/www/eesystem/protected/components/Controller.php(23)
11 */
12 public $layout='//layouts/column1';
13 /**
14 * @var array context menu items. This property will be assigned to {@link CMenu::items}.
15 */
16 public $menu=array();
17 /**
18 * @var array the breadcrumbs of the current page. The value of this property will
19 * be assigned to {@link CBreadcrumbs::links}. Please refer to {@link CBreadcrumbs::links}
20 * for more details on how to specify this property.
21 */
22 public function init() {
23 if(Yii::app()->user->isGuest) {
24 echo "JJJ";
25 //Yii::app()->user->loginRequired();
26 }
27 }
28 public $breadcrumbs=array();
29 }
Stack Trace
#0
+
/var/www/yii-1.1.13/framework/db/CDbConnection.php(330): CDbConnection->open()
#1
+
/var/www/yii-1.1.13/framework/web/CDbHttpSession.php(185): CDbConnection->setActive(true)
#2
unknown(0): CDbHttpSession->openSession("/var/lib/php5", "PHPSESSID")
#3
+
/var/www/yii-1.1.13/framework/web/CHttpSession.php(118): session_start()
#4
+
/var/www/yii-1.1.13/framework/web/CHttpSession.php(92): CHttpSession->open()
#5
+
/var/www/yii-1.1.13/framework/base/CModule.php(387): CHttpSession->init()
#6
+
/var/www/yii-1.1.13/framework/web/CWebApplication.php(201): CModule->getComponent("session")
#7
+
/var/www/yii-1.1.13/framework/web/auth/CWebUser.php(193): CWebApplication->getSession()
#8
+
/var/www/yii-1.1.13/framework/base/CModule.php(387): CWebUser->init()
#9
+
/var/www/yii-1.1.13/framework/base/CModule.php(103): CModule->getComponent("user")
#10
–
/var/www/eesystem/protected/components/Controller.php(23): CModule->__get("user")
18 * @var array the breadcrumbs of the current page. The value of this property will
19 * be assigned to {@link CBreadcrumbs::links}. Please refer to {@link CBreadcrumbs::links}
20 * for more details on how to specify this property.
21 */
22 public function init() {
23 if(Yii::app()->user->isGuest) {
24 echo "JJJ";
25 //Yii::app()->user->loginRequired();
26 }
27 }
28 public $breadcrumbs=array();
#11
+
/var/www/yii-1.1.13/framework/web/CWebApplication.php(281): Controller->init()
#12
+
/var/www/yii-1.1.13/framework/web/CWebApplication.php(141): CWebApplication->runController("")
#13
+
/var/www/yii-1.1.13/framework/base/CApplication.php(169): CWebApplication->processRequest()
#14
–
/var/www/eesystem/index.php(25): CApplication->run()
20 require_once($helpers);
21 require_once($pdfhelpers);
22 //require_once($firephp1);
23 //require_once($firephp2);
24
25 Yii::createWebApplication($config)->run();
2013-06-28 23:33:59 Apache/2.2.22 (Ubuntu) Yii Framework/1.1.13
Please help.