Seite 1 von 2

Fatal error: Call to a member function on a non-object

Verfasst: 12.02.2005 10:30
von JJacu
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.
Fatal error: Call to a member function on a non-object in /srv/www/htdocs/web14/html/Forum/common.php on line 212
common.txt

Code der in der Nähe von Zeile 212 steht!
//
// 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');
}
rot = Zeile 212, die in der Fehlermeldung erwähnt wird.

Verfasst: 12.02.2005 10:45
von PhilippK
An der common.php liegt's nicht. Poste doch mal bitte die db.php

Gruß, Philipp

Verfasst: 12.02.2005 10:48
von JJacu
PhilippK hat geschrieben:An der common.php liegt's nicht. Poste doch mal bitte die db.php

Gruß, Philipp
includes/db.txt

Verfasst: 12.02.2005 11:02
von PhilippK
Die ist es auch nicht :-(

Was ist denn bei dir in der config.php als $dbms eingetragen?

Gruß, Philipp

Verfasst: 12.02.2005 11:18
von JJacu
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql';

$dbhost = 'localhost';
$dbname = 'usr_web14_1';
$dbuser = 'web14';
$dbpasswd = '******';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);
?>

Verfasst: 12.02.2005 12:23
von JJacu
LoL .. ich lad mal die includes/db.php hoch auf einmal dutzende von Fehlermeldungen mti dem attach mod ... den ordner lad ich nochmal hoch und übrig bleibt.

phpBB : Kritischer Fehler

Could not get theme data for themes_id [3]

Houston, wir haben eine neue Fehlermeldung :-( .... vieleicht kann mir ja hiermit jemand helfen

Verfasst: 12.02.2005 14:13
von PhilippK
Der MOD:maintenance sollte da weiterhelfen können - mit der Notfallkonsole :-)

Gruß, Philipp

Verfasst: 13.02.2005 17:47
von JJacu
PhilippK hat geschrieben:Der MOD:maintenance sollte da weiterhelfen können - mit der Notfallkonsole :-)

Gruß, Philipp

??? Wie soll ich das ganze benutzen wen nich net mal ins admin menü kann um diesen Check zu starten ?

Verfasst: 13.02.2005 17:53
von PhilippK
Wie gesagt: Notfallkonsole (erc.php) - die funzt auch, wenn der Rest nicht mehr will...

Gruß, Philipp

Verfasst: 13.02.2005 18:13
von JJacu
PhilippK hat geschrieben:Wie gesagt: Notfallkonsole (erc.php) - die funzt auch, wenn der Rest nicht mehr will...

Gruß, Philipp
hilft nix, bin die jeweiligen Sachen durchgegangen aber egal was ich ausgewählt hab half es nichts ... auser "entferne alle admins" naütlich ... also das hilft mir auch nicht :-(