exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[08004] [1040] Too many connections' in /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Db/Adapter/Abstract.php(832): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Db/Adapter/Abstract.php(902): Zend_Db_Adapter_Abstract->quote('1271', NULL) #3 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Db/Select.php(930): Zend_Db_Adapter_Abstract->quoteInto('`websiteId` = ?...', '1271', NULL) #4 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Db/Select.php(463): Zend_Db_Select->_where('`websiteId` = ?...', '1271', NULL, true) #5 /var/www/git/repositories/bloomtools/bloom/application/models/Mapper/Web/Template.php(59): Zend_Db_Select->where('`websiteId` = ?...', '1271') #6 /var/www/git/repositories/bloomtools/bloom/application/models/Mapper/Web/SiteTemplate.php(43): Model_Mapper_Web_Template->_getFindSelect(NULL, Array, Array, Object(Model_Web_SiteTemplate)) #7 /var/www/git/repositories/bloomtools/bloom/application/models/Mapper/Web/Template.php(148): Model_Mapper_Web_SiteTemplate->_getFindSelect(NULL, Array, Array, Object(Model_Web_SiteTemplate)) #8 [internal function]: Model_Mapper_Web_Template->findByTemplateName('', Object(Model_Web_SiteTemplate)) #9 /var/www/git/repositories/bloomtools/bloom/application/models/Entity.php(418): call_user_func_array(Array, Array) #10 /var/www/git/repositories/bloomtools/bloom/library/Bloom/Website/Controller/Action/Helper/SiteTemplate.php(429): Model_Entity->__call('findByTemplateN...', Array) #11 /var/www/git/repositories/bloomtools/bloom/library/Bloom/Website/Controller/Action/Helper/SiteTemplate.php(429): Model_Web_SiteTemplate->findByTemplateName('') #12 /var/www/git/repositories/bloomtools/bloom/library/Bloom/Website/Controller/Action/Helper/SiteTemplate.php(108): Bloom_Website_Controller_Action_Helper_SiteTemplate->_loadTemplateFromDb('343', '1271', NULL, Array) #13 /var/www/git/repositories/bloomtools/bloom/library/Bloom/Website/Controller/Action/Helper/SiteTemplate.php(564): Bloom_Website_Controller_Action_Helper_SiteTemplate->loadFromRequest() #14 /var/www/git/repositories/bloomtools/bloom/library/Bloom/Website/Controller/Action/Helper/SiteTemplate.php(71): Bloom_Website_Controller_Action_Helper_SiteTemplate->getSiteTemplate() #15 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Controller/Action/HelperBroker.php(372): Bloom_Website_Controller_Action_Helper_SiteTemplate->__construct() #16 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Controller/Action/HelperBroker.php(293): Zend_Controller_Action_HelperBroker::_loadHelper('SiteTemplate') #17 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Controller/Action/HelperBroker.php(339): Zend_Controller_Action_HelperBroker->getHelper('siteTemplate') #18 /var/www/git/repositories/bloomtools/bloom/application/_website/modules/default/controllers/ErrorController.php(32): Zend_Controller_Action_HelperBroker->__get('siteTemplate') #19 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Controller/Action.php(513): ErrorController->errorAction() #20 /var/www/git/repositories/bloomtools/bloom/library/Bloom/Website/Dispatcher.php(308): Zend_Controller_Action->dispatch('errorAction') #21 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Controller/Front.php(946): Bloom_Website_Dispatcher->dispatch(Object(Bloom_Controller_Request_Http_Website), Object(Bloom_Controller_Response_Http_Website)) #22 /var/www/git/repositories/bloomtools/bloom/application/_website/Bootstrap.php(340): Zend_Controller_Front->dispatch() #23 /var/www/git/repositories/bloomtools/bloom/vendor/baseapp/zendframework1/library/Zend/Application.php(346): Website_Bootstrap->run() #24 /var/www/git/repositories/bloomtools/bloom/library/BaseApp.php(561): Zend_Application->run() #25 /var/www/git/repositories/bloomtools/bloom/public/website.php(20): BaseApp->run('website') #26 {main}