beim aufrufen des acp kommt ab und zu mal diese meldung auf der rechten seite neben der navi
was könnte das sein?Could not obtain regd user/online information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE page_id = 1045' at line 1
SELECT forum_name, forum_id FROM phpbb_forums
Line : 609
File : index.php
das ist der teil den ich eingebaut habe
Code: Alles auswählen
// BEGIN Blank Template MOD
if( $onlinerow_guest[$i]['session_page'] < PAGE_TEMPLATE )
{
$page_id = - ($onlinerow_guest[$i]['session_page'] + PAGE_TEMPLATE);
$sql_tpl = "SELECT page_name WHERE page_id = $page_id";
if ( !($result_tpl = $db->sql_query($sql_tpl)) )
{
message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
}
while( $rowtpl = $db->sql_fetchrow($result_tpl) )
{
$location = $rowtpl['page_name'];
$location_url = "template.$phpEx?page=$page_id";
}
}
// END Blank Template MOD