object(PDOException)#7 (8) { ["message":protected]=> string(58) "SQLSTATE[08006] [7] FATAL: database "sahe" does not exist" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7) ["file":protected]=> string(47) "/var/www/webroot/ROOT/classes/Class.Conexao.php" ["line":protected]=> int(127) ["trace":"Exception":private]=> array(2) { [0]=> array(6) { ["file"]=> string(47) "/var/www/webroot/ROOT/classes/Class.Conexao.php" ["line"]=> int(127) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(79) "pgsql:dbname=sahe; user=tiago; password=96096561; host=177.153.22.31; port=5432" } } [1]=> array(6) { ["file"]=> string(42) "/var/www/webroot/ROOT/visitantes/index.php" ["line"]=> int(103) ["function"]=> string(4) "open" ["class"]=> string(7) "Conexao" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(7) "sistema" } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> NULL } Cadastro de Visitantes