/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(5813)
5801 $content=''; 5802 if(!is_array($model)) 5803 $model=array($model); 5804 if(isset($htmlOptions['firstError'])) 5805 { 5806 $firstError=$htmlOptions['firstError']; 5807 unset($htmlOptions['firstError']); 5808 } 5809 else 5810 $firstError=false; 5811 foreach($model as $m) 5812 { 5813 foreach($m->getErrors() as $errors) 5814 { 5815 foreach($errors as $error) 5816 { 5817 if($error!='') 5818 $content.= '<li>'.self::encode($error)."</li>\n"; 5819 if($firstError) 5820 break; 5821 } 5822 } 5823 } 5824 if($content!=='') 5825 {
#0 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/web/widgets/CActiveForm.php(554): CHtml::errorSummary() 549 if(!$this->enableAjaxValidation && !$this->enableClientValidation) 550 return CHtml::errorSummary($models,$header,$footer,$htmlOptions); 551 552 if(!isset($htmlOptions['id'])) 553 $htmlOptions['id']=$this->id.'_es_'; 554 $html=CHtml::errorSummary($models,$header,$footer,$htmlOptions); 555 if($html==='') 556 { 557 if($header===null) 558 $header='<p>'.Yii::t('yii','Please fix the following input errors:').'</p>'; 559 if(!isset($htmlOptions['class'])) |
#1 |
+
–
/home/itip/web/bestactor.ru/public_html/app/views/frontend/actor/photos/_form.php(16): CActiveForm->errorSummary() 11 'enctype'=>'multipart/form-data', 12 'class' => 'ym-form ym-columnar' 13 ), 14 )); ?> 15 <h3 class="ym-fbox-heading">Добавление фотографий</h3> 16 <?php echo $form->errorSummary(array($userModel, $this->model)); ?> 17 18 <?php if(Yii::app()->user->isGuest):?> 19 <div class="ym-fbox-text"> 20 <?php echo $form->labelEx($userModel,'username'); ?> 21 <?php echo $form->textField($userModel,'username', array('cols' => 30,'rows' => 7)); ?> |
#2 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3580): require("/home/itip/web/bestactor.ru/public_html/app/views/frontend/actor...") 3575 $data=$_data_; 3576 if($_return_) 3577 { 3578 ob_start(); 3579 ob_implicit_flush(false); 3580 require($_viewFile_); 3581 return ob_get_clean(); 3582 } 3583 else 3584 require($_viewFile_); 3585 } |
#3 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3559): CBaseController->renderInternal() 3554 { 3555 $widgetCount=count($this->_widgetStack); 3556 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3557 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3558 else 3559 $content=$this->renderInternal($viewFile,$data,$return); 3560 if(count($this->_widgetStack)===$widgetCount) 3561 return $content; 3562 else 3563 { 3564 $widget=end($this->_widgetStack); |
#4 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3991): CBaseController->renderFile() 3986 } 3987 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3988 { 3989 if(($viewFile=$this->getViewFile($view))!==false) 3990 { 3991 $output=$this->renderFile($viewFile,$data,true); 3992 if($processOutput) 3993 $output=$this->processOutput($output); 3994 if($return) 3995 return $output; 3996 else |
#5 |
+
–
/home/itip/web/bestactor.ru/public_html/app/controllers/frontend/ActorController.php(149): CController->renderPartial() 144 if($photos = $this->getPhotosToUpdate()) { 145 $this->actionUpdatePhotos($photos); 146 $form = $this->renderPartial('photos/_formUpdatePhotos', array('photos' => $photos), true); 147 } else { 148 Actors::processPhotos($this->model); 149 $form = $this->renderPartial('photos/_form', array('userModel' => $userModel, 'display' => count($items)), true); 150 } 151 152 if(count(CUploadedFile::getInstancesByName('ActorPhotos'))) { 153 $this->refresh(true, '#updatePhoto'); 154 } |
#6 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(4226): ActorController->actionPhoto() 4221 $methodName='action'.$this->getId(); 4222 $controller=$this->getController(); 4223 $method=new ReflectionMethod($controller, $methodName); 4224 if($method->getNumberOfParameters()>0) 4225 return $this->runWithParamsInternal($controller, $method, $params); 4226 $controller->$methodName(); 4227 return true; 4228 } 4229 } 4230 class CWebUser extends CApplicationComponent implements IWebUser 4231 { |
#7 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3739): CInlineAction->runWithParams() 3734 { 3735 $priorAction=$this->_action; 3736 $this->_action=$action; 3737 if($this->beforeAction($action)) 3738 { 3739 if($action->runWithParams($this->getActionParams())===false) 3740 $this->invalidActionParams($action); 3741 else 3742 $this->afterAction($action); 3743 } 3744 $this->_action=$priorAction; |
#8 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7068): CController->runAction() 7063 { 7064 $filter=$this->itemAt($this->filterIndex++); 7065 $filter->filter($this); 7066 } 7067 else 7068 $this->controller->runAction($this->action); 7069 } 7070 } 7071 class CFilter extends CComponent implements IFilter 7072 { 7073 public function filter($filterChain) |
#9 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7077): CFilterChain->run() 7072 { 7073 public function filter($filterChain) 7074 { 7075 if($this->preFilter($filterChain)) 7076 { 7077 $filterChain->run(); 7078 $this->postFilter($filterChain); 7079 } 7080 } 7081 public function init() 7082 { |
#10 |
+
–
/home/itip/web/bestactor.ru/public_html/app/modules/rights/components/RController.php(36): CFilter->filter() 31 */ 32 public function filterRights($filterChain) 33 { 34 $filter = new RightsFilter; 35 $filter->allowedActions = $this->allowedActions(); 36 $filter->filter($filterChain); 37 } 38 39 /** 40 * @return string the actions that are always allowed separated by commas. 41 */ |
#11 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7110): RController->filterRights() 7105 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 7106 } 7107 public function filter($filterChain) 7108 { 7109 $method='filter'.$this->name; 7110 $filterChain->controller->$method($filterChain); 7111 } 7112 } 7113 class CAccessControlFilter extends CFilter 7114 { 7115 public $message; |
#12 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(7065): CInlineFilter->filter() 7060 public function run() 7061 { 7062 if($this->offsetExists($this->filterIndex)) 7063 { 7064 $filter=$this->itemAt($this->filterIndex++); 7065 $filter->filter($this); 7066 } 7067 else 7068 $this->controller->runAction($this->action); 7069 } 7070 } |
#13 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3729): CFilterChain->run() 3724 $this->runAction($action); 3725 else 3726 { 3727 $priorAction=$this->_action; 3728 $this->_action=$action; 3729 CFilterChain::create($this,$action,$filters)->run(); 3730 $this->_action=$priorAction; 3731 } 3732 } 3733 public function runAction($action) 3734 { |
#14 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3714): CController->runActionWithFilters() 3709 { 3710 if(($parent=$this->getModule())===null) 3711 $parent=Yii::app(); 3712 if($parent->beforeControllerAction($this,$action)) 3713 { 3714 $this->runActionWithFilters($action,$this->filters()); 3715 $parent->afterControllerAction($this,$action); 3716 } 3717 } 3718 else 3719 $this->missingAction($actionID); |
#15 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(1799): CController->run() 1794 { 1795 list($controller,$actionID)=$ca; 1796 $oldController=$this->_controller; 1797 $this->_controller=$controller; 1798 $controller->init(); 1799 $controller->run($actionID); 1800 $this->_controller=$oldController; 1801 } 1802 else 1803 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1804 array('{route}'=>$route===''?$this->defaultController:$route))); |
#16 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(1719): CWebApplication->runController() 1714 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1715 $_GET[$name]=$value; 1716 } 1717 else 1718 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1719 $this->runController($route); 1720 } 1721 protected function registerCoreComponents() 1722 { 1723 parent::registerCoreComponents(); 1724 $components=array( |
#17 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(1236): CWebApplication->processRequest() 1231 public function run() 1232 { 1233 if($this->hasEventHandler('onBeginRequest')) 1234 $this->onBeginRequest(new CEvent($this)); 1235 register_shutdown_function(array($this,'end'),0,false); 1236 $this->processRequest(); 1237 if($this->hasEventHandler('onEndRequest')) 1238 $this->onEndRequest(new CEvent($this)); 1239 } 1240 public function end($status=0,$exit=true) 1241 { |
#18 |
+
–
/home/itip/web/bestactor.ru/public_html/app/extensions/behaviors/WebApplicationEndBehavior.php(24): CApplication->run() 19 20 21 $this->onModuleCreate = array($this, 'changeModulePaths'); 22 $this->onModuleCreate(new CEvent ($this->owner)); 23 24 $this->owner->run(); 25 } 26 27 28 public function onModuleCreate($event) 29 { |
#19 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(733): WebApplicationEndBehavior->runEnd() 728 if($this->_m!==null) 729 { 730 foreach($this->_m as $object) 731 { 732 if($object->getEnabled() && method_exists($object,$name)) 733 return call_user_func_array(array($object,$name),$parameters); 734 } 735 } 736 if(class_exists('Closure', false) && ($this->canGetProperty($name) || property_exists($this, $name)) && $this->$name instanceof Closure) 737 return call_user_func_array($this->$name, $parameters); 738 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#20 |
+
–
/home/itip/web/bestactor.ru/public_html/index.php(23): CComponent->__call() 18 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',0); 19 20 define('AUTHOR', 'bestactor'); 21 22 require_once($yii); 23 Yii::createWebApplication($config)->runEnd('frontend'); |