MediaWiki internal error.
Original exception: exception 'DBQueryError' with message 'A database error has occurred
Query: BEGIN
Function: Database::begin
Error: 2006 MySQL server has gone away (localhost)
' in /var/www/includes/Database.php:765
Stack trace:
#0 /var/www/includes/Database.php(722): Database->reportQueryError('MySQL server ha...', 2006, 'BEGIN', 'Database::begin', false)
#1 /var/www/includes/Database.php(1863): Database->query('BEGIN', 'Database::begin')
#2 /var/www/includes/Database.php(691): Database->begin()
#3 /var/www/includes/LinkBatch.php(132): Database->query('SELECT page_id,...', 'LinkBatch::doQu...')
#4 /var/www/includes/LinkBatch.php(79): LinkBatch->doQuery()
#5 /var/www/includes/LinkBatch.php(68): LinkBatch->executeInto(Object(LinkCache))
#6 /var/www/includes/Skin.php(203): LinkBatch->execute()
#7 /var/www/includes/Skin.php(179): Skin->preloadExistence()
#8 /var/www/includes/SkinTemplate.php(104): Skin->initPage(Object(OutputPage))
#9 /var/www/skins/MonoBook.php(26): SkinTemplate->initPage(Object(OutputPage))
#10 /var/www/includes/SkinTemplate.php(153): SkinMonoBook->initPage(Object(OutputPage))
#11 /var/www/includes/OutputPage.php(660): SkinTemplate->outputPage(Object(OutputPage))
#12 /var/www/includes/Wiki.php(280): OutputPage->output()
#13 /var/www/index.php(83): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
#14 {main}
Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject(): MySQL server has gone away (localhost)' in /var/www/includes/Database.php:882
Stack trace:
#0 /var/www/includes/Database.php(2165): Database->fetchObject(false)
#1 /var/www/includes/LinkBatch.php(89): ResultWrapper->fetchObject()
#2 /var/www/includes/LinkBatch.php(68): LinkBatch->executeInto(Object(LinkCache))
#3 /var/www/includes/Skin.php(203): LinkBatch->execute()
#4 /var/www/includes/Skin.php(179): Skin->preloadExistence()
#5 /var/www/includes/SkinTemplate.php(104): Skin->initPage(Object(OutputPage))
#6 /var/www/skins/MonoBook.php(26): SkinTemplate->initPage(Object(OutputPage))
#7 /var/www/includes/SkinTemplate.php(153): SkinMonoBook->initPage(Object(OutputPage))
#8 /var/www/includes/OutputPage.php(660): SkinTemplate->outputPage(Object(OutputPage))
#9 /var/www/includes/Exception.php(74): OutputPage->output()
#10 /var/www/includes/Exception.php(95): MWException->reportHTML()
#11 /var/www/includes/Exception.php(171): MWException->report()
#12 /var/www/includes/Exception.php(205): wfReportException(Object(DBQueryError))
#13 [internal function]: wfExceptionHandler(Object(DBQueryError))
#14 {main}