Seite 1 von 1

Safe the first admin

Verfasst: 22.01.2007 19:10
von BennyProdo
Hallo,

ich versuche vergeblich die db_update.php auszuführen, leider kommt immer diese fehlermeldung:

Code: Alles auswählen

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'web147'@'localhost' (using password: NO) in /var/www/web147/html/go/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /var/www/web147/html/go/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /var/www/web147/html/go/db/mysql4.php on line 331
phpBB : Kritischer Fehler 

Could not connect to the database 
link zum mod: http://www.phpbb.de/moddb/secure_admin

Verfasst: 22.01.2007 19:24
von area57
Moin,

wie wäre es mal die Knowledge Base zu begutachten --> KB:131 letzter Absatz

Verfasst: 22.01.2007 19:33
von BennyProdo
leider hilft mir der eintrag nicht sehr weiter, die selbe fehlermeldung kommt! Habe alle include durch include_once ersetzt, funzt leider nicht! Es handelt sich ja um eine dp_update.php also eine mitgedownloadete datei vom autor

Verfasst: 22.01.2007 19:39
von gloriosa
Hallo,
darin
BennyProdo hat geschrieben: Habe alle include durch include_once ersetzt,
liegt Dein Fehler ! :oops:

Verfasst: 22.01.2007 19:44
von BennyProdo
ääh moment ich gebe mal einen auschnitt, könntest du mir verraten wo ich das include ersetzen muss?

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);
das habe ich gemacht, nun so sah die voher aus, also nur der ausschnitt:

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);

Verfasst: 22.01.2007 21:30
von S2B
Einen Großteil davon solltest du eigentlich weglassen können:

Code: Alles auswählen

<?php
define('IN_PHPBB', 1);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

Verfasst: 22.01.2007 21:36
von BennyProdo
ok danke für eure hilfe, ich hoffe das problem ist nun behoben, wenn nicht ediere ich

//edit: hat geklappt