RSS Feeds untuk Berita Resmi Statistik http://www.bps.go.id/ CException

CException

No feed items configured

/home/bps9404/public_html/protected/extensions/feed/EFeed.php(418)

406             }
407             echo "</rdf:Seq>" . PHP_EOL . "</items>" . PHP_EOL;
408         }
409     }
410     /**
411      * 
412      * Prints feed items
413      * @throws CException
414      */
415     private function renderItems()
416     {    
417         if(null === $this->feedElements->itemAt('items'))
418             throw new CException( Yii::t('EFeed', 'No feed items configured') );
419             
420         foreach ($this->feedElements->itemAt('items') as $item)
421             echo $item->getNode();
422     }
423     /**
424      * 
425      * Creates a single node as xml format
426      * 
427      * @access   private
428      * @param    string  name of the tag
429      * @param    mixed   tag value as string or array of nested tags in 'tagName' => 'tagValue' format
430      * @param    array   Attributes(if any) in 'attrName' => 'attrValue' format

Stack Trace

#0
+
 /home/bps9404/public_html/protected/extensions/feed/EFeed.php(296): EFeed->renderItems()
291      */
292     public function generateFeed(){
293         header("Content-type: text/xml");
294         $this->renderHead();
295         $this->renderChannels();
296         $this->renderItems();
297         $this->renderBottom();
298     }
299     /**
300      * 
301      * Prints the xml and rss namespace
#1
+
 /home/bps9404/public_html/protected/controllers/SiteController.php(307): EFeed->generateFeed()
302        $feed->addItem($item);
303     } 
304     
305     
306      
307     $feed->generateFeed();
308     Yii::app()->end();
309     }
310     
311     public function actionRsspublikasi(){
312     $project=Project::model()->findAll();
#9
+
 /home/bps9404/public_html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2017-05-23 02:20:11 Apache Yii Framework/1.1.12