Forum startet nicht mehr - Anti Bot Question INstallation
Verfasst: 28.05.2007 15:54
Hallo,
habe gerade meine anti bot question installation durch.
Leider startet das Forum nicht mehr, stattdessen folgende Fehlermeldung:
Fatal error: Call to a member function on a non-object in /www/htdocs/w0062147/phpBB2/includes/functions.php on line 360
In Zeile 360 steht ganz normal der Code (s. unten Zeile 354-369) , den man in die functions.php reinkopieren sollte. Wo liegt der Fehler?
habe gerade meine anti bot question installation durch.
Leider startet das Forum nicht mehr, stattdessen folgende Fehlermeldung:
Fatal error: Call to a member function on a non-object in /www/htdocs/w0062147/phpBB2/includes/functions.php on line 360
In Zeile 360 steht ganz normal der Code (s. unten Zeile 354-369) , den man in die functions.php reinkopieren sollte. Wo liegt der Fehler?
Code: Alles auswählen
// Anti Bot Question Mod - Start
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_abq.' . $phpEx);
$abq_config = array();
$sql = "SELECT *
FROM " . ANTI_BOT_QUEST_CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query anti bot question mod config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$abq_config[$row['config_name']] = $row['config_value'];
}
// Anti Bot Question Mod - End