/home/itip/web/bestactor.ru/public_html/app/extensions/image/Image.php(92)
080 081 // Disable error reporting, to prevent PHP warnings 082 $ER = error_reporting(0); 083 084 // Fetch the image size and mime type 085 $image_info = getimagesize($image); 086 087 // Turn on error reporting again 088 error_reporting($ER); 089 090 // Make sure that the image is readable and valid 091 if ( ! is_array($image_info) OR count($image_info) < 3) 092 throw new CException('image file unreadable'); 093 094 // Check to make sure the image type is allowed 095 // if ( ! isset(Image::$allowed_types[$image_info[2]])) 096 // throw new CException('image type not allowed'); 097 098 // Image has been validated, load it 099 $this->image = array 100 ( 101 'file' => str_replace('\\', '/', realpath($image)), 102 'width' => $image_info[0], 103 'height' => $image_info[1], 104 'type' => $image_info[2],
#0 |
+
–
/home/itip/web/bestactor.ru/public_html/app/extensions/image/CImageComponent.php(41): Image->__construct() 36 $config = array( 37 'driver'=>$this->driver, 38 'params'=>$this->params, 39 ); 40 41 return new Image($image, $config); 42 } 43 } 44 ?> |
#1 |
+
–
/home/itip/web/bestactor.ru/public_html/app/models/User.php(329): CImageComponent->load() 324 325 if(!file_exists($thumbDirPath)) 326 @mkdir($thumbDirPath, 0777, true); 327 328 $sizes = explode('x', $size); 329 $image = Yii::app()->image->load($sourcePath); 330 $image->resize($sizes[0], $sizes[1])->quality(75); 331 $image->save($thumbPath); 332 } else { 333 $thumbUrl = Yii::app()->params['userAvatar']['defaultUrl']; 334 } |
#2 |
+
–
/home/itip/web/bestactor.ru/public_html/app/views/frontend/actor/_fans.php(23): User->getAvatar() 18 $limit = 16; 19 endif; 20 ?> 21 <?php foreach(ActorFans::model()->findAll($cr) as $key => $fanRef):?> 22 <li class="b-actor-fans b-actor-fans_user"> 23 <?php echo CHtml::link(CHtml::image($fanRef->owner->getAvatar('40x40')), array('user/profile', 'id' => $fanRef->owner->id), array('title' => $fanRef->owner->username))?> 24 </li> 25 <?php endforeach;?> 26 <?php for($i = $key; $i < $limit; $i++):?> 27 <li class="b-actor-fans b-actor-fans_empty"> 28 ? |
#3 |
+
–
/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 } |
#4 |
+
–
/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); |
#5 |
+
–
/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 |
#6 |
+
–
/home/itip/web/bestactor.ru/public_html/app/views/frontend/layouts/actor.php(312): CController->renderPartial() 307 308 <!--googleon: all--> 309 <!--/noindex--> 310 </div> 311 <div class="b-cms b-inner-biography-content"> 312 <?php $this->renderPartial('_fans');?> 313 </div> 314 315 <div class="b-cms b-inner-biography-content"> 316 <?php $this->renderPartial('_moderators');?> 317 </div> |
#7 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3580): require("/home/itip/web/bestactor.ru/public_html/app/views/frontend/layou...") 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 } |
#8 |
+
–
/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); |
#9 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(3961): CBaseController->renderFile() 3956 { 3957 if($this->beforeRender($view)) 3958 { 3959 $output=$this->renderPartial($view,$data,true); 3960 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 3961 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 3962 $this->afterRender($view,$output); 3963 $output=$this->processOutput($output); 3964 if($return) 3965 return $output; 3966 else |
#10 |
+
–
/home/itip/web/bestactor.ru/public_html/app/components/BaseController.php(63): CController->render() 58 public function render($view,$data=null,$return=false) 59 { 60 if (Yii::app()->request->isAjaxRequest === true) { 61 parent::renderPartial($view, $data, $return, false); 62 } else { 63 parent::render($view, $data, $return); 64 } 65 } 66 67 68 public function filters() { |
#11 |
+
–
/home/itip/web/bestactor.ru/public_html/app/controllers/frontend/ActorController.php(258): BaseController->render() 253 254 $this->seoTitle = strtr("{fullname} - список тем обсуждения {gender} {fullname} деятельности и жизни", $this->seoParams); 255 $this->seoDescription = strtr("'Темы обсуждения {gender} {fullname}. Актёальные темы обсуждение об {gender} {fullname}", $this->seoParams); 256 257 258 $this->render('reviews', array('items' => $items)); 259 } 260 261 public function actionDiscussion() { 262 263 $this->topic_id = (int)$this->request->getQuery('topic'); |
#12 |
+
–
/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(4226): ActorController->actionReviews() 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 { |
#13 |
+
–
/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; |
#14 |
+
–
/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) |
#15 |
+
–
/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 { |
#16 |
+
–
/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 */ |
#17 |
+
–
/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; |
#18 |
+
–
/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 } |
#19 |
+
–
/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 { |
#20 |
+
–
/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); |
#21 |
+
–
/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))); |
#22 |
+
–
/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( |
#23 |
+
–
/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 { |
#24 |
+
–
/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 { |
#25 |
+
–
/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}".', |
#26 |
+
–
/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'); |