/home/stiz-nsk/stiz-nsk.ru/docs/admin/protected/modules/areas_of_works/models/CatalogParamsValues.php(160)
148 $criteria->params = array(':value'=>$this->value,':id_element'=>$this->id_element); 149 150 if(CatalogParamsValues::model()->count($criteria)==0) 151 { 152 @unlink($_SERVER['DOCUMENT_ROOT']."/userfiles/".$this->img_folder."/small/".$this->value); 153 @unlink($_SERVER['DOCUMENT_ROOT']."/userfiles/".$this->img_folder."/medium/".$this->value); 154 @unlink($_SERVER['DOCUMENT_ROOT']."/userfiles/".$this->img_folder."/large/".$this->value); 155 } 156 } 157 } 158 parent::delete(); 159 } 160 }
#0 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/YiiBase.php(396): YiiBase::autoload() 391 else if(isset(self::$classMap[$className])) 392 include(self::$classMap[$className]); 393 else 394 { 395 if(strpos($className,'\\')===false) 396 include($className.'.php'); 397 else // class name with namespace in PHP 5.3 398 { 399 $namespace=str_replace('\\','.',ltrim($className,'\\')); 400 if(($path=self::getPathOfAlias($namespace))!==false) 401 include($path.'.php'); |
#1 |
unknown(0): YiiBase::autoload("CatalogParamsValues")
|
#2 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/protected/modules/areas_of_works/models/Catalog.php(56): spl_autoload_call("CatalogParamsValues") 51 ); 52 } 53 54 public function getParamValue($param_id) 55 { 56 $pv = CatalogParamsValues::model()->findByPk(array('id_param'=>$param_id,'id_element'=>$this->id_element)); 57 if(!empty($pv)) 58 return $pv->value; 59 else 60 return ''; 61 |
#3 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/protected/views/areas_of_works/viewitem.php(5): Catalog->getParamValue(3) 1 <div id="navline"> 2 <a href="/areas_of_works/">Направления работ</a> → 3 </div> 4 <h1><?=$model->title?></h1> 5 <?=$model->getParamValue(3);?> 6 <br/> 7 <a href="javascript:history.back();" class="all">Назад</a> 8 <br/><br/><br/> |
#4 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CBaseController.php(119): require("/home/stiz-nsk/stiz-nsk.ru/docs/protected/views/areas_of_works/v...") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#5 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CBaseController.php(88): CBaseController->renderInternal("/home/stiz-nsk/stiz-nsk.ru/docs/protected/views/areas_of_works/v...", array("model" => Catalog), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#6 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CController.php(866): CBaseController->renderFile("/home/stiz-nsk/stiz-nsk.ru/docs/protected/views/areas_of_works/v...", array("model" => Catalog), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#7 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CController.php(779): CController->renderPartial("viewitem", array("model" => Catalog), true) 774 */ 775 public function render($view,$data=null,$return=false) 776 { 777 if($this->beforeRender($view)) 778 { 779 $output=$this->renderPartial($view,$data,true); 780 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 781 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 782 783 $this->afterRender($view,$output); 784 |
#8 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/protected/controllers/Areas_of_worksController.php(50): CController->render("viewitem", array("model" => Catalog)) 45 $this->metadescr = $model->keywords; 46 $this->metakeys = $model->description; 47 if(!empty($model->htitle)) $this->pageTitle = $model->htitle; 48 else $this->pageTitle = $model->title; 49 50 $this->render('viewitem',array('model'=>$model)); 51 } 52 else 53 throw new CHttpException(404,'Запрашиваемая Вами страница не найдена...'); 54 55 } |
#9 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/actions/CInlineAction.php(50): Areas_of_worksController->actionView() 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 } |
#10 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CController.php(300): CInlineAction->runWithParams(array("area" => "inzhenerno-ekologicheskie-iziskania")) 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; |
#11 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#12 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 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); |
#13 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CWebApplication.php(328): CController->run("view") 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))); |
#14 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/framework/web/CWebApplication.php(121): CWebApplication->runController("areas_of_works/view/area/inzhenerno-ekologicheskie-iziskania") 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. |
#15 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/admin/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 /** |
#16 |
+
–
/home/stiz-nsk/stiz-nsk.ru/docs/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |