Seite 1 von 1

Eventlist - Fehler beim DB einbau

Verfasst: 27.11.2005 20:24
von gnafu
Ich hab versucht über den easymodinstaller die Eventliste in mein Forum einzubaun und das hat auch prima geklappt, bis ich dann die DB updaten wollte, daraufhin bekam ich folgenden Fehler

Code: Alles auswählen


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'web2002_db4'@'localhost' (using password: NO) in /web/web2002/html/benni/phpbb2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /web/web2002/html/benni/phpbb2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /web/web2002/html/benni/phpbb2/db/mysql4.php on line 331
phpBB : Kritischer Fehler

Could not connect to the database
Ich weiß aber nicht warum, da alle Daten von der DB vorhanden sind, aber er will sie partu nicht updaten.

Ich würde mich freuen, wenn mir jemand helfen kann.

Gruß

gnafu

Lösung

Verfasst: 27.11.2005 20:28
von gloriosa
Hallo,
öffne die db_update_eventslist.php und suche Folgendes

Code: Alles auswählen

include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'config.'.$phpEx);
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
und ersetze es mit diesem

Code: Alles auswählen

include_once($phpbb_root_path . 'extension.inc');
include_once($phpbb_root_path . 'config.'.$phpEx);
include_once($phpbb_root_path . 'common.'.$phpEx);
include_once($phpbb_root_path . 'includes/constants.'.$phpEx);
include_once($phpbb_root_path . 'includes/db.'.$phpEx);
Dann sollte es funktionieren ! :wink:

Verfasst: 27.11.2005 20:30
von gnafu
Danke für die schnelle Hilfe, hat funktioniert :wink: