/var/www/unicam/base/crud.class.php : 26
^ PDOException {#61
#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() …
› $opcoes = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES UTF8');
› $this->conexao = new PDO("mysql:host=" .$this->host . ";port=25060;dbname=" .$this->database . ";", $this->user, $this->pass, $opcoes);
›
}
/var/www/unicam/base/crud.class.php:26 {
Crud->__construct($tabela) …
›
› parent::__construct();
› $this->tabela = $tabela;
}
/var/www/unicam/acoes/app/geral/header.php:7 {
include …
› $cliente = new Crud("clientes_cadastro");
› $categorias = new Crud("catalogo_categorias");
› $paginas_menu = new Crud("loja_paginas");
}
/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:85 {
›
› require ('app/detalhe.php');
›
arguments: {
"/var/www/unicam/app/detalhe.php"
}
}
}
}