/home/www/clients/client2023/web4504/framework/web/CHttpRequest.php(1380)
1368 } 1369 1370 /** 1371 * Sends a cookie. 1372 * @param CHttpCookie $cookie cookie to be sent 1373 */ 1374 protected function addCookie($cookie) 1375 { 1376 $value=$cookie->value; 1377 if($this->_request->enableCookieValidation) 1378 $value=Yii::app()->getSecurityManager()->hashData(serialize($value)); 1379 if(version_compare(PHP_VERSION,'5.2.0','>=')) 1380 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly); 1381 else 1382 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure); 1383 } 1384 1385 /** 1386 * Deletes a cookie. 1387 * @param CHttpCookie $cookie cookie to be deleted 1388 */ 1389 protected function removeCookie($cookie) 1390 { 1391 if(version_compare(PHP_VERSION,'5.2.0','>=')) 1392 setcookie($cookie->name,'',0,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);
#0 |
+
–
/home/www/clients/client2023/web4504/framework/web/CHttpRequest.php(1380): setcookie("customer_id", "EoJ7h14wqb", 1578392887, "/", ...) 1375 { 1376 $value=$cookie->value; 1377 if($this->_request->enableCookieValidation) 1378 $value=Yii::app()->getSecurityManager()->hashData(serialize($value)); 1379 if(version_compare(PHP_VERSION,'5.2.0','>=')) 1380 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly); 1381 else 1382 setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure); 1383 } 1384 1385 /** |
#1 |
+
–
/home/www/clients/client2023/web4504/framework/web/CHttpRequest.php(1332): CCookieCollection->addCookie(CHttpCookie) 1327 if($cookie instanceof CHttpCookie) 1328 { 1329 $this->remove($name); 1330 parent::add($name,$cookie); 1331 if($this->_initialized) 1332 $this->addCookie($cookie); 1333 } 1334 else 1335 throw new CException(Yii::t('yii','CHttpCookieCollection can only hold CHttpCookie objects.')); 1336 } 1337 |
#2 |
+
–
/home/www/clients/client2023/web4504/framework/collections/CMap.php(330): CCookieCollection->add("customer_id", CHttpCookie) 325 * @param integer $offset the offset to set element 326 * @param mixed $item the element value 327 */ 328 public function offsetSet($offset,$item) 329 { 330 $this->add($offset,$item); 331 } 332 333 /** 334 * Unsets the element at the specified offset. 335 * This method is required by the interface ArrayAccess. |
#3 |
+
–
/home/www/clients/client2023/web4504/web/protected/components/Functions.php(19): CMap->offsetSet("customer_id", CHttpCookie) 14 15 public static function setCookie($cookie_name, $cookie_value, $time = 30) { 16 17 $cookie = new CHttpCookie($cookie_name, $cookie_value); 18 $cookie->expire = time() + 60 * 60 * 24 * $time; 19 Yii::app()->request->cookies[$cookie_name] = $cookie; 20 return true; 21 } 22 23 public static function setCookieforCustomer() { 24 if(!isset(Yii::app()->request->cookies['customer_id'])){ |
#4 |
+
–
/home/www/clients/client2023/web4504/web/protected/components/Functions.php(26): Functions::setCookie("customer_id", "EoJ7h14wqb") 21 } 22 23 public static function setCookieforCustomer() { 24 if(!isset(Yii::app()->request->cookies['customer_id'])){ 25 $customer_id = self::generateRandomString(); 26 self::setCookie('customer_id', $customer_id); 27 } 28 } 29 30 public static function getCustomerId(){ 31 |
#5 |
+
–
/home/www/clients/client2023/web4504/web/protected/views/layouts/main.php(3): Functions::setCookieforCustomer() 1 <?php 2 /* @var $this Controller */ 3 Functions::setCookieforCustomer(); 4 $menu_list = Content::model()->with('contentDataByLangs')->findAllByAttributes(array(), array( 5 'condition' => "t.active = 1 AND position = 0 AND t.id != 20", 6 )); 7 $down_menu_list = Content::model()->with('contentDataByLangs')->findAllByAttributes(array(), array( 8 'condition' => "t.active = 1 AND position = 1 AND t.id != 20", |
#6 |
+
–
/home/www/clients/client2023/web4504/framework/web/CBaseController.php(126): require("/home/www/clients/client2023/web4504/web/protected/views/layouts...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#7 |
+
–
/home/www/clients/client2023/web4504/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/www/clients/client2023/web4504/web/protected/views//layout...", array("content" => "<div id="content">
<script>
$(function(){
//fade in gallery im..."), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#8 |
+
–
/home/www/clients/client2023/web4504/framework/web/widgets/CContentDecorator.php(76): CBaseController->renderFile("/home/www/clients/client2023/web4504/web/protected/views//layout...", array("content" => "<div id="content">
<script>
$(function(){
//fade in gallery im..."), true) 71 $viewFile=$owner->getViewFile($this->view); 72 if($viewFile!==false) 73 { 74 $data=$this->data; 75 $data['content']=$content; 76 return $owner->renderFile($viewFile,$data,true); 77 } 78 else 79 return $content; 80 } 81 } |
#9 |
+
–
/home/www/clients/client2023/web4504/framework/web/widgets/CContentDecorator.php(54): CContentDecorator->decorate("<div id="content">
<script>
$(function(){
//fade in gallery im...") 49 * This method decorates the output with the specified {@link view}. 50 * @param string $output the captured output to be processed 51 */ 52 public function processOutput($output) 53 { 54 $output=$this->decorate($output); 55 parent::processOutput($output); 56 } 57 58 /** 59 * Decorates the content by rendering a view and embedding the content in it. |
#10 |
+
–
/home/www/clients/client2023/web4504/framework/web/widgets/COutputProcessor.php(44): CContentDecorator->processOutput("<div id="content">
<script>
$(function(){
//fade in gallery im...") 39 * This method stops output buffering and processes the captured output. 40 */ 41 public function run() 42 { 43 $output=ob_get_clean(); 44 $this->processOutput($output); 45 } 46 47 /** 48 * Processes the captured output. 49 * |
#11 |
+
–
/home/www/clients/client2023/web4504/framework/web/CBaseController.php(206): COutputProcessor->run() 201 */ 202 public function endWidget($id='') 203 { 204 if(($widget=array_pop($this->_widgetStack))!==null) 205 { 206 $widget->run(); 207 return $widget; 208 } 209 else 210 throw new CException(Yii::t('yii','{controller} has an extra endWidget({id}) call in its view.', 211 array('{controller}'=>get_class($this),'{id}'=>$id))); |
#12 |
+
–
/home/www/clients/client2023/web4504/framework/web/CBaseController.php(300): CBaseController->endWidget("CContentDecorator") 295 * Ends the rendering of content. 296 * @see beginContent 297 */ 298 public function endContent() 299 { 300 $this->endWidget('CContentDecorator'); 301 } 302 } |
#13 |
+
–
/home/www/clients/client2023/web4504/web/protected/views/layouts/column1.php(6): CBaseController->endContent() 1 <?php /* @var $this Controller */ ?> 2 <?php $this->beginContent('//layouts/main'); ?> 3 <div id="content"> 4 <?php echo $content; ?> 5 </div><!-- content --> 6 <?php $this->endContent(); ?> |
#14 |
+
–
/home/www/clients/client2023/web4504/framework/web/CBaseController.php(126): require("/home/www/clients/client2023/web4504/web/protected/views/layouts...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#15 |
+
–
/home/www/clients/client2023/web4504/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/www/clients/client2023/web4504/web/protected/views//layout...", array("content" => "<script>
$(function(){
//fade in gallery images and crop
if($(..."), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#16 |
+
–
/home/www/clients/client2023/web4504/framework/web/CController.php(784): CBaseController->renderFile("/home/www/clients/client2023/web4504/web/protected/views//layout...", array("content" => "<script>
$(function(){
//fade in gallery images and crop
if($(..."), true) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 788 $output=$this->processOutput($output); 789 |
#17 |
+
–
/home/www/clients/client2023/web4504/web/protected/controllers/NewsController.php(62): CController->render("view", array("model" => News, "gallery" => array())) 57 58 59 $this->render('view',array( 60 'model'=>$model, 61 'gallery'=>$gallery, 62 )); 63 } 64 65 // Uncomment the following methods and override them if needed 66 /* 67 public function filters() |
#18 |
unknown(0): NewsController->actionView("szodliget-emlektorna-2018")
|
#19 |
+
–
/home/www/clients/client2023/web4504/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(NewsController, array("szodliget-emlektorna-2018")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#20 |
+
–
/home/www/clients/client2023/web4504/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(NewsController, ReflectionMethod, array("hirek/szodliget-emlektorna-2018" => "", "url" => "szodliget-emlektorna-2018")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#21 |
+
–
/home/www/clients/client2023/web4504/framework/web/CController.php(308): CInlineAction->runWithParams(array("hirek/szodliget-emlektorna-2018" => "", "url" => "szodliget-emlektorna-2018")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#22 |
+
–
/home/www/clients/client2023/web4504/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#23 |
+
–
/home/www/clients/client2023/web4504/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#24 |
+
–
/home/www/clients/client2023/web4504/framework/web/CWebApplication.php(282): CController->run("view") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#25 |
+
–
/home/www/clients/client2023/web4504/framework/web/CWebApplication.php(141): CWebApplication->runController("news/view") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#26 |
+
–
/home/www/clients/client2023/web4504/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#27 |
+
–
/home/www/clients/client2023/web4504/web/index.php(18): CApplication->run() 13 defined('YII_DEBUG') or define('YII_DEBUG',true); 14 // specify how many levels of call stack should be shown in each log message 15 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 16 17 require_once($yii); 18 Yii::createWebApplication($config)->run(); |