/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(8427)
8415 if(empty($this->connectionString)) 8416 throw new CDbException('CDbConnection.connectionString cannot be empty.'); 8417 try 8418 { 8419 $this->_pdo=$this->createPdoInstance(); 8420 $this->initConnection($this->_pdo); 8421 $this->_active=true; 8422 } 8423 catch(PDOException $e) 8424 { 8425 if(YII_DEBUG) 8426 { 8427 throw new CDbException('CDbConnection failed to open the DB connection: '. 8428 $e->getMessage(),(int)$e->getCode(),$e->errorInfo); 8429 } 8430 else 8431 { 8432 Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException'); 8433 throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo); 8434 } 8435 } 8436 } 8437 } 8438 protected function close() 8439 {
#0 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(8399): CDbConnection->open() 8394 public function setActive($value) 8395 { 8396 if($value!=$this->_active) 8397 { 8398 if($value) 8399 $this->open(); 8400 else 8401 $this->close(); 8402 } 8403 } 8404 public function cache($duration, $dependency=null, $queryCount=1) |
#1 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(8388): CDbConnection->setActive(true) 8383 } 8384 public function init() 8385 { 8386 parent::init(); 8387 if($this->autoConnect) 8388 $this->setActive(true); 8389 } 8390 public function getActive() 8391 { 8392 return $this->_active; 8393 } |
#2 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(1060): CDbConnection->init() 1055 $config=$this->_componentConfig[$id]; 1056 if(!isset($config['enabled']) || $config['enabled']) 1057 { 1058 unset($config['enabled']); 1059 $component=Yii::createComponent($config); 1060 $component->init(); 1061 return $this->_components[$id]=$component; 1062 } 1063 } 1064 } 1065 public function setComponent($id,$component,$merge=true) |
#3 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(1312): CModule->getComponent("db") 1307 { 1308 return $this->getLocale()->getDateFormatter(); 1309 } 1310 public function getDb() 1311 { 1312 return $this->getComponent('db'); 1313 } 1314 public function getErrorHandler() 1315 { 1316 return $this->getComponent('errorHandler'); 1317 } |
#4 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(7450): CApplication->getDb() 7445 { 7446 if(self::$db!==null) 7447 return self::$db; 7448 else 7449 { 7450 self::$db=Yii::app()->getDb(); 7451 if(self::$db instanceof CDbConnection) 7452 return self::$db; 7453 else 7454 throw new CDbException(Yii::t('yii','Active Record requires a "db" CDbConnection application component.')); 7455 } |
#5 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(7467): CActiveRecord->getDbConnection() 7462 { 7463 return $this->getMetaData()->tableSchema; 7464 } 7465 public function getCommandBuilder() 7466 { 7467 return $this->getDbConnection()->getSchema()->getCommandBuilder(); 7468 } 7469 public function hasAttribute($name) 7470 { 7471 return isset($this->getMetaData()->columns[$name]); 7472 } |
#6 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(7880): CActiveRecord->getCommandBuilder() 7875 $criteria=$this->getCommandBuilder()->createCriteria($condition,$params); 7876 return $this->query($criteria); 7877 } 7878 public function findAll($condition='',$params=array()) 7879 { 7880 $criteria=$this->getCommandBuilder()->createCriteria($condition,$params); 7881 return $this->query($criteria,true); 7882 } 7883 public function findByPk($pk,$condition='',$params=array()) 7884 { 7885 $prefix=$this->getTableAlias(true).'.'; |
#7 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/protected/controllers/frontend/ServicesController.php(35): CActiveRecord->findAll(array("order" => "main DESC, main_pos ASC, position ASC, id DESC", "limit" => 6)) 30 $this->pageDescription = 'Веб-студия АстамВеб: создание сайтов, разработка интернет-магазинов, лендинг пейдж, разработка мобильных приложений. Оптимизация и продвижение сайтов в Яндексе, Google. Настройка Яндекс.Директ, Google.Adwords. Современные технологии и платформы, высокое качество работ, профессиональная команда веб-разработчиков, seoшников, дизайнеров, копирайтеров. Сайты под ключ. Контент-поддержка, техническая поддержка веб-проектов.'; 31 $this->pageKeywords = 'разработка ios, android разработка, разработка приложений для android, разработка мобильных приложений, landing page, создание лендинга, создание интернет магазина, веб студия, продвижение сайтов, создание сайтов'; 32 Yii::app()->theme = 'bootstrap'; 33 34 $mProjects = Projects::model()->findAll(array( 35 'order' => 'main DESC, main_pos ASC, position ASC, id DESC', 36 'limit' => 6, 37 )); 38 39 $mOther = OtherClient::model()->findAll(array( 40 'order' => 'position ASC', |
#8 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(4058): ServicesController->actionIndex() 4053 $controller=$this->getController(); 4054 $method=new ReflectionMethod($controller, $methodName); 4055 if($method->getNumberOfParameters()>0) 4056 return $this->runWithParamsInternal($controller, $method, $params); 4057 else 4058 return $controller->$methodName(); 4059 } 4060 } 4061 class CWebUser extends CApplicationComponent implements IWebUser 4062 { 4063 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#9 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3570): CInlineAction->runWithParams(array()) 3565 { 3566 $priorAction=$this->_action; 3567 $this->_action=$action; 3568 if($this->beforeAction($action)) 3569 { 3570 if($action->runWithParams($this->getActionParams())===false) 3571 $this->invalidActionParams($action); 3572 else 3573 $this->afterAction($action); 3574 } 3575 $this->_action=$priorAction; |
#10 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(6743): CController->runAction(CInlineAction) 6738 { 6739 $filter=$this->itemAt($this->filterIndex++); 6740 $filter->filter($this); 6741 } 6742 else 6743 $this->controller->runAction($this->action); 6744 } 6745 } 6746 class CFilter extends CComponent implements IFilter 6747 { 6748 public function filter($filterChain) |
#11 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3560): CFilterChain->run() 3555 $this->runAction($action); 3556 else 3557 { 3558 $priorAction=$this->_action; 3559 $this->_action=$action; 3560 CFilterChain::create($this,$action,$filters)->run(); 3561 $this->_action=$priorAction; 3562 } 3563 } 3564 public function runAction($action) 3565 { |
#12 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array("ajaxOnly + view")) 3540 { 3541 if(($parent=$this->getModule())===null) 3542 $parent=Yii::app(); 3543 if($parent->beforeControllerAction($this,$action)) 3544 { 3545 $this->runActionWithFilters($action,$this->filters()); 3546 $parent->afterControllerAction($this,$action); 3547 } 3548 } 3549 else 3550 $this->missingAction($actionID); |
#13 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(1746): CController->run("index") 1741 { 1742 list($controller,$actionID)=$ca; 1743 $oldController=$this->_controller; 1744 $this->_controller=$controller; 1745 $controller->init(); 1746 $controller->run($actionID); 1747 $this->_controller=$oldController; 1748 } 1749 else 1750 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1751 array('{route}'=>$route===''?$this->defaultController:$route))); |
#14 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(1666): CWebApplication->runController("services/index") 1661 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1662 $_GET[$name]=$value; 1663 } 1664 else 1665 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1666 $this->runController($route); 1667 } 1668 protected function registerCoreComponents() 1669 { 1670 parent::registerCoreComponents(); 1671 $components=array( |
#15 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(1191): CWebApplication->processRequest() 1186 public function run() 1187 { 1188 if($this->hasEventHandler('onBeginRequest')) 1189 $this->onBeginRequest(new CEvent($this)); 1190 register_shutdown_function(array($this,'end'),0,false); 1191 $this->processRequest(); 1192 if($this->hasEventHandler('onEndRequest')) 1193 $this->onEndRequest(new CEvent($this)); 1194 } 1195 public function end($status=0,$exit=true) 1196 { |
#16 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/protected/behaviors/WebApplicationEndBehavior.php(23): CApplication->run() 18 19 // обрабатываем событие создания модуля 20 $this->onModuleCreate = array($this, 'changeModulePaths'); 21 $this->onModuleCreate(new CEvent ($this->owner)); 22 23 $this->owner->run(); 24 } 25 26 // обработчик события onModuleCreate 27 public function onModuleCreate($event) 28 { |
#17 |
unknown(0): WebApplicationEndBehavior->runEnd("frontend")
|
#18 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(699): call_user_func_array(array(WebApplicationEndBehavior, "runEnd"), array("frontend")) 694 if($this->_m!==null) 695 { 696 foreach($this->_m as $object) 697 { 698 if($object->getEnabled() && method_exists($object,$name)) 699 return call_user_func_array(array($object,$name),$parameters); 700 } 701 } 702 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 703 return call_user_func_array($this->$name, $parameters); 704 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#19 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/index.php(43): CComponent->__call("runEnd", array("frontend")) 38 define('YII_DEBUG', true); 39 require_once($webRoot.'/framework/yiilite.php'); 40 $config=$webRoot.'/protected/config/production.php'; 41 } 42 43 Yii::createWebApplication($config)->runEnd('frontend'); 44 |