/home/h/huysmotor2/lavavto/public_html/protected/views/product/view.php(32)
20 $this->renderPartial('_img', array('gallery'=>$gallery,'model'=>$model)); 21 }?> 22 </div> 23 24 <div class="col-sm-7"> 25 <?php if(!empty($model->price)){?> 26 <p class="price product_price"><span class="dram"> դր.</span><?php echo $model->price;?></p> 27 <?php } ?> 28 <div class="product_type"><?php echo Yii::t('multi', 'Category')?>: <?php echo CHtml::link($model->category->title, array('/'.Yii::app()->language.'/category/'.$model->cid), array('title'=>$model->category->title))?></div> 29 <div class="product_type"><?php echo Yii::t('multi', 'Article')?>:<?php echo $model->article;?></div> 30 31 <div class="product_type"><?php echo Yii::t('multi', 'Code')?>:<?php echo $model->code;?></div> 32 <div class="product_type"><?php echo Yii::t('multi', 'Supplier')?>:<?php echo $model->partner->title;?></div> 33 34 <hr/> 35 <h3><?php echo Yii::t('multi', 'Description')?>:</h3> 36 <p class="description"> 37 <?php echo $model->desc;?> 38 </p> 39 </div> 40 41 <div class="" style="margin-top:10px;"> 42 43 <div class="pull-right"> 44
#0 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CBaseController.php(127): require("/home/h/huysmotor2/lavavto/public_html/protected/views/product/v...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
#1 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CBaseController.php(96): CBaseController->renderInternal("/home/h/huysmotor2/lavavto/public_html/protected/views/product/v...", array("model" => Product, "gallery" => array()), true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CController.php(870): CBaseController->renderFile("/home/h/huysmotor2/lavavto/public_html/protected/views/product/v...", array("model" => Product, "gallery" => array()), true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
#3 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CController.php(783): CController->renderPartial("view", array("model" => Product, "gallery" => array()), true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
#4 |
+
–
/home/h/huysmotor2/lavavto/public_html/protected/controllers/ProductController.php(26): CController->render("view", array("model" => Product, "gallery" => array())) 21 $criteria->order='position DESC'; 22 23 $gallery = Gallery::model()->findAll($criteria); 24 25 26 $this->render('view', array('model'=>$model, 'gallery'=>$gallery)); 27 28 29 } 30 31 |
#5 |
unknown(0): ProductController->actionView("1661")
|
#6 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(ProductController, array("1661")) 102 else if($param->isDefaultValueAvailable()) 103 $ps[]=$param->getDefaultValue(); 104 else 105 return false; 106 } 107 $method->invokeArgs($object,$ps); 108 return true; 109 } 110 } |
#7 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(ProductController, ReflectionMethod, array("language" => "am", "id" => "1661")) 43 { 44 $methodName='action'.$this->getId(); 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 } |
#8 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CController.php(309): CInlineAction->runWithParams(array("language" => "am", "id" => "1661")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#9 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#10 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#11 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CWebApplication.php(283): CController->run("view") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/components/WebApplication.php(33): CWebApplication->runController("product/view") 28 * that Apache polls its processes to see if they're alive. This function causes 29 * Yii to respond without logging errors. 30 */ 31 public function runController($route) { 32 try { 33 parent::runController($route); 34 } catch (CHttpException $e) { 35 if (@$_SERVER['REQUEST_METHOD'] == 'OPTIONS' && @$_SERVER['REQUEST_URI'] == '*') { 36 Yii::app()->end('Hello, friend!'); 37 } else 38 throw $e; |
#13 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/web/CWebApplication.php(142): WebApplication->runController("product/view") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#14 |
+
–
/home/h/huysmotor2/lavavto/public_html/common/lib/Yii/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#15 |
+
–
/home/h/huysmotor2/lavavto/public_html/index.php(44): CApplication->run() 39 EZendAutoloader::$basePath = Yii::getPathOfAlias('common.lib') . DIRECTORY_SEPARATOR; 40 41 Yii::registerAutoloader(array("EZendAutoloader", "loadClass"), true); 42 */ 43 44 $app->run(); 45 46 /* uncomment if you wish to debug your resulting config */ 47 /* echo '<pre>' . dump($config) . '</pre>'; */ |