Seite 1 von 1

Knowledge Base Erst Installation

Verfasst: 16.05.2007 23:20
von Fantasie
Hallo,

bekomme folgende Fehlermeldung beim installiern des Mods:

Code: Alles auswählen

Warning: main(./includes/kb_constants.php) [function.main]: failed to open stream: No such file or directory in /homepages/33/XXXXXXXX/htdocs/forum/install_kb_tables.php on line 31

Warning: main() [function.include]: Failed opening './includes/kb_constants.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/33/XXXXXXXX/htdocs/forum/install_kb_tables.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /homepages/XXXXXXXX/htdocs/forum/install_kb_tables.php:31) in /homepages/33/XXXXXXXX/htdocs/forum/includes/sessions.php on line 369

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/XXXXXXXX/htdocs/forum/install_kb_tables.php:31) in /homepages/33/XXXXXXXX/htdocs/forum/includes/sessions.php on line 370

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/XXXXXXXX/htdocs/forum/install_kb_tables.php:31) in /homepages/33/XXXXXXXX/htdocs/forum/includes/page_header.php on line 811

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/XXXXXXXX/htdocs/forum/install_kb_tables.php:31) in /homepages/33/XXXXXXXX/htdocs/forum/includes/page_header.php on line 813

Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/XXXXXXXX/htdocs/forum/install_kb_tables.php:31) in /homepages/33/XXXXXXXX/htdocs/forum/includes/page_header.php on line 814
Muste schon dies in der install_kb_tables.php ändern:

Code: Alles auswählen

Ersetze: 
include

Code: Alles auswählen

durch:
include_once
und trozdem der Fehler.

Verfasst: 17.05.2007 09:00
von Würzi
Moin,

ist die kb_constants.php im includes Ordner?

Überprüf das bitte mal :wink:

Verfasst: 17.05.2007 12:42
von Fantasie
Hallo,

ja ist drin, auch die anderen Dateien.
Habe gestern noch den Map Mode installiert und da hat die beigefügte db_update.php einwandfrei funktioniert. Also liegt es nicht an der Forumsdatenbank.
Fehlt hier in der upgrade_kb_tables.php nicht irgendwas:

Code: Alles auswählen

include_once($phpbb_root_path . 'extension.inc');
include_once($phpbb_root_path . 'config.'.$phpEx);
include_once($phpbb_root_path . 'includes/constants.'.$phpEx);
include_once($phpbb_root_path . 'common.'.$phpEx);
include_once($phpbb_root_path . 'includes/db.'.$phpEx);
include_once($phpbb_root_path . 'includes/kb_constants.'.$phpEx);

Verfasst: 17.05.2007 15:20
von Würzi
Hmm.... *grübel*

Also wenn die die Knowledge Base nach Anleitung installierst dürfte eigentlich kein Fehler kommen.

Na das mit include oder include_once aber sonst eigentlich nix.

Gehen wir nochmal die install durch? :oops:

1. Edit the orginal phpbb files
2. Upload all remaining files
3. use install_kb_tables.php for fresh install
4. Delete install file

Bei Amigalink findest übrigens einige fixes für die KB :wink:

Verfasst: 17.05.2007 16:57
von Fantasie
Vielleicht ist meine Version defekt oder falsch, wo hast du deiner her?
Ich habe meine bei oxpus mit weiterführendem Link

Edit:
Ja, habe den Mode installieren können. :grin:
Man muss zuerst alle Fixes von Amigalink einbauen und dann erst hochladen und installieren. Dann brauch auch nicht die install_kb_tables.php mit dem include Befehl bearbeitet werden !