Fatal error: Call to a member function on a non-object
Verfasst: 12.02.2005 10:30
Hallo Leute.
Zieh jetzt schon zum X. Mal um, zu einem neuen Server.
Nun, kamen da jede Menge Fehlermeldung von MySQL, Parse Error usw., die habe ich alle selber gepackt. Aber nun diese dumme Meldung die ich einfach nicht weg krieg.
Code der in der Nähe von Zeile 212 steht!
Zieh jetzt schon zum X. Mal um, zu einem neuen Server.
Nun, kamen da jede Menge Fehlermeldung von MySQL, Parse Error usw., die habe ich alle selber gepackt. Aber nun diese dumme Meldung die ich einfach nicht weg krieg.
common.txtFatal error: Call to a member function on a non-object in /srv/www/htdocs/web14/html/Forum/common.php on line 212
Code der in der Nähe von Zeile 212 steht!
rot = Zeile 212, die in der Fehlermeldung erwähnt wird.//
// Setup forum wide options, if this fails
// then we output a CRITICAL_ERROR since
// basic forum information is not available
//
$sql = "SELECT *
FROM " . CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
}
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted');
}