No Forums visible

No Forums visible

by Simon Bryan -
Number of replies: 4
Hi all, has just been pointed out to me that none of our forums seem to be visible, even to admins. We can go into a Forum, can see the link to the Forum, but when we click on it we just get a blank page (with our header).
If I try to go into the Teacher Forum on the Main Page using the Control Panel ie URL http://my.site/mod/forum/view.php?f=1
we get   Forum ID was incorrect or no longer exist
The tables still seem to be intact in the Moodle Database, we are running the latest CVS version of Moodle. The settings under Admin-configuration-modules-forums look OK.

Any ideas?
Average of ratings: -
In reply to Simon Bryan

Re: No Forums visible

by Timothy Takemoto -
I got the impression that big changes are being made to the moodle forums.
http://moodle.org/mod/wiki/view.php?id=2935&page=NewForum
Could it be that you downloaded CVS just at a time when a drastic change was being made?
In reply to Timothy Takemoto

Re: No Forums visible

by Simon Bryan -
Possible, but I have updated again since
In reply to Simon Bryan

Re: No Forums visible

by Simon Bryan -
Found the problem, could be a bug in /mod/forum/view.php

This was in my apache error logs:
[client 10.192.1.114] PHP Fatal error:  Call to undefined function:  isset_param() in /var/www/moodle/mod/forum/view.php on line 86, referer: http://kirk.olmc.nsw.edu.au/mod/forum/index.php?id=7
If I comment out that section, my forums, except for Teacher Forums are back. Is this a bug I should file? Or something wrong with my setup?
In reply to Simon Bryan

Re: No Forums visible

by Yu Zhang -
Actually, I think you can comment out this line:

    //$changegroup = isset_param('group') ? $group : -1;  // Group change requested?

and change

    $currentgroup = get_and_set_current_group($course, $groupmode, $changegroup);

to

    $currentgroup = get_and_set_current_group($course, $groupmode, $group);

and let me know if this solves the problem. =)

Thanks,

Yu