Topic on Project:Support desk

Errors when installing

6
TheRaspimanMan (talkcontribs)

I always get "File not found" when i try to install a fresh copy of media wiki.

Here is a pastebin of the error: https://pastebin.com/pZqAsA9H

Hope you can help!

Bawolff (talkcontribs)

so its claiming to be missing some files in the vendor directory. How did you install mediawiki - is it from thw official tarball source or somewhere else? What version?

If you installed from git, run composer install.

TheRaspimanMan (talkcontribs)

I'm using the official tarball and using the latest 1.34.2.

I'll try using git, and I'll keep you up to date!

TheRaspimanMan (talkcontribs)

Most of the errors are gone now and I only have 1 error now:

Fatal error: Uncaught Error: Class 'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in C:\xampp\htdocs\includes\libs\stats\BufferingStatsdDataFactory.php:35 Stack trace: #0 C:\xampp\htdocs\includes\AutoLoader.php(109): require() #1 [internal function]: AutoLoader::autoload('BufferingStatsd...') #2 C:\xampp\htdocs\includes\ServiceWiring.php(836): spl_autoload_call('BufferingStatsd...') #3 C:\xampp\htdocs\includes\libs\services\ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(Object(MediaWiki\MediaWikiServices)) #4 C:\xampp\htdocs\includes\libs\services\ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService('StatsdDataFacto...') #5 C:\xampp\htdocs\includes\MediaWikiServices.php(1030): Wikimedia\Services\ServiceContainer->getService('StatsdDataFacto...') #6 C:\xampp\htdocs\includes\ServiceWiring.php(404): MediaWiki\MediaWikiServices->getStatsdDataFactory() #7 C:\xampp\htdocs\includes\libs\services\ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closur in C:\xampp\htdocs\includes\libs\stats\BufferingStatsdDataFactory.php on line 35


Bawolff (talkcontribs)

that's a slightly different version of the same issue. Can you check if the Liuggio files exist in vendor?

To be clear, im not explicitly reccomending git, i just mentioned it because there are extra steps you need to do if using.

TheRaspimanMan (talkcontribs)
Reply to "Errors when installing"