Fatal error: Uncaught [mysql_connect(): Too many connections] in: #0 [internal function]: error2Exception(2, 'mysql_connect()...', '/storage/www/le...', 64, Array) #1 /storage/www/legolize/legolize.ru/onphp/core/DB/MySQL.class.php(64): mysql_connect('localhost', 'legolize', 'joavleif', true, 2) #2 /storage/www/legolize/legolize.ru/onphp/core/DB/DBPool.class.php(113): MySQL->connect() #3 /storage/www/legolize/legolize.ru/onphp/core/DB/DBPool.class.php(37): DBPool->getLink(NULL) #4 /storage/www/legolize/legolize.ru/onphp/main/DAOs/Workers/BaseDaoWorker.class.php(135): DBPool::getByDao(Object(BrandDAO)) #5 /storage/www/legolize/legolize.ru/onphp/main/DAOs/Workers/CommonDaoWorker.class.php(100): BaseDaoWorker->cachedFetchObject(Object(SelectQuery), 604800, false) #6 /storage/www/legolize/legolize.ru/onphp/main/DAOs/Workers/TransparentDaoWorker.class.php(47): CommonDaoWorker->getByQuery(Object(SelectQuery), 604800) #7 /storage/www/legolize/legolize.ru/onphp/main/DAOs/GenericDAO.class.php(184): TransparentDaoWorker->getByQuery in /storage/www/legolize/legolize.ru/onphp/global.inc.php.tpl on line 17