Topic on Project:Support desk

Vozhan (talkcontribs)

Hi, I'm trying to install MediaWiki on XAMPP for the first time, but I keep getting this error when I direct my browser to the installer page.


Fatal error: Uncaught Error: Class "Wikimedia\Services\ServiceContainer" not found in C:\xampp\htdocs\pfwiki\includes\MediaWikiServices.php:152 Stack trace: #0 C:\xampp\htdocs\pfwiki\includes\AutoLoader.php(109): require() #1 C:\xampp\htdocs\pfwiki\includes\objectcache\ObjectCache.php(255): AutoLoader::autoload('MediaWiki\\Media...') #2 C:\xampp\htdocs\pfwiki\includes\TemplateParser.php(63): ObjectCache::getLocalServerInstance(-1) #3 C:\xampp\htdocs\pfwiki\includes\NoLocalSettings.php(47): TemplateParser->__construct() #4 C:\xampp\htdocs\pfwiki\includes\WebStart.php(67): require_once('C:\\xampp\\htdocs...') #5 C:\xampp\htdocs\pfwiki\includes\Setup.php(138): wfWebStartNoLocalSettings() #6 C:\xampp\htdocs\pfwiki\includes\WebStart.php(89): require_once('C:\\xampp\\htdocs...') #7 C:\xampp\htdocs\pfwiki\index.php(44): require('C:\\xampp\\htdocs...') #8 {main} thrown in C:\xampp\htdocs\pfwiki\includes\MediaWikiServices.php on line 152


Is there a solution to this?

Bawolff (talkcontribs)

where did you get your copy of mediawiki from? Are you sure it was extracted properly (7zip is buggy and doesnt work)

Vozhan (talkcontribs)

I downloaded MediaWiki 1.35.1 as a tar.gz file from the Download page, and I used WinRAR to extract it.

Reply to "Fatal error"