Seite 1 von 1
Problem mit Intro + Portal-Mod 150a
Verfasst: 04.02.2006 23:29
von Stefane
Hallo,
ich habe mir ein eigenes Forum erstellt und wollte nun die o.g. Mod hinzufügen. Ich habs mit dem EasyMod-Installer gemacht und die 3 Schritte wurden auch abgeschlossen.
Allerdings soll ich ja noch die Datei
intro_portal_mod_db_install.php
im Browser ausführen, damit meine DB aktualisiert wird.
Und das macht mir Probleme.
phpBB : Kritischer Fehler
Could not connect to the database
Das gibt er mir aus. Von meinem Forum habe ich jedoch schon Daten in der DB.
Woran kann das liegen, das nur die Datei die DB nicht connecten kann?
Vielen Dank für eure Mühe.
MfG, Stefan.
Verfasst: 05.02.2006 00:23
von Julian87
Hi,
öffne die intro_portal_mod_db_install.php
Code: Alles auswählen
#
#FIND
#
include
#
#REPLACE WITH
#
include_once
#
#
#
----------------
kann mehrmals vorkommen. Es müssen dann alle ersetzt werden.
Julian
Verfasst: 05.02.2006 00:51
von Stefane
SUPER!!!
Danke für die schnelle Abhilfe!
Verfasst: 05.02.2006 01:32
von mar
Das hat mir auch gleich Geholfen

Verfasst: 05.02.2006 14:10
von Duke0421
Hallo,
ich hatte die gleiche fehlermeldung.
habe ebenfalls die datei geändert.
<?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_once/constants.'.$phpEx);
include_once($phpbb_root_path . 'includes_once/db.'.$phpEx);
habe also aus allen "include - include_once" gemacht.
leider bekomme ich nun die folgende fehlermeldung:
Warning: main(./includes_once/constants.php): failed to open stream: No such file or directory in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php on line 7
Warning: main(): Failed opening './includes_once/constants.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php on line 7
Warning: main(./includes_once/db.php): failed to open stream: No such file or directory in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php on line 8
Warning: main(): Failed opening './includes_once/db.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php:7) in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/includes/sessions.php on line 370
Warning: Cannot modify header information - headers already sent by (output started at /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php:7) in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/includes/sessions.php on line 371
Warning: Cannot modify header information - headers already sent by (output started at /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php:7) in /homepages/20/d25696612/htdocs/pmc/pmc.forum/phpBB2/intro_portal_mod_db_install.php on line 20
Wie ich gerade sehe, habe ich aber schon beim aufruf des forums eine fehlermeldung:
Allgemeiner Fehler
Could not query Intro + Portal configuration !
RUN intro_portal_mod_db_install.php AND DELETE IT AFTER THAT AND CHECK THE FILES TO EDIT !!!
Fehler beim Abfragen der Intro + Portal Konfiguration !
FÜHRE DIE intro_portal_mod_db_install.php AUS UND LÖSCHE SIE DANACH UND ÜBERPRÜFE DIE ZU EDITIERENDEN DATEIEN !!!
HTH AWSW
DEBUG MODE
SQL Error : 1146 Table 'db152911919.phpbb_introportalmod' doesn't exist
SELECT * FROM phpbb_introportalmod
Line : 44
File : intro.php
kann mir vielleicht jemand helfen...
danke
Verfasst: 05.02.2006 14:18
von Julian87
Hi,
versuchs mal damit:
Richtig hat geschrieben:<?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);
Du hattest bei deinem auch:
Falsch hat geschrieben:<?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_once/constants.'.$phpEx);
include_once($phpbb_root_path . 'includes_once/db.'.$phpEx);
Denn es soll ja nur
include geändert werden und nicht
includes
Julian
Verfasst: 05.02.2006 14:26
von Duke0421
Au-Mann DANKE!!!!!
Tausend Dank!
Es hat funktioniert... wie konnte ich auch nur so blind/blöd sein....
nochmals danke