/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CHttpRequest.php(1132)
1120 } 1121 1122 /** 1123 * Sends a cookie. 1124 * @param CHttpCookie $cookie cookie to be sent 1125 */ 1126 protected function addCookie($cookie) 1127 { 1128 $value=$cookie->value; 1129 if($this->_request->enableCookieValidation) 1130 $value=Yii::app()->getSecurityManager()->hashData(serialize($value)); 1131 if(version_compare(PHP_VERSION,'5.2.0','>=')) 1132 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly); 1133 else 1134 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure); 1135 } 1136 1137 /** 1138 * Deletes a cookie. 1139 * @param CHttpCookie $cookie cookie to be deleted 1140 */ 1141 protected function removeCookie($cookie) 1142 { 1143 if(version_compare(PHP_VERSION,'5.2.0','>=')) 1144 setcookie($cookie->name,'',0,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);
#0 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CHttpRequest.php(1132): setcookie("YII_CSRF_TOKEN", "81be94fbbabaf51a76701c6f9b54b201ee6f90bds:40:"592647ebc522ec4643...", 0, "/", ...) 1127 { 1128 $value=$cookie->value; 1129 if($this->_request->enableCookieValidation) 1130 $value=Yii::app()->getSecurityManager()->hashData(serialize($value)); 1131 if(version_compare(PHP_VERSION,'5.2.0','>=')) 1132 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly); 1133 else 1134 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure); 1135 } 1136 1137 /** |
#1 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CHttpRequest.php(1084): CCookieCollection->addCookie(CHttpCookie) 1079 if($cookieObject instanceof CHttpCookie) 1080 { 1081 $this->remove($cookieName); 1082 parent::add($cookieName,$cookieObject); 1083 if($this->_initialized) 1084 $this->addCookie($cookieObject); 1085 } 1086 else 1087 throw new CException(Yii::t('yii','CHttpCookieCollection can only hold CHttpCookie objects.')); 1088 } 1089 |
#2 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CHttpRequest.php(928): CCookieCollection->add("YII_CSRF_TOKEN", CHttpCookie) 923 $cookie=$this->getCookies()->itemAt($this->csrfTokenName); 924 if(!$cookie || ($this->_csrfToken=$cookie->value)==null) 925 { 926 $cookie=$this->createCsrfCookie(); 927 $this->_csrfToken=$cookie->value; 928 $this->getCookies()->add($cookie->name,$cookie); 929 } 930 } 931 932 return $this->_csrfToken; 933 } |
#3 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/helpers/CHtml.php(324): CHttpRequest->getCsrfToken() 319 $hiddens[]=self::hiddenField(urldecode(substr($pair,0,$pos)),urldecode(substr($pair,$pos+1)),array('id'=>false)); 320 } 321 } 322 $request=Yii::app()->request; 323 if($request->enableCsrfValidation && !strcasecmp($method,'post')) 324 $hiddens[]=self::hiddenField($request->csrfTokenName,$request->getCsrfToken(),array('id'=>false)); 325 if($hiddens!==array()) 326 $form.="\n".self::tag('div',array('style'=>'display:none'),implode("\n",$hiddens)); 327 return $form; 328 } 329 |
#4 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/widgets/CActiveForm.php(325): CHtml::beginForm(array("/site/order"), "post", array("id" => "orderForm")) 320 if(!isset($this->htmlOptions['id'])) 321 $this->htmlOptions['id']=$this->id; 322 if($this->stateful) 323 echo CHtml::statefulForm($this->action, $this->method, $this->htmlOptions); 324 else 325 echo CHtml::beginForm($this->action, $this->method, $this->htmlOptions); 326 } 327 328 /** 329 * Runs the widget. 330 * This registers the necessary javascript code and renders the form close tag. |
#5 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(148): CActiveForm->init() 143 * @return CWidget the fully initialized widget instance. 144 */ 145 public function createWidget($className,$properties=array()) 146 { 147 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties); 148 $widget->init(); 149 return $widget; 150 } 151 152 /** 153 * Creates a widget and executes it. |
#6 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(190): CBaseController->createWidget("CActiveForm", array("id" => "orderForm", "action" => array("/site/order"), "enableClientValidation" => true, "clientOptions" => array("validateOnSubmit" => true))) 185 * @return CWidget the widget created to run 186 * @see endWidget 187 */ 188 public function beginWidget($className,$properties=array()) 189 { 190 $widget=$this->createWidget($className,$properties); 191 $this->_widgetStack[]=$widget; 192 return $widget; 193 } 194 195 /** |
#7 |
+
–
/home/p21570/www/kleypva.com.ua/app/modules/catalog/views/common/_order_form.php(30): CBaseController->beginWidget("CActiveForm", array("id" => "orderForm", "action" => array("/site/order"), "enableClientValidation" => true, "clientOptions" => array("validateOnSubmit" => true))) 25 'action' => array('/site/order'), 26 'enableClientValidation'=>true, 27 'clientOptions'=>array( 28 'validateOnSubmit'=>true, 29 ), 30 )); ?> 31 <fieldset> 32 <div class="popupForm_block clearfix"> 33 <?php echo $form->labelEx($model,'name'); ?> 34 <?php echo $form->textField($model,'name'); ?> 35 <?php $form->error($model,'name'); ?> |
#8 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(127): require("/home/p21570/www/kleypva.com.ua/app/modules/catalog/views/common...") 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 } |
#9 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/p21570/www/kleypva.com.ua/app/modules/catalog/views/common...", null, 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); |
#10 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CController.php(870): CBaseController->renderFile("/home/p21570/www/kleypva.com.ua/app/modules/catalog/views/common...", null, 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 |
#11 |
+
–
/home/p21570/www/kleypva.com.ua/app/views/layouts/base.php(74): CController->renderPartial("/common/_order_form") 69 70 </head> 71 72 <body> 73 <? if(in_array($this->id, array('itemGroup', 'item')) && $this->action->id == 'view') : ?> 74 <? $this->renderPartial('/common/_order_form'); ?> 75 <? endif; ?> 76 <div id="wrapper"> 77 <header id="header" class="clearfix"> 78 <i class="leftLine"></i> 79 <div class="headerInner clearfix"> |
#12 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(127): require("/home/p21570/www/kleypva.com.ua/app/views/layouts/base.php") 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 } |
#13 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/p21570/www/kleypva.com.ua/app/views//layouts/base.php", array("content" => "<!--<section class="breadcrumbs">
<ul class="breadcrumbsList">
..."), 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); |
#14 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/widgets/CContentDecorator.php(77): CBaseController->renderFile("/home/p21570/www/kleypva.com.ua/app/views//layouts/base.php", array("content" => "<!--<section class="breadcrumbs">
<ul class="breadcrumbsList">
..."), true) 72 $viewFile=$owner->getViewFile($this->view); 73 if($viewFile!==false) 74 { 75 $data=$this->data; 76 $data['content']=$content; 77 return $owner->renderFile($viewFile,$data,true); 78 } 79 else 80 return $content; 81 } 82 } |
#15 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/widgets/CContentDecorator.php(55): CContentDecorator->decorate("<!--<section class="breadcrumbs">
<ul class="breadcrumbsList">
...") 50 * This method decorates the output with the specified {@link view}. 51 * @param string $output the captured output to be processed 52 */ 53 public function processOutput($output) 54 { 55 $output=$this->decorate($output); 56 parent::processOutput($output); 57 } 58 59 /** 60 * Decorates the content by rendering a view and embedding the content in it. |
#16 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/widgets/COutputProcessor.php(45): CContentDecorator->processOutput("<!--<section class="breadcrumbs">
<ul class="breadcrumbsList">
...") 40 * This method stops output buffering and processes the captured output. 41 */ 42 public function run() 43 { 44 $output=ob_get_clean(); 45 $this->processOutput($output); 46 } 47 48 /** 49 * Processes the captured output. 50 * |
#17 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(207): COutputProcessor->run() 202 */ 203 public function endWidget($id='') 204 { 205 if(($widget=array_pop($this->_widgetStack))!==null) 206 { 207 $widget->run(); 208 return $widget; 209 } 210 else 211 throw new CException(Yii::t('yii','{controller} has an extra endWidget({id}) call in its view.', 212 array('{controller}'=>get_class($this),'{id}'=>$id))); |
#18 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(301): CBaseController->endWidget("CContentDecorator") 296 * Ends the rendering of content. 297 * @see beginContent 298 */ 299 public function endContent() 300 { 301 $this->endWidget('CContentDecorator'); 302 } 303 } |
#19 |
+
–
/home/p21570/www/kleypva.com.ua/app/views/layouts/inner.php(24): CBaseController->endContent() 19 </div> 20 <?php endif?> 21 <section class="container innerPage clearfix"> 22 <?= $content; ?> 23 </section> 24 <? $this->endContent(); ?> |
#20 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(127): require("/home/p21570/www/kleypva.com.ua/app/views/layouts/inner.php") 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 } |
#21 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/p21570/www/kleypva.com.ua/app/views//layouts/inner.php", array("content" => "<h1>Клей для дерева и фанеры</h1>
<section ..."), 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); |
#22 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CController.php(785): CBaseController->renderFile("/home/p21570/www/kleypva.com.ua/app/views//layouts/inner.php", array("content" => "<h1>Клей для дерева и фанеры</h1>
<section ..."), true) 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 789 $output=$this->processOutput($output); 790 |
#23 |
+
–
/home/p21570/www/kleypva.com.ua/app/modules/catalog/controllers/ItemGroupController.php(33): CController->render("view", array("model" => ItemGroup)) 28 29 $this->layout = '//layouts/inner'; 30 31 $this->render('view',array( 32 'model'=>$this->loadModel($id), 33 )); 34 35 } 36 37 38 public function actionCreate() |
#24 |
unknown(0): ItemGroupController->actionView("9")
|
#25 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(ItemGroupController, array("9")) 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 } |
#26 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(ItemGroupController, ReflectionMethod, array("id" => "9", "title" => "kley-dlya-dereva-i-fanery")) 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 } |
#27 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CController.php(309): CInlineAction->runWithParams(array("id" => "9", "title" => "kley-dlya-dereva-i-fanery")) 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; |
#28 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#29 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#30 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CController.php(1146): CFilter->filter(CFilterChain) 1141 */ 1142 public function filterAccessControl($filterChain) 1143 { 1144 $filter=new CAccessControlFilter; 1145 $filter->setRules($this->accessRules()); 1146 $filter->filter($filterChain); 1147 } 1148 1149 /** 1150 * Returns a persistent page state value. 1151 * A page state is a variable that is persistent across POST requests of the same page. |
#31 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(CFilterChain) 54 * @param CFilterChain $filterChain the filter chain that the filter is on. 55 */ 56 public function filter($filterChain) 57 { 58 $method='filter'.$this->name; 59 $filterChain->controller->$method($filterChain); 60 } 61 } |
#32 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#33 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CController.php(292): CFilterChain->run() 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); 293 $this->_action=$priorAction; 294 } 295 } 296 297 /** |
#34 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array("postOnly + delete", "accessControl")) 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); |
#35 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/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))); |
#36 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/web/CWebApplication.php(142): CWebApplication->runController("catalog/itemGroup/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. |
#37 |
+
–
/home/p21570/data/yii/yii-1.1.11.58da45/framework/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 /** |
#38 |
+
–
/home/p21570/www/kleypva.com.ua/index.php(102): CApplication->run() 097 return parent::app(); 098 } 099 100 } 101 102 Yii::createWebApplication($config)->run(); |