← Back to team overview

mahara-contributors team mailing list archive

[Bug 548107] Re: RSS feed parser noise

 

** Tags removed: mahara-eduforge-bug

** Description changed:

  [WAR] 7d (lib/pear/XML/Feed/Parser.php:95) DOMDocument::loadXML(): Empty string supplied as input
  Call stack (most recent first):
-   * log_message("DOMDocument::loadXML(): Empty string supplied as i...", 8, true, true, "/var/www/mahara-site-myportfolio-ac-nz/lib/pear/XM...", 95) at /var/www/mahara-site-myportfolio-ac-nz/lib/errors.php:378
-   * error(2, "DOMDocument::loadXML(): Empty string supplied as i...", "/var/www/mahara-site-myportfolio-ac-nz/lib/pear/XM...", 95, array(size 5)) at Unknown:0
-   * DOMDocument->loadXML("", 96) at /var/www/mahara-site-myportfolio-ac-nz/lib/pear/XML/Feed/Parser.php:95
-   * XML_Feed_Parser->__construct("", false, true, false) at /var/www/mahara-site-myportfolio-ac-nz/blocktype/externalfeed/lib.php:275
-   * PluginBlocktypeExternalfeed::parse_feed("http://feeds.feedburner.com/SarahsMusings?format=x...";) at /var/www/mahara-site-myportfolio-ac-nz/blocktype/externalfeed/lib.php:211
-   * PluginBlocktypeExternalfeed::refresh_feeds() at Unknown:0
-   * call_user_func_array(array(size 2), array(size 0)) at /var/www/mahara-site-myportfolio-ac-nz/lib/mahara.php:975
-   * call_static_method("PluginBlocktypeExternalfeed", "refresh_feeds") at /var/www/mahara-site-myportfolio-ac-nz/lib/cron.php:90
+   * log_message("DOMDocument::loadXML(): Empty string supplied as i...", 8, true, true, "/var/www/mahara-site-myportfolio-ac-nz/lib/pear/XM...", 95) at /var/www/mahara-site-myportfolio-ac-nz/lib/errors.php:378
+   * error(2, "DOMDocument::loadXML(): Empty string supplied as i...", "/var/www/mahara-site-myportfolio-ac-nz/lib/pear/XM...", 95, array(size 5)) at Unknown:0
+   * DOMDocument->loadXML("", 96) at /var/www/mahara-site-myportfolio-ac-nz/lib/pear/XML/Feed/Parser.php:95
+   * XML_Feed_Parser->__construct("", false, true, false) at /var/www/mahara-site-myportfolio-ac-nz/blocktype/externalfeed/lib.php:275
+   * PluginBlocktypeExternalfeed::parse_feed("http://feeds.feedburner.com/SarahsMusings?format=x...";) at /var/www/mahara-site-myportfolio-ac-nz/blocktype/externalfeed/lib.php:211
+   * PluginBlocktypeExternalfeed::refresh_feeds() at Unknown:0
+   * call_user_func_array(array(size 2), array(size 0)) at /var/www/mahara-site-myportfolio-ac-nz/lib/mahara.php:975
+   * call_static_method("PluginBlocktypeExternalfeed", "refresh_feeds") at /var/www/mahara-site-myportfolio-ac-nz/lib/cron.php:90
  
- 
- Looks like that feed supplies a blank page with status code 200 maybe? If feeds return nothing we should abort parsing it.
- 
- This bug was imported from eduforge.org, see:
- https://eduforge.org/tracker/index.php?func=detail&aid=3244&group_id=176&atid=739
+ Looks like that feed supplies a blank page with status code 200 maybe?
+ If feeds return nothing we should abort parsing it.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/548107

Title:
  RSS feed parser noise

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  [WAR] 7d (lib/pear/XML/Feed/Parser.php:95) DOMDocument::loadXML(): Empty string supplied as input
  Call stack (most recent first):
    * log_message("DOMDocument::loadXML(): Empty string supplied as i...", 8, true, true, "/var/www/mahara-site-myportfolio-ac-nz/lib/pear/XM...", 95) at /var/www/mahara-site-myportfolio-ac-nz/lib/errors.php:378
    * error(2, "DOMDocument::loadXML(): Empty string supplied as i...", "/var/www/mahara-site-myportfolio-ac-nz/lib/pear/XM...", 95, array(size 5)) at Unknown:0
    * DOMDocument->loadXML("", 96) at /var/www/mahara-site-myportfolio-ac-nz/lib/pear/XML/Feed/Parser.php:95
    * XML_Feed_Parser->__construct("", false, true, false) at /var/www/mahara-site-myportfolio-ac-nz/blocktype/externalfeed/lib.php:275
    * PluginBlocktypeExternalfeed::parse_feed("http://feeds.feedburner.com/SarahsMusings?format=x...";) at /var/www/mahara-site-myportfolio-ac-nz/blocktype/externalfeed/lib.php:211
    * PluginBlocktypeExternalfeed::refresh_feeds() at Unknown:0
    * call_user_func_array(array(size 2), array(size 0)) at /var/www/mahara-site-myportfolio-ac-nz/lib/mahara.php:975
    * call_static_method("PluginBlocktypeExternalfeed", "refresh_feeds") at /var/www/mahara-site-myportfolio-ac-nz/lib/cron.php:90

  Looks like that feed supplies a blank page with status code 200 maybe?
  If feeds return nothing we should abort parsing it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/548107/+subscriptions