Seite 1 von 1

Portalmod Problem can't connect to the database

Verfasst: 23.04.2006 20:14
von handy-power.org
Hallo habe nen Problem mit dem portalmod. Wenn ich die intro_portal_mod_db_install.php starte steht drann : couldnt connect to the database.

Klar, er hat die falschen database daten, aber wo sind die in dem fall definiert? Danke schonmal für eure Antworten!!

Verfasst: 23.04.2006 20:16
von BB-BF-BM
Siehe unterer Abschnitt von >>KB:could_not_connect<<!

EDIT: Weil viele Leute nicht lesen können: :wink:
Der Fehler liegt hier

Code: Alles auswählen

<?php
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);
und so muss das aussehen

Code: Alles auswählen

<?php
define('IN_PHPBB', 1);
$phpbb_root_path = './';
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);

Verfasst: 23.04.2006 20:19
von handy-power.org
Geht sogar. Hätte ich nicht erwartet, vielen Dank!!!

Verfasst: 23.04.2006 20:20
von BB-BF-BM
Die Suche hätte dir gezeigt, dass es geht :wink: