Fatal error in database module

Fatal error in database module

by 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?

Average of ratings: -
In reply to Colin Piquette

Re: Fatal error in database module

by Colin Piquette -

Sorry, I forgot to mention it is moodle 2.0

In reply to Colin Piquette

Re: Fatal error in database module

by 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 smile

 

Average of ratings:Useful (1)
In reply to Penny Leach

Re: Fatal error in database module

by Colin Piquette -

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

In reply to Colin Piquette

Re: Fatal error in database module

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of 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.