Seite 1 von 1

Probleme mit "Forum Random Advertising Banners"

Verfasst: 20.05.2007 03:34
von flatron2006
Ich habe diesen MOD (Forum Random Advertising Banners) eingebaut, wurde was nicht will ist die datei "db_update_admin_banners.php" lässt sich nicht ausführen, da kommt im Browser folgender Text: "phpBB : Kritischer Fehler - Could not connect to the database"
das ist mir eigentlich bei jeder datei die dafür ist passiert. könnt ihr mir vielleicht das manuell geben, sowie es manchmal in den MOD Beschreibung drin ist? weiß auch nicht warum die dateien immer nicht wollen :(.

das ist die Fehlermeldung was im Forum kommt:

Code: Alles auswählen

Could not obtain ADMINBANNERS information

DEBUG MODE

SQL Error : 1146 Table 'abelandreas_de_1.phpbb_adminbanners' doesn't exist

SELECT word, replacement FROM phpbb_adminbanners ORDER BY RAND() LIMIT 1

Line : 52
File : page_tail.php

Verfasst: 20.05.2007 04:10
von Mahony
Hallo
Suche in der db_update_admin_banners.php

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 mit

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);
Anschließend die Datei hoch laden und im Browser aufrufen.




Grüße: Mahony

Verfasst: 20.05.2007 13:58
von flatron2006
Danke, hat funktioniert.