PHP error in Forums

PHP error in Forums

Ted G
Vastuste arv 3

When I setup a new Forum activity and click the link to get into it, I receive the following error:

PHP Fatal error: Call to undefined function: get_user_preferences() in d:\home\hnt10d208\www\virtualschool\mod\forum\view.php on line 179

However, previously created Forums get the following error when the link is clicked:

PHP Fatal error: Call to undefined function: get_user_preferences() in d:\home\hnt10d208\www\virtualschool\mod\forum\discuss.php on line 71

The errors started after I uploaded the latest Forum module. I'm using a hosted Windows 2000 ServerMoodle 1.2 development (2004011700),  and the latest Forum module.

Any ideas what might be wrong and how it can be fixed? I'm going "live" for the very first time in 6 days.

Keskmine hinnang: -
Vastuses Ted G

Re: PHP error in Forums

Martin Dougiamas
Core developers pilt Documentation writers pilt Moodle HQ pilt Particularly helpful Moodlers pilt Plugin developers pilt Testers pilt
You need to upgrade everything, not just the forum module.
Vastuses Martin Dougiamas

Re: PHP error in Forums

Ted G

I should have stated that I upgraded all of the modules and not just the forums the other day. I didn't install the latest Moodle though. Is that the problem?

Vastuses Martin Dougiamas

Re: PHP error in Forums

Ted G
That was the problem. I installed the latest version of Moodle and all is well. Thanks for the help.