← Back to team overview

mahara-contributors team mailing list archive

[Bug 547767] Re: Udate of external RSS-Feeds doesn't work

 

Do you know if the tpamahara site has its cron set up correctly
(http://wiki.mahara.org/System_Administrator%27s_Guide/Cron_Job)?  The
feeds should update every hour or so if it's set up properly.

If cron is running and the feeds are still not updating, then there
should be some errors in either the cron log (if cron.php is called on
the command line) or in the webserver log (if cron.php is called using
curl).

-- 
Udate of external RSS-Feeds doesn't work
https://bugs.launchpad.net/bugs/547767
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Invalid

Bug description:
Hello,

im running mahara 1.0.8 on MySQL 5.0.75, lighttpd/1.4.19 with PHP 5.2.8.

Everything's seems to work apart from the updating of RSS-Feeds in Views.

The Cron-Job is in place, and the RSS-Boxes within Views give recent date-info like "last updated on...". The Items of RSS-Feeds nevertheless just show the items that were there, when the feed was added.
Even when I tried to delete the Feed-Box, saved the view and re-inserted a new box with the rss-feed details, there was no update.


I would greatly appreciate any ideas/hints to solve this issue !


I've added below two exemplary entries from the lighttpd error-log 
that appear several times.

Thank you for your help.


--------
[WAR] 27 (lib/pear/XML/Feed/Parser/Type.php:198) Indirect modification of overloaded property XML_Feed_Parser_Atom::$idMappings has no effect
Call stack (most recent first):
  * log_message("Indirect modification of overloaded property XML_F...", 8, true, true, "/opt/local/htdocs/mahara/lib/pear/XML/Feed/Parser/...", 198) at /opt/local/htdocs/mahara/lib/errors.php:374
  * error(8, "Indirect modification of overloaded property 
2009-01-10 13:31:31: (mod_fastcgi.c.2592) FastCGI-stderr:  XML_F...", "/opt/local/htdocs/mahara/lib/pear/XML/Feed/Parser/...", 198, array(size 5)) at /opt/local/htdocs/mahara/lib/pear/XML/Feed/Parser/Type.php:198
  * XML_Feed_Parser_Type->getEntryByOffset(9) at /opt/local/htdocs/mahara/lib/pear/XML/Feed/Parser.php:322
  * XML_Feed_Parser->getEntryByOffset(9) at /opt/local/htdocs/mahara/lib/pear/XML/Feed/Parser.php:247
  * XML_Feed_Parser->current() at /opt/local/htdocs/mahara/blocktype/externalfeed/lib.php:298
  * PluginBlocktypeExternalfeed::parse_feed("http://blog.flickr.net/de/feed/atom/";) at /opt/local/htdocs/mahara/blocktype/externalfeed/lib.php:152
  * PluginBlocktypeExternalfeed::instance_config_validate(object(Pieform), array(size 5)) at Unknown:0
  * call_user_func_array(array(size 2), array(size 2)) at /opt/local/htdocs/mahara/lib/pieforms/pieform.php:1200
  * Pieform->validate(array(size 5)) at /opt/local/htdocs/mahara/lib/pieforms/pieform.php:410
  * Pieform->__construct(array(size 5)) at /opt/local/htdocs/mahara/blocktype/lib.php:476
  * BlockInstance->build_configure_form(false) at /opt/local/htdocs/mahara/blocktype/lib.php:299
  * BlockInstance->render_editing(true) at /opt/local/htdocs/mahara/lib/view.php:745
  * View->build_column(1, true) at /opt/local/htdocs/mahara/lib/view.php:722
  * View->build_columns(true) at /opt/local/htdocs/mahara/view/blocks.php:65
--------

and:

--------

2009-01-10 23:52:26: (mod_fastcgi.c.2592) FastCGI-stderr: [WAR] c1 (blocktype/externalfeed/lib.php:48) unserialize() [function.unserialize]: Error at offset 45135 of 65608 bytes
Call stack (most recent first):
  * log_message("unserialize() [function.unserialize]: Error at off...", 8, true, true, "/opt/local/htdocs/mahara/blocktype/externalfeed/li...", 48) at /opt/local/htdocs/mahara/lib/errors.php:374
  * error(8, "unserialize() [<a href='function.unserialize'>func...", "/opt/local/htdocs/mahara/blocktype/externalfeed/li...", 48, array(size 3)) at Unknown:0
  * unserialize("a:10:{i:0;O:8:"stdClass":3:{s:5:"title";s:76:"Neue...") at /opt/local/htdocs/mahara/blocktype/externalfeed/lib.php:48
  * PluginBlocktypeExternalfeed::render_instance(object(BlockInstance)) at Unknown:0
  * call_user_func_array(array(size 2), array(size 1)) at /opt/local/htdocs/mahara/lib/mahara.php:964
  * call_static_method("PluginBlocktypeExternalfeed", "render_instance", object(BlockInstance)) at /opt/local/htdocs/mahara/blocktype/lib.php:377
  * BlockInstance->render_viewing(false) at /opt/local/htdocs/mahara/lib/view.php:745
  * View->build_column(1, false) at /opt/local/htdocs/mahara/lib/view.php:722
  * View->build_columns() at /opt/local/htdocs/mahara/view/view.php:280

--------
  

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=3096&group_id=176&atid=739