Exception [ 0 ]: String could not be parsed as XML

SYSDIR/libraries/RSSParser.php [ 51 ]

46     // =============== //
47     function parse() {
48 
49       //Parse the document
50       $rawFeed = file_get_contents($this->feed_uri);
51       $xml = new SimpleXmlElement($rawFeed);
52 
53       //Assign the channel data
54       $this->channel_data['title'] = (string) $xml->channel->title;
55       $this->channel_data['description'] = (string) $xml->channel->description;
56 
  1. SYSDIR/libraries/RSSParser.php [ 51 ] » SimpleXMLElement->__construct(arguments)

  2. SYSDIR/libraries/RSSParser.php [ 41 ] » RSSParser->parse()

  3. SYSDIR/core/Loader.php [ 945 ] » RSSParser->RSSParser(arguments)

  4. SYSDIR/core/Loader.php [ 836 ] » CI_Loader->_ci_init_class(arguments)

  5. SYSDIR/core/Loader.php [ 109 ] » CI_Loader->_ci_load_class(arguments)

  6. APPPATH/controllers/home.php [ 518 ] » CI_Loader->library(arguments)

  7. {PHP internal call} » Home->rss(arguments)

  8. SYSDIR/core/CodeIgniter.php [ 297 ] » call_user_func_array(arguments)

  9. FCPATH/index.php [ 163 ] » require_once(arguments)

Environment