Auth.php probleem
Geplaatst: 26 mar 2004, 15:28
ik (de hoofd-admin) krijg dit op mijn index:
dit zijn die regels van auth.php
het ligt 99% cker aan
Code: Selecteer alles
Failed obtaining forum access control lists
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 'phpbb_forums a' at line 1
phpbb_forums a
Line : 127
File : /usr/home/robinfor/public_html/forum/includes/auth.php
dit zijn die regels van auth.php
Code: Selecteer alles
if ( empty($f_access) )
{
$forum_match_sql = ( $forum_id != AUTH_LIST_ALL ) ? "WHERE a.forum_id = $forum_id" : '';
$sql = "SELECT a.forum_id, $a_sql FROM " . phpbb_forums . " a $forum_match_sql";
if ( !($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql);
}
$sql_fetchrow = ( $forum_id != AUTH_LIST_ALL ) ? 'sql_fetchrow' : 'sql_fetchrowset';
Code: Selecteer alles
$sql = "SELECT a.forum_id, $a_sql FROM " . phpbb_forums . " a $forum_match_sql";