/home/parker/htdocs/zippo-nsk.ru/public/themes/default/views/product/element.php(176)
164 </div> 165 </div> 166 167 168 <!-- Recommend --> 169 <? $this->renderPartial('_related_product', ['model' => $model]); ?> 170 171 <script type="application/ld+json"> 172 { 173 "@context": "http://schema.org", 174 "@type": "Product", 175 "url": "http://zippo-nsk.ru<?= $model->route ?>", 176 "category": "<?php echo $model->page->subject ?>", 177 "brand": "Zippo", 178 "image": "http://zippo-nsk.ru<?= Helper::createImgPath($model, "image", "product_anons") ?>", 179 "name": "<?php echo $model->subject ?>", 180 "description": "<?php echo $model->anons; ?>", 181 "offers": { 182 "@type": "Offer", 183 "availability": "<?php if ($model->in_stock) { ?>http://schema.org/InStock<?php } else { ?>http://schema.org/PreOrder<?php } ?>", 184 "price": "<?php echo (int)$model->price ?>", 185 "priceCurrency": "RUB" 186 } 187 } 188 </script>
#0 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3419): require("/home/parker/htdocs/zippo-nsk.ru/public/themes/default/views/pro...") 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 } |
#1 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3398): CBaseController->renderInternal("/home/parker/htdocs/zippo-nsk.ru/public/themes/default/views/pro...", array("model" => Product), 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); |
#2 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3822): CBaseController->renderFile("/home/parker/htdocs/zippo-nsk.ru/public/themes/default/views/pro...", array("model" => Product), true) 3817 } 3818 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3819 { 3820 if(($viewFile=$this->getViewFile($view))!==false) 3821 { 3822 $output=$this->renderFile($viewFile,$data,true); 3823 if($processOutput) 3824 $output=$this->processOutput($output); 3825 if($return) 3826 return $output; 3827 else |
#3 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3790): CController->renderPartial("element", array("model" => Product), true) 3785 } 3786 public function render($view,$data=null,$return=false) 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) |
#4 |
+
–
/home/parker/htdocs/zippo-nsk.ru/protected/controllers/ProductController.php(72): CController->render("element", array("model" => Product)) 67 } 68 69 $this->model = $model; 70 71 $this->render('element', [ 72 'model' => $model, 73 ]); 74 } 75 } 76 |
#5 |
unknown(0): ProductController->actionElement("6271")
|
#6 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(4039): ReflectionMethod->invokeArgs(ProductController, array("6271")) 4034 elseif($param->isDefaultValueAvailable()) 4035 $ps[]=$param->getDefaultValue(); 4036 else 4037 return false; 4038 } 4039 $method->invokeArgs($object,$ps); 4040 return true; 4041 } 4042 } 4043 class CInlineAction extends CAction 4044 { |
#7 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(4056): CAction->runWithParamsInternal(ProductController, ReflectionMethod, array("id" => "6271", "route" => "/katalog/Leatherman/6271/")) 4051 { 4052 $methodName='action'.$this->getId(); 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 |
#8 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3570): CInlineAction->runWithParams(array("id" => "6271", "route" => "/katalog/Leatherman/6271/")) 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; |
#9 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3555): CController->runAction(CInlineAction) 3550 $this->missingAction($actionID); 3551 } 3552 public function runActionWithFilters($action,$filters) 3553 { 3554 if(empty($filters)) 3555 $this->runAction($action); 3556 else 3557 { 3558 $priorAction=$this->_action; 3559 $this->_action=$action; 3560 CFilterChain::create($this,$action,$filters)->run(); |
#10 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array()) 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); |
#11 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(1746): CController->run("element") 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))); |
#12 |
+
–
/home/parker/htdocs/zippo-nsk.ru/framework/yiilite.php(1666): CWebApplication->runController("product/element") 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( |
#13 |
+
–
/home/parker/htdocs/zippo-nsk.ru/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 { |
#14 |
+
–
/home/parker/htdocs/zippo-nsk.ru/public/index.php(13): CApplication->run() 08 require_once(dirname(__FILE__) . '/../vendor/autoload.php'); 09 require_once(dirname(__FILE__) . '/../framework/yiilite.php'); 10 #require_once(dirname(__FILE__) . '/../framework/yii.php'); 11 $config = dirname(__FILE__) . '/../protected/config/main.php'; 12 13 Yii::createWebApplication($config)->run(); |