Posted on: 10/20/04 03:10pm
By: Anonymous (KZ)
Just installed the forum plugin. All went well until I tried to post a test message resulting in"
Fatal error: Call to undefined function: com_clearspeedlimit() in /usr/www/users/kzielske/viroqua/public_html/forum/createtopic.php on line 115
Forum plug-in problem
Posted on: 10/20/04 03:22pm
By: Dirk
Which version of Geeklog are you using?
bye, Dirk
Forum plug-in problem
Posted on: 10/20/04 03:37pm
By: Anonymous (kz)
Geeklog 1.3.7sr2 , I thought I was at 1.3.9sr2, copied the later version to my server.My host is Pair.com and it looks like their install gave me the earlier version. Do I need to upgrade to run the forum? If not, can I fix this? Here's code from the createtopic.php file that is giving me the error. I am not a programmer.
$date = time();
if($method == "newtopic") {
if($aname != '') {
$name = $aname;
}
if(strlen($name) > $minUsernameLength && strlen($subject) > $minSubjectLength && strlen($comment) > $minCommentLength) {
COM_clearSpeedlimit ($forumSpeedLimit, 'forum');
$last = COM_checkSpeedlimit ('forum');
if ($last > 0) {
$message = sprintf($LANG_GF01['SPEEDLIMIT'],$last,$forumSpeedLimit);
alertMessage($message,"Forum Posting Alert","Warning");
} else {
$postmode = gf_chkpostmode($postmode,$postmode_switch);
$name = gf_preparefordb(urldecode($name),$postmode);
$subject = gf_preparefordb(strip_tags($subject),'text');
$comment = gf_preparefordb($comment,$postmode);
Forum plug-in problem
Posted on: 10/20/04 03:59pm
By: Dirk
[QUOTE BY= kz] Do I need to upgrade to run the forum?[/QUOTE]
The COM_speedlimit functions were introduced in Geeklog 1.3.8.
bye, Dirk