Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:01 am EST
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
Fatal error: Call to undefined function: com_clearspeedlimit() in /usr/www/users/kzielske/viroqua/public_html/forum/createtopic.php on line 115
11
10
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);
$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);
28
7
Quote
All times are EST. The time is now 08:01 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