Error occurred during script startup, usually a result of inability to connect to the database:

Error triggered: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'mysql02.db.kolst.it' (111)

Error: "mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'mysql02.db.kolst.it' (111)"
Raised: "/var/www/vhosts/webdiplomacy.it/httpdocs/objects/database.php"
Line: "80"
Trace:
0 => Array: (
function => error_handler
args => Array: (
0 => 2
1 => mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'mysql02.db.kolst.it' (111)
2 => /var/www/vhosts/webdiplomacy.it/httpdocs/objects/database.php
3 => 80
4 => Array: (
)
)
)
1 => Array: (
file => /var/www/vhosts/webdiplomacy.it/httpdocs/objects/database.php
line => 80
function => mysqli_connect
args => Array: (
0 => mysql02.db.kolst.it
1 => alele_webdiplo
2 => webdiplo2012
)
)
2 => Array: (
file => /var/www/vhosts/webdiplomacy.it/httpdocs/header.php
line => 172
function => __construct
class => Database
object => Array: (
putqueries => 0
getqueries => 0
)
type => ->
args => Array: (
)
)
3 => Array: (
file => /var/www/vhosts/webdiplomacy.it/httpdocs/board.php
line => 25
args => Array: (
0 => /var/www/vhosts/webdiplomacy.it/httpdocs/header.php
)
function => require_once
)
.

This was probably caused by a software bug. If these occur often try enabling error-logging via config.php, and report errors to the official devs for help.


Warning: mysqli_close() expects parameter 1 to be mysqli, null given in /var/www/vhosts/webdiplomacy.it/httpdocs/objects/database.php on line 127
Could not successfully close connection to database.