djplaner / moodle-mod_bim

A Moodle activity module the provides support for managing/marking individual student blogs hosted on external services.
http://davidtjones.wordpress.com/research/bam-blog-aggregation-management/
7 stars 2 forks source link

Incompatibility with Simplepie #14

Closed markpea closed 14 years ago

markpea commented 14 years ago

I have Simplepie RSS system installed in Moodle 1.9.7 instead of Magpie. BIM creates a nasty error when running cron.php:

Server Time: Fri, 30 Apr 2010 16:14:33 +0000 Starting activity modules Processing module function assignment_cron ...done. Processing module function chat_cron ...done. Processing module function forum_cron ...Starting digest processing... Cleaned old digest records done. Processing module function forumng_cron ... Email processing: I>nitial query: 0s Marking processed posts: 0s. Email processing (0 new posts) complete, total: 0s Beginning forum deleted/edit message cleanup... Message search: 0s No old deleted / edited messages to clean up. done. Processing module function bim_cron ...done. Finished activity modules Starting blocks Processing cron function for rss_client....
Fatal error: Cannot redeclare class SimplePie_Cache_MySQL in /usr/home/markp/public_html/clamp-LAE/lib/simplepie_1.2/simplepie.inc on line 9069

This also occurs if I try to use an RSS feed in the same course as a BIM activity.

djplaner commented 14 years ago

Mark,

BIM comes with its own copy of Simplepie. Like you I saw the problems around Magpie and BIM really needs to build on a firm foundation of feed manipulation and Simplepie was the best solution.

The complicating factor is that Simplepie doesn't appear to be standard with Moodle, so I had to include it in BIM. Which causes a clash if you have it installed.

The solution would probably be to remove BIM's simplpie. I can't do this (yet) with the main source as too many Moodle installs don't have it.

Some instructions

Hope this helps.

David.

markpea commented 14 years ago

Removing BIM's simplepie and linking to the other location did correct the problem generated by cron.php -- see http://www.earlham.edu/markp/millmiss/index.html#%5b%5bBIM%20problems%20:%20more%5d%5d But now I don't get any marking action -- http://www.earlham.edu/markp/millmiss/index.html#%5b%5bBIM%20problems%20%3A%20process%20issues%5d%5d

markpea commented 14 years ago

Marking action sorted -- egregious user error!