/var/www/html/naghdineh.com/application/common/vendors/Zend/Feed/Rss.php(496)
484 */ 485 public function saveXml() 486 { 487 // Return a complete document including XML prologue. 488 $doc = new DOMDocument($this->_element->ownerDocument->version, 489 $this->_element->ownerDocument->actualEncoding); 490 $root = $doc->createElement('rss'); 491 492 // Use rss version 2.0 493 $root->setAttribute('version', '2.0'); 494 495 // Content namespace 496 $root->setAttributeNS('https://www.w3.org/2000/xmlns/', 'xmlns:content', 'https://purl.org/rss/1.0/modules/content/'); 497 $root->appendChild($doc->importNode($this->_element, true)); 498 499 // Append root node 500 $doc->appendChild($root); 501 502 // Format output 503 $doc->formatOutput = true; 504 505 return $doc->saveXML(); 506 } 507 508 /**
#0 |
+
–
/var/www/html/naghdineh.com/application/common/vendors/Zend/Feed/Rss.php(496): DOMElement->setAttributeNS("https://www.w3.org/2000/xmlns/", "xmlns:content", "https://purl.org/rss/1.0/modules/content/") 491 492 // Use rss version 2.0 493 $root->setAttribute('version', '2.0'); 494 495 // Content namespace 496 $root->setAttributeNS('https://www.w3.org/2000/xmlns/', 'xmlns:content', 'https://purl.org/rss/1.0/modules/content/'); 497 $root->appendChild($doc->importNode($this->_element, true)); 498 499 // Append root node 500 $doc->appendChild($root); 501 |
#1 |
+
–
/var/www/html/naghdineh.com/application/common/vendors/Zend/Feed/Rss.php(526): Zend_Feed_Rss->saveXml() 521 throw new Zend_Feed_Exception('Cannot send RSS because headers have already been sent.'); 522 } 523 524 header('Content-Type: application/rss+xml; charset=' . $this->_element->ownerDocument->actualEncoding); 525 526 echo $this->saveXml(); 527 } 528 529 } |
#2 |
+
–
/var/www/html/naghdineh.com/application/frontend/widgets/page/feed/FeedView.php(63): Zend_Feed_Rss->send() 58 'title' => 'My Rss Feed', 59 'link' => Yii::app()->controller->createUrl(''), 60 'charset' => 'UTF-8', 61 'entries' => $entries, 62 ), 'rss'); 63 $feed->send(); 64 65 66 } 67 } |
#3 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CBaseController.php(181): FeedView->run() 176 return ob_get_clean(); 177 } 178 else 179 { 180 $widget=$this->createWidget($className,$properties); 181 $widget->run(); 182 return $widget; 183 } 184 } 185 186 /** |
#4 |
+
–
/var/www/html/naghdineh.com/application/frontend/modules/sitefront/views/site/feed_view.php(2): CBaseController->widget("frontend.widgets.page.feed.FeedView", array("typeId" => null)) 1 <?php 2 $this->widget('frontend.widgets.page.feed.FeedView',array('typeId'=>$typeId)); 3 ?> |
#5 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require("/var/www/html/naghdineh.com/application/frontend/modules/sitefro...") 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 } |
#6 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/html/naghdineh.com/application/frontend/modules/sitefro...", array("typeId" => null), 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); |
#7 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CController.php(869): CBaseController->renderFile("/var/www/html/naghdineh.com/application/frontend/modules/sitefro...", array("typeId" => null), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#8 |
+
–
/var/www/html/naghdineh.com/application/frontend/modules/sitefront/controllers/SiteController.php(214): CController->renderPartial("feed_view", array("typeId" => null)) 209 $this->render('linkList_view'); 210 } 211 212 public function actionFeed() 213 { 214 $this->renderPartial('feed_view',array('typeId'=>null)); 215 } 216 public function actionFeedParsik() 217 { 218 ini_set("memory_limit","256M"); 219 $this->renderPartial('feed_view',array('typeId'=>27)); |
#9 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(49): SiteController->actionFeed() 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 } |
#10 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array()) 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; |
#11 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#12 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/widgets/COutputCache.php(165): CFilterChain->run() 160 * @return boolean whether the filtering process should stop after this filter. Defaults to false. 161 */ 162 public function filter($filterChain) 163 { 164 if(!$this->getIsContentCached()) 165 $filterChain->run(); 166 $this->run(); 167 } 168 169 /** 170 * Marks the start of content to be cached. |
#13 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(130): COutputCache->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#14 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#15 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array(array(0 => "COutputCache - staticContent,adsView,typeList,keywordList,survey...", "duration" => 300, "varyByParam" => array("id")), array("ext.seo.components.SeoFilter + pageView"))) 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); |
#16 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run("feed") 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))); |
#17 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("sitefront/site/feed") 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. |
#18 |
+
–
/var/www/html/naghdineh.com/application/common/lib/vendor/yiisoft/yii/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 /** |
#19 |
+
–
/var/www/html/naghdineh.com/public_html/index.php(28): CApplication->run() 23 24 Yiinitializr\Helpers\Initializer::create('./../application/', 'frontend', array( 25 __DIR__ .'/../application/common/config/main.php', 26 __DIR__ .'/../application/common/config/env.php', 27 __DIR__ .'/../application/common/config/local.php' 28 ))->run(); |