/var/www/unicam/base/init.class.php : 6
^ PDOException {#58
#message: "SQLSTATE[08004] [1040] Too many connections"
#code: 1040
#file: "/var/www/unicam/base/base.class.php"
#line: 26
+errorInfo: array:3 [
0 => "08004"
1 => 1040
2 => "Too many connections"
]
trace: {
/var/www/unicam/base/base.class.php:26 {
Conexao->__construct() …
› \t\t\t$opcoes = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES UTF8');
› $this->conexao = new PDO("mysql:host=" . $this->host . ":" . $this->port . ";" . "dbname=" . $this->database , $this->user, $this->pass, $opcoes);
› \t\t}
}
/var/www/unicam/base/init.class.php:6 {
Init->__construct() …
›
› parent::__construct();
›
}
/var/www/unicam/acoes/app/geral/header.php:2 {
include …
› <?
› $db = new Init();
› $conexao = $db->conectar();
}
/var/www/unicam/app/modulos/estrutura/header.php:1 {
include …
›
› <? include("".ACOES_APP_MODULOS."/geral/header.php"); ?>
›
arguments: {
"/var/www/unicam/acoes/app/geral/header.php"
}
}
/var/www/unicam/app/detalhe.php:97 {
require …
›
› <? include(APP_MODULOS . '/estrutura/header.php'); ?>
›
arguments: {
"/var/www/unicam/app/modulos/estrutura/header.php"
}
}
/var/www/unicam/index.php:81 {
› {
› require ('app/detalhe.php');
› }
arguments: {
"/var/www/unicam/app/detalhe.php"
}
}
}
}