Seite 1 von 1
Could not connect to the database bei Intro+Portal
Verfasst: 13.02.2006 15:29
von rhooba
leider läßt sich der Link den Glorosina gepostet hat nicht öffnen!!
Was kann ich tun???
Liebe Grüße
Detlev
Verfasst: 13.02.2006 15:37
von Valerie Raghnall
erst mal in dein topic auch reinschreiben worum es nun genau geht, was du getan hast bevor es nicht mehr ging, wie genau die fehlermeldung lautet, eventuell einen screenshot machen, damit wir auch wissen was wirklich passiert ist...
und du könntest in der dokumentation nachgucken und dort nach "could not connect to database" suchen

dann findet sich das hier:
http://www.phpbb.de/doku/kb/artikel.php ... ot_connect
Verfasst: 13.02.2006 15:45
von rhooba
Ich wollte bei dem Intro undPortalmod ein Update von 1,25 auf 1.5 machen. danach bekam ich eine riesige Fehlermeldung:
Critical Error
FIND FAILED: In file [portal.php] could not find:
// SWITCH NAVIGATION START
if( $introportalmod_config['navigation_active'] == "1" )
{
$sql = "SELECT * FROM " . $table_prefix . "introportalmodnav fe ORDER BY navsort_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_MESSAGE, 'Could not get introportalmodnav data', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
eval('$nav_name = ' . $row['nav_name'] . ';');
$template->assign_block_vars("topicrownav", array(
'nav_link' => $row['nav_link'],
'nav_name' => $nav_name)
);
}
$template->assign_block_vars('switch_navigation_active', array());
}
// SWITCH NAVIGATION END
wenn ich jetzt das forum starten möchte bekomme ich die Meldung:
phpBB : Kritischer Fehler
Could not connect to the database
Kann mir jemand helfen?
Verfasst: 13.02.2006 16:34
von rhooba
Coud not connect ist jetzt klar strato hat probleme aber die fehlermeldung beim Update bleibt!
liebe Grüße
Detlev
Verfasst: 13.02.2006 17:37
von Mahony
Hallo rhooba
Ändere in der
intro_portal_mod_db_install.php folgendes
suche das 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);
ersetze mit dem hier:
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);
Danach die geänderte
intro_portal_mod_db_install.php hochladen und ausführen.