object(Zend_Db_Adapter_Mysqli_Exception)#5 (9) {
["_chainedException":protected]=>
NULL
["_previous":"Zend_Exception":private]=>
NULL
["message":protected]=>
string(18) "Connection refused"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(60) "/var/www/html/application/library/Zend/Db/Adapter/Mysqli.php"
["line":protected]=>
int(340)
["trace":"Exception":private]=>
array(5) {
[0]=>
array(6) {
["file"]=>
string(62) "/var/www/html/application/library/Zend/Db/Adapter/Abstract.php"
["line"]=>
int(460)
["function"]=>
string(8) "_connect"
["class"]=>
string(22) "Zend_Db_Adapter_Mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[1]=>
array(6) {
["file"]=>
string(39) "/var/www/html/application/bootstrap.php"
["line"]=>
int(78)
["function"]=>
string(5) "query"
["class"]=>
string(24) "Zend_Db_Adapter_Abstract"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(14) "SET NAMES utf8"
}
}
[2]=>
array(6) {
["file"]=>
string(39) "/var/www/html/application/bootstrap.php"
["line"]=>
int(21)
["function"]=>
string(13) "setupDatabase"
["class"]=>
string(9) "Bootstrap"
["type"]=>
string(2) "::"
["args"]=>
array(0) {
}
}
[3]=>
array(6) {
["file"]=>
string(39) "/var/www/html/application/bootstrap.php"
["line"]=>
int(40)
["function"]=>
string(11) "__construct"
["class"]=>
string(9) "Bootstrap"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[4]=>
array(6) {
["file"]=>
string(23) "/var/www/html/index.php"
["line"]=>
int(12)
["function"]=>
string(11) "getInstance"
["class"]=>
string(9) "Bootstrap"
["type"]=>
string(2) "::"
["args"]=>
array(0) {
}
}
}
["previous":"Exception":private]=>
NULL
}
Fatal error: Uncaught exception 'Zend_Exception' with message 'No entry is registered for key 'db'' in /var/www/html/application/library/Zend/Registry.php:147
Stack trace:
#0 /var/www/html/application/std_models/DatabaseProfiler.php(8): Zend_Registry::get('db')
#1 /var/www/html/index.php(19): DatabaseProfiler::output()
#2 {main}
thrown in /var/www/html/application/library/Zend/Registry.php on line 147