/var/www/unicam/base/crud.class.php : 26
^ PDOException {#69
#message: "SQLSTATE[HY000] [1040] Too many connections"
#code: 1040
#file: "/var/www/unicam/base/base.class.php"
#line: 26
+errorInfo: array:3 [
0 => "HY000"
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/crud.class.php:26 {
Crud->__construct($tabela) …
›
› parent::__construct();
› $this->tabela = $tabela;
}
/var/www/unicam/acoes/app/geral/header.php:11 {
include …
› $subcategorias_filhas = new Crud("catalogo_subcategorias_filhas");
› $cart_header = new Crud("checkout_cart");
› $cart_itens_header = new Crud("checkout_cart_itens");
}
/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"
}
}
}
}