Caught Exception: SQLSTATE[HY000] [1040] Too many connections
object(Zend_Db_Adapter_Pdo_Mysql)#56 (12) {
["_pdoType":protected]=>
string(5) "mysql"
["_numericDataTypes":protected]=>
array(16) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
["INT"]=>
int(0)
["INTEGER"]=>
int(0)
["MEDIUMINT"]=>
int(0)
["SMALLINT"]=>
int(0)
["TINYINT"]=>
int(0)
["BIGINT"]=>
int(1)
["SERIAL"]=>
int(1)
["DEC"]=>
int(2)
["DECIMAL"]=>
int(2)
["DOUBLE"]=>
int(2)
["DOUBLE PRECISION"]=>
int(2)
["FIXED"]=>
int(2)
["FLOAT"]=>
int(2)
}
["_defaultStmtClass":protected]=>
string(21) "Zend_Db_Statement_Pdo"
["_config":protected]=>
array(8) {
["host"]=>
string(9) "localhost"
["username"]=>
string(7) "php_swm"
["password"]=>
string(13) "SWM4Life!#513"
["dbname"]=>
string(3) "swm"
["charset"]=>
NULL
["persistent"]=>
bool(false)
["options"]=>
array(3) {
["caseFolding"]=>
int(0)
["autoQuoteIdentifiers"]=>
bool(true)
["fetchMode"]=>
int(2)
}
["driver_options"]=>
array(0) {
}
}
["_fetchMode":protected]=>
int(2)
["_profiler":protected]=>
object(Zend_Db_Profiler)#57 (4) {
["_queryProfiles":protected]=>
array(0) {
}
["_enabled":protected]=>
bool(false)
["_filterElapsedSecs":protected]=>
NULL
["_filterTypes":protected]=>
NULL
}
["_defaultProfilerClass":protected]=>
string(16) "Zend_Db_Profiler"
["_connection":protected]=>
NULL
["_caseFolding":protected]=>
int(0)
["_autoQuoteIdentifiers":protected]=>
bool(true)
["_allowSerialization":protected]=>
bool(true)
["_autoReconnectOnUnserialize":protected]=>
bool(false)
}
ERROR@/var/www/swm/lib/Web/DB.php +23 --> Web_DB::connect
Caught Exception: Session must be started before any output has been sent to the browser; output started in /var/www/swm/lib/Sys.php/95
ERROR@/var/www/swm/lib/Web/Session.php +36 --> Web_Session::init
Caught Exception: No entry is registered for key 'session'
ERROR@/var/www/swm/lib/Web/Cart.php +24 --> Web_Cart::init
Caught Exception: No entry is registered for key 'session'
ERROR@/var/www/swm/lib/Web.php +118 --> Web::init