/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/models/Menu.php(224): CActiveRecord->findAll(array("condition" => "parent_menu_id = :parentId AND active = :active", "params" => array("parentId" => 0, "active" => 1), "order" => "t.position")) 219 'condition' => "parent_menu_id = :parentId AND active = :active", 220 'params' => array( 221 'parentId' => $parentId, 222 'active' => 1, 223 ), 224 'order' => 't.position', 225 )); 226 227 if (!count($pages)) 228 return array(); 229 |
#8 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views/layouts/main.php(42): Menu::getMenuItems(0) 37 <?php $this->widget('OrderWidget'); ?> 38 39 <div class="infoheder"> 40 <menu class="menuheader"> 41 <?php $this->widget('zii.widgets.CMenu',array( 42 'items'=>Menu::getMenuItems(0), 43 )); ?> 44 </menu> 45 46 <div class="swyazverh"> 47 <div class="telwerh" style="margin-top:8px;"> |
#9 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3419): require("/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views/l...") 3414 $data=$_data_; 3415 if($_return_) 3416 { 3417 ob_start(); 3418 ob_implicit_flush(false); 3419 require($_viewFile_); 3420 return ob_get_clean(); 3421 } 3422 else 3423 require($_viewFile_); 3424 } |
#10 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3398): CBaseController->renderInternal("/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views//...", array("content" => "<script type="text/javascript">
$(document).ready(function(){
..."), true) 3393 { 3394 $widgetCount=count($this->_widgetStack); 3395 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3396 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3397 else 3398 $content=$this->renderInternal($viewFile,$data,$return); 3399 if(count($this->_widgetStack)===$widgetCount) 3400 return $content; 3401 else 3402 { 3403 $widget=end($this->_widgetStack); |
#11 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/web/widgets/CContentDecorator.php(76): CBaseController->renderFile("/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views//...", array("content" => "<script type="text/javascript">
$(document).ready(function(){
..."), true) 71 $viewFile=$owner->getViewFile($this->view); 72 if($viewFile!==false) 73 { 74 $data=$this->data; 75 $data['content']=$content; 76 return $owner->renderFile($viewFile,$data,true); 77 } 78 else 79 return $content; 80 } 81 } |
#12 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/web/widgets/CContentDecorator.php(54): CContentDecorator->decorate("<script type="text/javascript">
$(document).ready(function(){
...") 49 * This method decorates the output with the specified {@link view}. 50 * @param string $output the captured output to be processed 51 */ 52 public function processOutput($output) 53 { 54 $output=$this->decorate($output); 55 parent::processOutput($output); 56 } 57 58 /** 59 * Decorates the content by rendering a view and embedding the content in it. |
#13 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/web/widgets/COutputProcessor.php(44): CContentDecorator->processOutput("<script type="text/javascript">
$(document).ready(function(){
...") 39 * This method stops output buffering and processes the captured output. 40 */ 41 public function run() 42 { 43 $output=ob_get_clean(); 44 $this->processOutput($output); 45 } 46 47 /** 48 * Processes the captured output. 49 * |
#14 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3458): COutputProcessor->run() 3453 } 3454 public function endWidget($id='') 3455 { 3456 if(($widget=array_pop($this->_widgetStack))!==null) 3457 { 3458 $widget->run(); 3459 return $widget; 3460 } 3461 else 3462 throw new CException(Yii::t('yii','{controller} has an extra endWidget({id}) call in its view.', 3463 array('{controller}'=>get_class($this),'{id}'=>$id))); |
#15 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3496): CBaseController->endWidget("CContentDecorator") 3491 { 3492 $this->beginWidget('CContentDecorator',array('view'=>$view, 'data'=>$data)); 3493 } 3494 public function endContent() 3495 { 3496 $this->endWidget('CContentDecorator'); 3497 } 3498 } 3499 class CController extends CBaseController 3500 { 3501 const STATE_INPUT_NAME='YII_PAGE_STATE'; |
#16 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views/layouts/column1.php(4): CBaseController->endContent() 1 <?php /* @var $this Controller */ ?> 2 <?php $this->beginContent('//layouts/main'); ?> 3 <?php echo $content; ?> 4 <?php $this->endContent(); ?> |
#17 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3419): require("/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views/l...") 3414 $data=$_data_; 3415 if($_return_) 3416 { 3417 ob_start(); 3418 ob_implicit_flush(false); 3419 require($_viewFile_); 3420 return ob_get_clean(); 3421 } 3422 else 3423 require($_viewFile_); 3424 } |
#18 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3398): CBaseController->renderInternal("/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views//...", array("content" => "<script type="text/javascript">
$(document).ready(function(){
..."), true) 3393 { 3394 $widgetCount=count($this->_widgetStack); 3395 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3396 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3397 else 3398 $content=$this->renderInternal($viewFile,$data,$return); 3399 if(count($this->_widgetStack)===$widgetCount) 3400 return $content; 3401 else 3402 { 3403 $widget=end($this->_widgetStack); |
#19 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3792): CBaseController->renderFile("/home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views//...", array("content" => "<script type="text/javascript">
$(document).ready(function(){
..."), true) 3787 { 3788 if($this->beforeRender($view)) 3789 { 3790 $output=$this->renderPartial($view,$data,true); 3791 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 3792 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 3793 $this->afterRender($view,$output); 3794 $output=$this->processOutput($output); 3795 if($return) 3796 return $output; 3797 else |
#20 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/protected/components/BaseController.php(14): CController->render("index", null, false) 09 10 public function render($view, $data = null, $return = false) 11 { 12 if ($this->beforeRender($view)) 13 { 14 parent::render($view, $data, $return); 15 } 16 } 17 18 public function beforeRender($view) 19 { |
#21 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/protected/controllers/frontend/SiteController.php(42): BaseController->render("index") 37 //$this->theme = 'bootstrap'; 38 //Yii::app()->theme = 'bootstrap'; 39 $this->pageTitle = 'Веб-студия - создание и продвижение сайтов, интернет-магазинов, лендинг пейдж, разработка мобильных приложений, настройка Яндекс.Директ, Google.Adwords'; 40 $this->pageDescription = 'Веб-студия АстамВеб: создание сайтов, разработка интернет-магазинов, лендинг пейдж, разработка мобильных приложений. Оптимизация и продвижение сайтов в Яндексе, Google. Настройка Яндекс.Директ, Google.Adwords. Современные технологии и платформы, высокое качество работ, профессиональная команда веб-разработчиков, seoшников, дизайнеров, копирайтеров. Сайты под ключ. Контент-поддержка, техническая поддержка веб-проектов.'; 41 $this->pageKeywords = 'Создание сайтов, сайты с нуля, сайты под ключ, приложения, продвижение сайтов, продвижение приложений, 3D анимация, разработка сайтов, поддержка сайтов, создание мобильных приложений, продвижение мобильных приложений, создание 3D, создание 3D панорам, создание инфографики, веб-студия, разработка мобильных приложений'; 42 $this->render('index'); 43 } 44 45 /** 46 * This is the action to handle external exceptions. 47 */ |
#22 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(4058): SiteController->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.'; |
#23 |
+
–
/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; |
#24 |
+
–
/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) |
#25 |
+
–
/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 { |
#26 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array("ajaxOnly + order")) 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); |
#27 |
+
–
/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))); |
#28 |
+
–
/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(1666): CWebApplication->runController("site/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( |
#29 |
+
–
/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 { |
#30 |
+
–
/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 { |
#31 |
unknown(0): WebApplicationEndBehavior->runEnd("frontend")
|
#32 |
+
–
/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}".', |
#33 |
+
–
/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 |