List of steps to reproduce (step by step, including full links if applicable):
- load mediawiki ( https://releases.wikimedia.org/mediawiki/1.37/mediawiki-1.37.2.zip ) (tried also the tag.gz )
- unarchive
- copy to place : sudo cp -r /home/vincent/Applications/Mediawiki/mediawiki-1.37.2/* /var/www/wiki/w/
- change owner : sudo chown -R www-data:www-data *
- Go to https://wiki.localhost/w/ with Firefox
- I get the usual starting screen inviting me to set the wiki
- and then go to https://wiki.localhost/w/mw-config/index.php
- I get a good first page
- Set the languages and folllow
- fail
What happens?:
[5ce81fe0944f1fe327b00c1c] /w/mw-config/index.php?page=Restart&lastPage=Language Error: Class "FormatJson" not found
Backtrace:
from /var/www/wiki/w/includes/exception/MWExceptionHandler.php(754) #0 /var/www/wiki/w/includes/exception/MWExceptionHandler.php(291): MWExceptionHandler::logError() #1 /var/www/wiki/w/includes/AutoLoader.php(117): MWExceptionHandler::handleError() #2 /var/www/wiki/w/includes/AutoLoader.php(117): require(string) #3 /var/www/wiki/w/includes/cache/localisation/LocalisationCache.php(594): AutoLoader::autoload() #4 /var/www/wiki/w/includes/cache/localisation/LocalisationCache.php(929): LocalisationCache->readJSONFile() #5 /var/www/wiki/w/includes/cache/localisation/LocalisationCache.php(496): LocalisationCache->recache() #6 /var/www/wiki/w/includes/cache/localisation/LocalisationCache.php(370): LocalisationCache->initLanguage() #7 /var/www/wiki/w/includes/cache/localisation/LocalisationCache.php(311): LocalisationCache->loadItem() #8 /var/www/wiki/w/includes/language/LanguageFallback.php(106): LocalisationCache->getItem() #9 /var/www/wiki/w/includes/language/LanguageFactory.php(158): MediaWiki\Languages\LanguageFallback->getAll() #10 /var/www/wiki/w/includes/language/LanguageFactory.php(116): MediaWiki\Languages\LanguageFactory->newFromCode() #11 /var/www/wiki/w/mw-config/index.php(75): MediaWiki\Languages\LanguageFactory->getLanguage() #12 /var/www/wiki/w/mw-config/index.php(40): wfInstallerMain() #13 {main}
What should have happened instead?:
Continue setting the wiki params, and lauching the wiki
I had a previous wiki at the same place (MW 1.35)
I reinstalled Ubuntu and all the stuff : XAMPP...
The apache settings are the same as previously.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
- Ubuntu 22.04
- Apache/2.4.52 (Ubuntu) newly installed
- PHP 8.1.2
- php modules (among others from phpinfo(), see required on https://www.mediawiki.org/wiki/Manual:Installation_requirements/fr ):
- Calendar support enabled
- PCRE (Perl Compatible Regular Expressions) Support enabled 10.39 2021-10-29
- Session Support enabled
- SPL OK...
- OpenSSL support enabled OpenSSL 3.0.2 15 Mar 2022
- json support enabled
- Multibyte Support enabled libmbfl version 1.3.2
- fileinfo support enabled
- intl ICU version 70.1
- XML Support active libxml2 Version 2.9.13