( ! ) Warning: mysqli_connect(): (HY000/2002): Connection refused in /var/www/deathmetal.ru/htdocs/inc/db_fns.php on line 3 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 357408 | {main}( ) | .../index.php:0 |
2 | 0.0004 | 357752 | include( '/var/www/deathmetal.ru/htdocs/inc/db_fns.php ) | .../index.php:3 |
3 | 0.0004 | 357752 | db_connect( ) | .../db_fns.php:100 |
4 | 0.0004 | 357880 | mysql_connect( $server = 'localhost', $username = 'deathm', $password = 'CCd?PJLZr' ) | .../db_fns.php:89 |
5 | 0.0004 | 357880 | mysqli_connect( $host = 'localhost', $user = 'deathm', $password = 'CCd?PJLZr' ) | .../db_fns.php:3 |
( ! ) Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in /var/www/deathmetal.ru/htdocs/inc/db_fns.php on line 9 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 357408 | {main}( ) | .../index.php:0 |
2 | 0.0004 | 357752 | include( '/var/www/deathmetal.ru/htdocs/inc/db_fns.php ) | .../index.php:3 |
3 | 0.0016 | 358224 | mysql_query( $sql = 'SET NAMES cp1251', $link = ??? ) | .../db_fns.php:102 |
4 | 0.0016 | 358224 | mysqli_query( $link = FALSE, $query = 'SET NAMES cp1251' ) | .../db_fns.php:9 |
( ! ) Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /var/www/deathmetal.ru/htdocs/inc/db_fns.php on line 50 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 357408 | {main}( ) | .../index.php:0 |
2 | 0.0004 | 357752 | include( '/var/www/deathmetal.ru/htdocs/inc/db_fns.php ) | .../index.php:3 |
3 | 0.0018 | 358336 | mysql_error( $link = ??? ) | .../db_fns.php:102 |
4 | 0.0018 | 358336 | mysqli_error( $link = FALSE ) | .../db_fns.php:50 |