Boofo
05-04-2003, 01:03 AM
Can someone please tell me what I am getting this error on my forumhome?
Warning: Unknown modifier 'k' in /home/bear/public_html/forum/index.php on line 414
Here is the chunk of code in question:
// vbarchive robot info for currently active users
$loggedins=$DB_site->query("SELECT session.useragent FROM session WHERE userid=0 AND lastactivity>$datecut");
$numberwebrobots=0;
$loggedinrobots="";
while ($loggedin=$DB_site->fetch_array($loggedins)) {
$checkagent = $loggedin['useragent'];
$webrobot = useragentcheck($checkagent, 1);
if ($webrobot)
{
$numberwebrobots++;
if (!(preg_match("/$webrobot/i", $loggedinrobots) )) $loggedinrobots .= $webrobot . ", ";
}
}
if (!empty($loggedinrobots)) $loggedinrobots = "(" . substr($loggedinrobots, 0, -2) .")";
$numberguest = ($numberguest - $numberwebrobots);
// vbarchive robot info for currently active users end
Line 414 of this is:
if (!(preg_match("/$webrobot/i", $loggedinrobots) )) $loggedinrobots .= $webrobot . ", ";
And here is the web robot in question:
Teoma/Ask Jeeves
Warning: Unknown modifier 'k' in /home/bear/public_html/forum/index.php on line 414
Here is the chunk of code in question:
// vbarchive robot info for currently active users
$loggedins=$DB_site->query("SELECT session.useragent FROM session WHERE userid=0 AND lastactivity>$datecut");
$numberwebrobots=0;
$loggedinrobots="";
while ($loggedin=$DB_site->fetch_array($loggedins)) {
$checkagent = $loggedin['useragent'];
$webrobot = useragentcheck($checkagent, 1);
if ($webrobot)
{
$numberwebrobots++;
if (!(preg_match("/$webrobot/i", $loggedinrobots) )) $loggedinrobots .= $webrobot . ", ";
}
}
if (!empty($loggedinrobots)) $loggedinrobots = "(" . substr($loggedinrobots, 0, -2) .")";
$numberguest = ($numberguest - $numberwebrobots);
// vbarchive robot info for currently active users end
Line 414 of this is:
if (!(preg_match("/$webrobot/i", $loggedinrobots) )) $loggedinrobots .= $webrobot . ", ";
And here is the web robot in question:
Teoma/Ask Jeeves