Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 09:37 am EDT

Geeklog Forums

Forum plug-in problem


KZ

Anonymous
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Which version of Geeklog are you using?

bye, Dirk
 Quote

kz

Anonymous
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);
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by kz: Do I need to upgrade to run the forum?

The COM_speedlimit functions were introduced in Geeklog 1.3.8.

bye, Dirk
 Quote

All times are EDT. The time is now 09:37 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content