Page MenuHomePhabricator

"MediaWiki internal error" at https://en.wikipedia.beta.wmflabs.org/
Closed, DuplicatePublic

Description

MediaWiki internal error.

Original exception: [V-OLVApEE4AAAAiw1A0AAAAL] / InvalidArgumentException from line 357 of /srv/mediawiki/php-master/includes/libs/rdbms/database/Database.php: Database::factory no viable database extension found for type ''
Backtrace:
#0 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(839): Database::factory(string, array)
#1 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(668): LoadBalancer->reallyOpenConnection(array, boolean)
#2 /srv/mediawiki/php-master/includes/libs/rdbms/loadmonitor/LoadMonitor.php(134): LoadBalancer->openConnection(integer, boolean)
#3 /srv/mediawiki/php-master/includes/libs/rdbms/loadmonitor/LoadMonitor.php(61): LoadMonitor->getServerStates(array, boolean)
#4 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(304): LoadMonitor->scaleLoads(array, boolean, boolean)
#5 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(546): LoadBalancer->getReaderIndex(boolean, boolean)
#6 /srv/mediawiki/php-master/includes/GlobalFunctions.php(3073): LoadBalancer->getConnection(integer, array, boolean)
#7 /srv/mediawiki/php-master/includes/page/WikiPage.php(371): wfGetDB(integer)
#8 /srv/mediawiki/php-master/includes/page/WikiPage.php(454): WikiPage->loadPageData()
#9 /srv/mediawiki/php-master/includes/page/WikiPage.php(495): WikiPage->exists()
#10 /srv/mediawiki/php-master/includes/page/WikiPage.php(220): WikiPage->getContentModel()
#11 /srv/mediawiki/php-master/includes/page/WikiPage.php(207): WikiPage->getContentHandler()
#12 /srv/mediawiki/php-master/includes/actions/Action.php(96): WikiPage->getActionOverrides()
#13 /srv/mediawiki/php-master/includes/actions/Action.php(154): Action::factory(string, WikiPage, RequestContext)
#14 /srv/mediawiki/php-master/includes/MediaWiki.php(151): Action::getActionName(RequestContext)
#15 /srv/mediawiki/php-master/includes/MediaWiki.php(777): MediaWiki->getAction()
#16 /srv/mediawiki/php-master/includes/MediaWiki.php(522): MediaWiki->main()
#17 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#18 /srv/mediawiki/w/index.php(3): include(string)
#19 {main}

Exception caught inside exception handler: [V-OLVApEE4AAAAiw1A0AAAAL] / InvalidArgumentException from line 357 of /srv/mediawiki/php-master/includes/libs/rdbms/database/Database.php: Database::factory no viable database extension found for type ''
Backtrace:
#0 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(839): Database::factory(string, array)
#1 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(668): LoadBalancer->reallyOpenConnection(array, boolean)
#2 /srv/mediawiki/php-master/includes/libs/rdbms/loadmonitor/LoadMonitor.php(134): LoadBalancer->openConnection(integer, boolean)
#3 /srv/mediawiki/php-master/includes/libs/rdbms/loadmonitor/LoadMonitor.php(61): LoadMonitor->getServerStates(array, boolean)
#4 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(304): LoadMonitor->scaleLoads(array, boolean, boolean)
#5 /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(546): LoadBalancer->getReaderIndex(boolean, boolean)
#6 /srv/mediawiki/php-master/includes/GlobalFunctions.php(3073): LoadBalancer->getConnection(integer, array, boolean)
#7 /srv/mediawiki/php-master/includes/page/WikiPage.php(371): wfGetDB(integer)
#8 /srv/mediawiki/php-master/includes/page/WikiPage.php(454): WikiPage->loadPageData()
#9 /srv/mediawiki/php-master/includes/page/WikiPage.php(495): WikiPage->exists()
#10 /srv/mediawiki/php-master/includes/page/WikiPage.php(220): WikiPage->getContentModel()
#11 /srv/mediawiki/php-master/includes/page/WikiPage.php(207): WikiPage->getContentHandler()
#12 /srv/mediawiki/php-master/includes/actions/Action.php(96): WikiPage->getActionOverrides()
#13 /srv/mediawiki/php-master/includes/actions/Action.php(154): Action::factory(string, WikiPage, RequestContext)
#14 /srv/mediawiki/php-master/extensions/Wikidata/extensions/Wikibase/client/WikibaseClient.hooks.php(278): Action::getActionName(RequestContext)
#15 /srv/mediawiki/php-master/includes/Hooks.php(195): Wikibase\ClientHooks::onBeforePageDisplay(OutputPage, SkinVector)
#16 /srv/mediawiki/php-master/includes/OutputPage.php(2304): Hooks::run(string, array)
#17 /srv/mediawiki/php-master/includes/exception/MWExceptionRenderer.php(179): OutputPage->output()
#18 /srv/mediawiki/php-master/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(InvalidArgumentException)
#19 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(InvalidArgumentException, integer)
#20 /srv/mediawiki/php-master/includes/exception/MWExceptionHandler.php(132): MWExceptionHandler::report(InvalidArgumentException)
#21 /srv/mediawiki/php-master/includes/MediaWiki.php(550): MWExceptionHandler::handleException(InvalidArgumentException)
#22 /srv/mediawiki/php-master/index.php(43): MediaWiki->run()
#23 /srv/mediawiki/w/index.php(3): include(string)
#24 {main}