( ! ) Fatal error: Uncaught ActiveRecord\DatabaseException: PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php on line 241 |
( ! ) ActiveRecord\DatabaseException: PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php:239
Stack trace:
#0 /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php(239): PDO->__construct()
#1 /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php(101): ActiveRecord\Connection->__construct()
#2 /var/www/paginesi.it/lib/php-activerecord/lib/ConnectionManager.php(33): ActiveRecord\Connection::instance()
#3 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(103): ActiveRecord\ConnectionManager::get_connection()
#4 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(80): ActiveRecord\Table->reestablish_connection()
#5 /var/www/paginesi.it/lib/php-activerecord/lib/Table.php(61): ActiveRecord\Table->__construct()
#6 /var/www/paginesi.it/lib/php-activerecord/lib/Model.php(744): ActiveRecord\Table::load()
#7 /var/www/paginesi.it/lib/php-activerecord/lib/Model.php(1567): ActiveRecord\Model::table()
#8 /var/www/paginesi.it/scheda_dati.php(19): ActiveRecord\Model::find()
#9 /var/www/paginesi.it/scheda16bu.php(39): require_once('/var/www/pagine...')
#10 {main} in /var/www/paginesi.it/lib/php-activerecord/lib/Connection.php on line 241 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 389056 | {main}( ) | .../scheda16bu.php:0 |
2 | 0.0002 | 431904 | require_once( '/var/www/paginesi.it/scheda_dati.php ) | .../scheda16bu.php:39 |
3 | 0.0003 | 443392 | ActiveRecord\Model::find( 'all', ['select' => 'id0, idpadre', 'conditions' => [0 => 'id = ?', 1 => '2267457']] ) | .../scheda_dati.php:19 |
4 | 0.0003 | 443800 | ActiveRecord\Model::table( ) | .../Model.php:1567 |
5 | 0.0003 | 443800 | ActiveRecord\Table::load( $model_class_name = 'Webext' ) | .../Model.php:744 |
6 | 0.0003 | 444040 | ActiveRecord\Table->__construct( $class_name = 'Webext' ) | .../Table.php:61 |
7 | 0.0003 | 444568 | ActiveRecord\Table->reestablish_connection( $close = FALSE ) | .../Table.php:80 |
8 | 0.0003 | 444568 | ActiveRecord\ConnectionManager::get_connection( $name = NULL ) | .../Table.php:103 |
9 | 0.0003 | 444568 | ActiveRecord\Connection::instance( $connection_string_or_connection_name = 'mysql://portale:PSI.portale022@localhost/portale;charset=utf8;' ) | .../ConnectionManager.php:33 |
10 | 0.0003 | 449080 | ActiveRecord\Connection->__construct( $info = class stdClass { public $protocol = 'mysql'; public $host = 'localhost'; public $db = 'portale;charset=utf8;'; public $user = 'portale'; public $pass = 'PSI.portale022' } ) | .../Connection.php:101 |