<?xml version="1.0"?> <api> <error code="internal_api_error_DBConnectionError" info="Exception Caught: DB connection error: Too many connections (localhost)" xml:space="preserve"> #0 /var/www/html/includes/db/LoadBalancer.php(771): DatabaseBase->reportConnectionError('Unknown error (...') #1 /var/www/html/includes/db/LoadBalancer.php(494): LoadBalancer->reportConnectionError() #2 /var/www/html/includes/GlobalFunctions.php(3632): LoadBalancer->getConnection(-1, Array, false) #3 /var/www/html/includes/cache/LocalisationCache.php(1153): wfGetDB(-1) #4 /var/www/html/includes/cache/LocalisationCache.php(401): LCStoreDB->get('en', 'deps') #5 /var/www/html/includes/cache/LocalisationCache.php(447): LocalisationCache->isExpired('en') #6 /var/www/html/includes/cache/LocalisationCache.php(366): LocalisationCache->initLanguage('en') #7 /var/www/html/includes/cache/LocalisationCache.php(280): LocalisationCache->loadSubitem('en', 'messages', 'gadgets-definit...') #8 /var/www/html/languages/Language.php(2471): LocalisationCache->getSubitem('en', 'messages', 'gadgets-definit...') #9 /var/www/html/includes/cache/MessageCache.php(827): Language->getMessage('gadgets-definit...') #10 /var/www/html/includes/cache/MessageCache.php(754): MessageCache->getMessageFromFallbackChain(Object(Language), 'gadgets-definit...', 'Gadgets-definit...', true) #11 /var/www/html/includes/Message.php(1039): MessageCache->get('gadgets-definit...', true, Object(Language)) #12 /var/www/html/includes/Message.php(814): Message->fetchMessage() #13 /var/www/html/extensions/Gadgets/Gadgets_body.php(365): Message->exists() #14 /var/www/html/extensions/Gadgets/api/ApiQueryGadgets.php(55): Gadget::loadStructuredList() #15 /var/www/html/extensions/Gadgets/api/ApiQueryGadgets.php(48): ApiQueryGadgets->getList() #16 /var/www/html/includes/api/ApiQuery.php(285): ApiQueryGadgets->execute() #17 /var/www/html/includes/api/ApiMain.php(932): ApiQuery->execute() #18 /var/www/html/includes/api/ApiMain.php(364): ApiMain->executeAction() #19 /var/www/html/includes/api/ApiMain.php(335): ApiMain->executeActionWithErrorHandling() #20 /var/www/html/api.php(95): ApiMain->execute() #21 {main} </error> </api>