[ERR_MESS] Connessione fallita.
Dettagli: #2002
PDOException Object
(
[message:protected] => SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
[string:Exception:private] =>
[code:protected] => 2002
[file:protected] => /home/imontascale/public_html/include/functions.php
[line:protected] => 12
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/imontascale/public_html/include/functions.php
[line] => 12
[function] => __construct
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=localhost;dbname=imontascale;charset=utf8
[1] => imontascale
[2] => ad4wejh5a
[3] => Array
(
[20] => 0
[3] => 2
[1002] => SET NAMES 'utf8'
[19] => 2
)
)
)
[1] => Array
(
[file] => /home/imontascale/public_html/include/config.php
[line] => 30
[args] => Array
(
[0] => /home/imontascale/public_html/include/functions.php
)
[function] => include
)
[2] => Array
(
[file] => /home/imontascale/public_html/header.php
[line] => 1
[args] => Array
(
[0] => /home/imontascale/public_html/include/config.php
)
[function] => include
)
[3] => Array
(
[file] => /home/imontascale/public_html/preventivo.php
[line] => 1
[args] => Array
(
[0] => /home/imontascale/public_html/header.php
)
[function] => include
)
)
[previous:Exception:private] =>
[errorInfo] =>
)
Fatal error: Call to a member function prepare() on a non-object in /home/imontascale/public_html/include/functions.php on line 30