/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/CDbConnection.php(348)
336 throw new CDbException(Yii::t('yii','CDbConnection.connectionString cannot be empty.')); 337 try 338 { 339 Yii::trace('Opening DB connection','system.db.CDbConnection'); 340 $this->_pdo=$this->createPdoInstance(); 341 $this->initConnection($this->_pdo); 342 $this->_active=true; 343 } 344 catch(PDOException $e) 345 { 346 if(YII_DEBUG) 347 { 348 throw new CDbException(Yii::t('yii','CDbConnection failed to open the DB connection: {error}', 349 array('{error}'=>$e->getMessage())),(int)$e->getCode(),$e->errorInfo); 350 } 351 else 352 { 353 Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException'); 354 throw new CDbException(Yii::t('yii','CDbConnection failed to open the DB connection.'),(int)$e->getCode(),$e->errorInfo); 355 } 356 } 357 } 358 } 359 360 /**
#0 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/CDbConnection.php(297): CDbConnection->open() 292 public function setActive($value) 293 { 294 if($value!=$this->_active) 295 { 296 if($value) 297 $this->open(); 298 else 299 $this->close(); 300 } 301 } 302 |
#1 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/CDbConnection.php(275): CDbConnection->setActive(true) 270 */ 271 public function init() 272 { 273 parent::init(); 274 if($this->autoConnect) 275 $this->setActive(true); 276 } 277 278 /** 279 * Returns whether the DB connection is established. 280 * @return boolean whether the DB connection is established |
#2 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/base/CModule.php(372): CDbConnection->init() 367 if(!isset($config['enabled']) || $config['enabled']) 368 { 369 Yii::trace("Loading \"$id\" application component",'system.CModule'); 370 unset($config['enabled']); 371 $component=Yii::createComponent($config); 372 $component->init(); 373 return $this->_components[$id]=$component; 374 } 375 } 376 } 377 |
#3 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/base/CApplication.php(426): CModule->getComponent("db") 421 * Returns the database connection component. 422 * @return CDbConnection the database connection 423 */ 424 public function getDb() 425 { 426 return $this->getComponent('db'); 427 } 428 429 /** 430 * Returns the error handler component. 431 * @return CErrorHandler the error handler application component. |
#4 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/ar/CActiveRecord.php(607): CApplication->getDb() 602 { 603 if(self::$db!==null) 604 return self::$db; 605 else 606 { 607 self::$db=Yii::app()->getDb(); 608 if(self::$db instanceof CDbConnection) 609 return self::$db; 610 else 611 throw new CDbException(Yii::t('yii','Active Record requires a "db" CDbConnection application component.')); 612 } |
#5 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/ar/CActiveRecord.php(2236): CActiveRecord->getDbConnection() 2231 public function __construct($model) 2232 { 2233 $this->_model=$model; 2234 2235 $tableName=$model->tableName(); 2236 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null) 2237 throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.', 2238 array('{class}'=>get_class($model),'{table}'=>$tableName))); 2239 if($table->primaryKey===null) 2240 $table->primaryKey=$model->primaryKey(); 2241 $this->tableSchema=$table; |
#6 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/ar/CActiveRecord.php(371): CActiveRecordMetaData->__construct(Aanmeldingen) 366 if(isset(self::$_models[$className])) 367 return self::$_models[$className]; 368 else 369 { 370 $model=self::$_models[$className]=new $className(null); 371 $model->_md=new CActiveRecordMetaData($model); 372 $model->attachBehaviors($model->behaviors()); 373 return $model; 374 } 375 } 376 |
#7 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/ar/CActiveRecord.php(386): CActiveRecord::model("Aanmeldingen") 381 public function getMetaData() 382 { 383 if($this->_md!==null) 384 return $this->_md; 385 else 386 return $this->_md=self::model(get_class($this))->_md; 387 } 388 389 /** 390 * Refreshes the meta data for this AR class. 391 * By calling this method, this AR class will regenerate the meta data needed. |
#8 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/db/ar/CActiveRecord.php(62): CActiveRecord->getMetaData() 57 if($scenario===null) // internally used by populateRecord() and model() 58 return; 59 60 $this->setScenario($scenario); 61 $this->setIsNewRecord(true); 62 $this->_attributes=$this->getMetaData()->attributeDefaults; 63 64 $this->init(); 65 66 $this->attachBehaviors($this->behaviors()); 67 $this->afterConstruct(); |
#9 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/httpdocs/protected/controllers/AanmeldingenController.php(98): CActiveRecord->__construct() 093 * If creation is successful, the browser will be redirected to the 'view' page. 094 */ 095 public function actionCreate() 096 { 097 Yii::app()->user->setState('startpagina', 'default'); 098 $model=new Aanmeldingen; 099 100 // Uncomment the following line if AJAX validation is needed 101 // $this->performAjaxValidation($model); 102 103 if(isset($_POST['Aanmeldingen'])) |
#10 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/actions/CInlineAction.php(50): AanmeldingenController->actionCreate() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#11 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/CController.php(300): CInlineAction->runWithParams(array("r" => "aanmeldingen/create", "plaats" => "Putten")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#12 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#13 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#14 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/CController.php(1122): CFilter->filter(CFilterChain) 1117 */ 1118 public function filterAccessControl($filterChain) 1119 { 1120 $filter=new CAccessControlFilter; 1121 $filter->setRules($this->accessRules()); 1122 $filter->filter($filterChain); 1123 } 1124 1125 /** 1126 * Generates pagination information. 1127 * This method can be used to generate pagination information given item count |
#15 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain) 54 * @param CFilterChain $filterChain the filter chain that the filter is on. 55 */ 56 public function filter($filterChain) 57 { 58 $method='filter'.$this->name; 59 $filterChain->controller->$method($filterChain); 60 } 61 } |
#16 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#17 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/CController.php(283): CFilterChain->run() 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); 284 $this->_action=$priorAction; 285 } 286 } 287 288 /** |
#18 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array("accessControl")) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#19 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/CWebApplication.php(328): CController->run("create") 323 { 324 list($controller,$actionID)=$ca; 325 $oldController=$this->_controller; 326 $this->_controller=$controller; 327 $controller->init(); 328 $controller->run($actionID); 329 $this->_controller=$oldController; 330 } 331 else 332 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 333 array('{route}'=>$route===''?$this->defaultController:$route))); |
#20 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/web/CWebApplication.php(121): CWebApplication->runController("aanmeldingen/create") 116 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 117 $_GET[$name]=$value; 118 } 119 else 120 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 121 $this->runController($route); 122 } 123 124 /** 125 * Registers the core application components. 126 * This method overrides the parent implementation by registering additional core components. |
#21 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/YiiRoot/framework/base/CApplication.php(155): CWebApplication->processRequest() 150 */ 151 public function run() 152 { 153 if($this->hasEventHandler('onBeginRequest')) 154 $this->onBeginRequest(new CEvent($this)); 155 $this->processRequest(); 156 if($this->hasEventHandler('onEndRequest')) 157 $this->onEndRequest(new CEvent($this)); 158 } 159 160 /** |
#22 |
+
–
/var/www/vhosts/glasvezelbuitengebied.nl/httpdocs/index.php(15): CApplication->run() 10 11 // remove the following line when in production mode 12 defined('YII_DEBUG') or define('YII_DEBUG',true); 13 14 require_once($yii); 15 Yii::createWebApplication($config)->run(); |