query("DELETE FROM bb".$n."_statsinfo_ip WHERE time_date <> '".$statsinfotime."'"); $IPFOUND = $db->query_first("SELECT * FROM bb".$n."_statsinfo_ip WHERE ip_adresse='".$IPADRESSE."'"); if(empty($IPFOUND['ip_adresse'])) { $db->query("INSERT INTO bb".$n."_statsinfo_ip VALUES ('".$IPADRESSE."', '".$wbbuserdata['userid']."', '".$statsinfotime."')"); // Browser Config 2 $db->query("UPDATE bb".$n."_statsinfo_useragent SET counter=counter+1 WHERE name='".$BROWSER_FOUND."' AND identify='0'"); // Plattform Config 2 $db->query("UPDATE bb".$n."_statsinfo_useragent SET counter=counter+1 WHERE name='".$PLATTFORM_FOUND."' AND identify='1'"); } if($filename=='statsinfo.php') { // Systems ---------------------------------------------------------------------------------------- // $result = $db->query("SELECT * FROM bb".$n."_statsinfo_useragent WHERE identify='1' ORDER BY counter DESC LIMIT 0,$ywstats_toplimitbrowserplattform"); $i = 1; while($num=$db->fetch_array($result)) { $num['plattform']=$num['name']; if($i=="1" && $num['counter']>0) { $multip=100/$num['counter']; } $width=round($num['counter']*$multip); eval ("\$topplattformbit .= \"".$tpl->get("yw_statsplattformbit")."\";"); $i++; eval ("\$topplattform = \"".$tpl->get("yw_statsplattform")."\";"); } $result2 = $db->query("SELECT * FROM bb".$n."_statsinfo_useragent WHERE identify='0' ORDER BY counter DESC LIMIT 0,$ywstats_toplimitbrowserplattform"); $i = 1; while($num=$db->fetch_array($result2)) { $num['browser']=$num['name']; if($i=="1" && $num['counter']>0) { $multip=100/$num['counter']; } $width=round($num['counter']*$multip); eval ("\$topbrowserbit .= \"".$tpl->get("yw_statsbrowserbit")."\";"); $i++; eval ("\$topbrowser = \"".$tpl->get("yw_statsbrowser")."\";"); } $topbrowserplattform=$topbrowser.''.$topplattform; } } ?>SQL-DATABASE ERROR

Database error in WBBBlog: Link-ID == false, connect failed
mysql error:
mysql error number: 0
Date: 17.01.2021 @ 03:32
Script: /index.php?hidecat=4
Referer: