No database selected

Nonverbal

New Member
Hallo,

ich habe heute versucht die software Realbux auf meinem server zu installieren,
aber immer wenn ich mich einloggen will kommt
Code:
No database selected
auf einem server von funpic läuft das cms einwandfrei.
Suse: 10.1
Confixx: 3.3.1
Php: 5.2.4

Ausschnitt aus der error-log:
Code:
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_result(): supplied argument is not a valid MySQL result resource in /home/www/web14/html/RealBux/sitestats.php on line 9
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_result(): supplied argument is not a valid MySQL result resource in /home/www/web14/html/RealBux/sitestats.php on line 20
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/www/web14/html/RealBux/sitestats.php on line 22
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'testty5'@'localhost' (using password: YES) in /home/www/web14/html/RealBux/config.php on line 10
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/web14/html/RealBux/config.php on line 10
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/web14/html/RealBux/sitestats.php on line 32
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/www/web14/html/RealBux/sitestats.php on line 34
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'testty5'@'localhost' (using password: YES) in /home/www/web14/html/RealBux/config.php on line 10
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/web14/html/RealBux/config.php on line 10
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/web14/html/RealBux/sitestats.php on line 41
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/www/web14/html/RealBux/sitestats.php on line 43
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'testty5'@'localhost' (using password: YES) in /home/www/web14/html/RealBux/config.php on line 10
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/web14/html/RealBux/config.php on line 10
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Notice:  Undefined variable: im2 in /home/www/web14/html/RealBux/image.php on line 75, referer: http://www.web14.crt-online.eu/RealBux/login.php
[Tue Apr 08 16:52:16 2008] [error] [client 89.244.237.106] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/www/web14/html/RealBux/image.php on line 75, referer: http://www.web14.crt-online.eu/RealBux/login.php
[Tue Apr 08 16:52:26 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'testty5'@'localhost' (using password: YES) in /home/www/web14/html/RealBux/config.php on line 10, referer: http://www.web14.crt-online.eu/RealBux/login.php
[Tue Apr 08 16:52:26 2008] [error] [client 89.244.237.106] PHP Warning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/web1
i
und das ist meine config datei:
PHP:
<?php
// Database configuration
$bd_host = "127.0.0.1";
$bd_usuario = "web14";
$bd_password = "*******";
$bd_base = "usr_web1*_3";
$url = "http://www.web1*.**************/RealBux/";
$con = mysql_connect($bd_host, $bd_usuario, $bd_password); mysql_select_db($bd_base, $con);
?>
Danke!
 
Last edited by a moderator:
Back
Top