database setup, i can get some functionality, but i just can't seem to get past these last errors.
Fatal error: Call to undefined function: forum_get_course_forum() in /home/content/y/o/n/yongintkd/html/index.php on line 212
i've even deleted the original config file and gone through the installation again to recreate the config file.
I also gt an error on the admin panel. Fatal error: Call to undefined function: forum_get_course_forum() in /home/content/y/o/n/yongintkd/html/blocks/news_items/block_news_items.php on line 31
Also within courses
Fatal error: Call to undefined function: forum_print_search_form() in /home/content/y/o/n/yongintkd/html/blocks/search_forums/block_search_forums.php on line 29
ideas?
Fatal error: Call to undefined function: forum_get_course_forum()
by Adam Brooks -
Number of replies: 7
In reply to Adam Brooks
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Adam Brooks -
two days of trying to gert a reponse to this issue and still nothing. *shakes head*
In reply to Adam Brooks
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Daryl Hawes -
Your version of PHP, block_html.php, blocklib.php, Moodle?
In reply to Daryl Hawes
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Daryl Hawes -
That question was obviously copy/pasted
What versions of moodle and moodle support files are you working with?
What versions of moodle and moodle support files are you working with?
In reply to Daryl Hawes
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Adam Brooks -
I am working with an install of Moodle 1.4.1. We're running PHP 4.3.2
In reply to Adam Brooks
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Daryl Hawes -
function forum_get_course_forum
is declared in moodle/mod/forum/lib.php
moodle/index.php requires forum lib.
require_once($CFG->dirroot.'/mod/forum/lib.php');
one possibility - your dirroot variable in config.php is incorrect.
another possibility - your missing the forum lib
surely there are other possibilities, maybe this points you in a direction though
is declared in moodle/mod/forum/lib.php
moodle/index.php requires forum lib.
require_once($CFG->dirroot.'/mod/forum/lib.php');
one possibility - your dirroot variable in config.php is incorrect.
another possibility - your missing the forum lib
surely there are other possibilities, maybe this points you in a direction though
In reply to Daryl Hawes
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Zbigniew Fiedorowicz -
There are many possibilities. Depending on the way you upgraded, there may have been a problem with your unzip, or cvs or ftp. Or there may be a problem with the permissions on your mod/forum/lib.php. I would first check the permissions on mod/forum/lib.php, then search for function forum_get_course_forum in mod/forum/lib.php. If you don't find it, get a fresh copy of mod/forum/lib.php from
http://cvs.sourceforge.net/viewcvs.py/*checkout*/moodle/moodle/mod/forum/lib.php?rev=1.250.2.7
http://cvs.sourceforge.net/viewcvs.py/*checkout*/moodle/moodle/mod/forum/lib.php?rev=1.250.2.7
In reply to Daryl Hawes
Re: Fatal error: Call to undefined function: forum_get_course_forum()
by Adam Brooks -
mod/forum/lib.php was it. thank you! all seems to be workign now, but i still have a few more things to check.