Fatal error in database module

Fatal error in database module

Colin Piquette發表於
Number of replies: 4

Hello,

I've just started testing out the database activity module and every second or third time I click on link within the module ( it doesnt seem to matter which one) it goes to a blank screen. I turned on debugging and this is what it says:

Fatal error: Class 'portfolio_module_caller_base' not found in /home/mysite/public_html/moodle/mod/data/locallib.php on line 29

Any ideas what is going on?

評比平均分數: -
In reply to Colin Piquette

Re: Fatal error in database module

Colin Piquette發表於

Sorry, I forgot to mention it is moodle 2.0

In reply to Colin Piquette

Re: Fatal error in database module

Penny Leach發表於

It looks to me like that file is missing a require_once($CFG->libdir . '/portfolio/caller.php'); at the top. Can you file a bug in the tracker to that effect?  I would just fix it but I haven't done any moodle development since Moodle migrated to git and I no longer have a working set up 微笑

 

評比平均分數:Useful (1)
In reply to Penny Leach

Re: Fatal error in database module

Colin Piquette發表於

I have just done so. Thanks for getting back to me so quickly! 酷

In reply to Colin Piquette

Re: Fatal error in database module

Helen Foster發表於
Core developers的相片 Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片

Colin, thanks for creating MDL-26797. As mentioned in the issue, upgrading your site to 2.0.2 should fix the problem. If not, please let us know.