Seite 1 von 1

Wetter Add-On: Couldn't connect to Database

Verfasst: 05.07.2007 15:03
von Giga-Tronic
Hi

ich hab bei mir das Wetter Add-On für das Portal installiert...

Nun wollte ich die db_update_wetter_addon.php ausführen, aber es kommt ne Fehlermeldung:

phpBB : Kritischer Fehler

Could not connect to the database


Ich weiß net worans liegt, weil in meiner config.php sind ja alle Daten eingetragen, aber anscheinend will der die irgendwie nicht daraus lesen.


Woran liegt das?


EDIT


Hab den Fehler gefunden

in der db_update stand:

Code: Alles auswählen

define('IN_PHPBB', 1);
$phpbb_root_path = './';
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);
Ich habs geändert in:

Code: Alles auswählen

define('IN_PHPBB', true);
$phpbb_root_path = './';
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 es klappt.

Gruß

Andi

Verfasst: 05.07.2007 15:12
von gloriosa
Hallo,
mit der offiziellen Lösung die im unteren Abschnitt von >>> KB:131 <<< nachzulesen ist klappt das auch. :D