/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/db/CDbConnection.php(382)
370 throw new CDbException('CDbConnection.connectionString cannot be empty.'); 371 try 372 { 373 Yii::trace('Opening DB connection','system.db.CDbConnection'); 374 $this->_pdo=$this->createPdoInstance(); 375 $this->initConnection($this->_pdo); 376 $this->_active=true; 377 } 378 catch(PDOException $e) 379 { 380 if(YII_DEBUG) 381 { 382 throw new CDbException('CDbConnection failed to open the DB connection: '. 383 $e->getMessage(),(int)$e->getCode(),$e->errorInfo); 384 } 385 else 386 { 387 Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException'); 388 throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo); 389 } 390 } 391 } 392 } 393 394 /**
#0 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/db/CDbConnection.php(331): CDbConnection->open() 326 public function setActive($value) 327 { 328 if($value!=$this->_active) 329 { 330 if($value) 331 $this->open(); 332 else 333 $this->close(); 334 } 335 } 336 |
#1 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/db/CDbConnection.php(309): CDbConnection->setActive() 304 */ 305 public function init() 306 { 307 parent::init(); 308 if($this->autoConnect) 309 $this->setActive(true); 310 } 311 312 /** 313 * Returns whether the DB connection is established. 314 * @return boolean whether the DB connection is established |
#2 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/base/CModule.php(388): CDbConnection->init() 383 if(!isset($config['enabled']) || $config['enabled']) 384 { 385 Yii::trace("Loading \"$id\" application component",'system.CModule'); 386 unset($config['enabled']); 387 $component=Yii::createComponent($config); 388 $component->init(); 389 return $this->_components[$id]=$component; 390 } 391 } 392 } 393 |
#3 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/web/CDbHttpSession.php(161): CModule->getComponent() 156 { 157 if($this->_db!==null) 158 return $this->_db; 159 else if(($id=$this->connectionID)!==null) 160 { 161 if(($this->_db=Yii::app()->getComponent($id)) instanceof CDbConnection) 162 return $this->_db; 163 else 164 throw new CException(Yii::t('yii','CDbHttpSession.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.', 165 array('{id}'=>$id))); 166 } |
#4 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/web/CDbHttpSession.php(185): CDbHttpSession->getDbConnection() 180 */ 181 public function openSession($savePath,$sessionName) 182 { 183 if($this->autoCreateSessionTable) 184 { 185 $db=$this->getDbConnection(); 186 $db->setActive(true); 187 try 188 { 189 $db->createCommand()->delete($this->sessionTableName,'expire<:expire',array(':expire'=>time())); 190 } |
#5 |
unknown(0): CDbHttpSession->openSession()
|
#6 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/web/CHttpSession.php(115): session_start() 110 public function open() 111 { 112 if($this->getUseCustomStorage()) 113 @session_set_save_handler(array($this,'openSession'),array($this,'closeSession'),array($this,'readSession'),array($this,'writeSession'),array($this,'destroySession'),array($this,'gcSession')); 114 115 @session_start(); 116 if(YII_DEBUG && session_id()=='') 117 { 118 $message=Yii::t('yii','Failed to start session.'); 119 if(function_exists('error_get_last')) 120 { |
#7 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/web/CHttpSession.php(89): CHttpSession->open() 84 */ 85 public function init() 86 { 87 parent::init(); 88 if($this->autoStart) 89 $this->open(); 90 register_shutdown_function(array($this,'close')); 91 } 92 93 /** 94 * Returns a value indicating whether to use custom session storage. |
#8 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/base/CModule.php(388): CHttpSession->init() 383 if(!isset($config['enabled']) || $config['enabled']) 384 { 385 Yii::trace("Loading \"$id\" application component",'system.CModule'); 386 unset($config['enabled']); 387 $component=Yii::createComponent($config); 388 $component->init(); 389 return $this->_components[$id]=$component; 390 } 391 } 392 } 393 |
#9 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/base/CModule.php(119): CModule->getComponent() 114 * @return boolean whether the property value is null 115 */ 116 public function __isset($name) 117 { 118 if($this->hasComponent($name)) 119 return $this->getComponent($name)!==null; 120 else 121 return parent::__isset($name); 122 } 123 124 /** |
#10 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/protected/components/Controller.php(34): CModule->__isset() 29 if (isset($_GET['lang'])) 30 { 31 $app->language = $_GET['lang']; 32 $app->session['lang'] = $app->language; 33 } 34 else if (isset($app->session['lang'])) 35 { 36 $app->language = $app->session['lang']; 37 } 38 39 $this->ustawGlownyTytulStrony(); |
#11 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/web/CWebApplication.php(282): Controller->init() 277 if(($ca=$this->createController($route))!==null) 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', |
#12 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/web/CWebApplication.php(142): CWebApplication->runController() 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#13 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#14 |
+
–
/home/partgrouppl/domains/agencja.partgroup.pl/public_html/index.php(12): CApplication->run() 07 // specify how many levels of call stack should be shown in each log message 08 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 09 // Turn off all error reporting 10 error_reporting(0); 11 require_once($yii); 12 Yii::createWebApplication($config)->run(); |