Could not connect to the database bei Intro+Portal

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
rhooba
Mitglied
Beiträge: 74
Registriert: 08.02.2006 11:59

Could not connect to the database bei Intro+Portal

Beitrag von rhooba »

leider läßt sich der Link den Glorosina gepostet hat nicht öffnen!!
Was kann ich tun???
Liebe Grüße
Detlev
Valerie Raghnall
Mitglied
Beiträge: 3907
Registriert: 17.07.2002 14:03
Wohnort: Graz

Beitrag 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
A Bus Station is where buses stop. A Train Station is where trains stop. On my desk, there is a Work Station.
rhooba
Mitglied
Beiträge: 74
Registriert: 08.02.2006 11:59

Beitrag 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?
rhooba
Mitglied
Beiträge: 74
Registriert: 08.02.2006 11:59

Beitrag von rhooba »

Coud not connect ist jetzt klar strato hat probleme aber die fehlermeldung beim Update bleibt!
liebe Grüße
Detlev
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12259
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Beitrag 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.
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Antworten

Zurück zu „phpBB 2.0: Mod Support“