Thread:Project:Support desk/Fatal exception of type MWException after LocalSettings.php upload

Hi,

I just installed 1.24.1 Fr, but after uploading the conf file, I got message: [7461adf7] 2015-02-22 13:18:41: Fatal exception of type MWException

I found this thread: https://www.mediawiki.org/wiki/Thread:Extension_talk:ParserFunctions/Fatal_exception_of_type_MWException_Error but it did not help.

If someone wishes to have a look there...

Thanks.

EDIT. I enabled error logging and got this:


 * Start request GET /AAT/inventaire/index.php
 * HTTP HEADERS:
 * HOST: xxxxxxxxxxx.fr
 * CONNECTION: keep-alive
 * CACHE-CONTROL: max-age=0
 * ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
 * USER-AGENT: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
 * REFERER: http://xxxxxxxxx.fr/AAT/inventaire/mw-config/index.php
 * ACCEPT-ENCODING: gzip, deflate, sdch
 * ACCEPT-LANGUAGE: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
 * COOKIE: phpbb3_i7o1b_u=2; phpbb3_i7o1b_k=50d8ec3eed370d2a; phpbb3_i7o1b_sid=90279e58cfa61f946fa260a11aba9f4a; mw_installer_session=677b04e5e024e17c3f45986c4dec6930; PHPSESSID=e71a6ac88b47b717b57dd4c149dfd019
 * [caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
 * [caches] LocalisationCache: using store LCStoreDB
 * Connected to database 0 at mysql.xxxxxxxxxxxxx.fr
 * LocalisationCache::isExpired(fr): cache missing, need to make one
 * LocalisationCache::recache: got localisation for fr from source
 * [exception] [7461adf7] /AAT/inventaire/index.php  Exception from line 559 of /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/cache/LocalisationCache.php: LocalisationCache::readJSONFile: Invalid JSON file: /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/extensions/LocalisationUpdate/i18n/fr.json
 * #0 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/cache/LocalisationCache.php(885): LocalisationCache->readJSONFile('/home/www/62585...')
 * #1 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/cache/LocalisationCache.php(449): LocalisationCache->recache('fr')
 * #2 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/cache/LocalisationCache.php(323): LocalisationCache->initLanguage('fr')
 * #3 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/cache/LocalisationCache.php(257): LocalisationCache->loadItem('fr', 'fallback')
 * #4 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/languages/Language.php(4287): LocalisationCache->getItem('fr', 'fallback')
 * #5 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/languages/Language.php(202): Language::getFallbacksFor('fr')
 * #6 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/languages/Language.php(161): Language::newFromCode('fr')
 * #7 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/Setup.php(594): Language::factory('fr')
 * #8 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/includes/WebStart.php(121): require_once('/home/www/62585...')
 * #9 /home/www/62585963bc9e2a5e92eba0113c714f19/web/AAT/inventaire/index.php(47): require('/home/www/62585...')
 * #10 {main}

I edited the .json file and found nothing particular inside:


 * "@metadata":
 * "authors": ["Crochet.david"]
 * },
 * "localisationupdate-desc": "Maintenir la traduction des messages à jour autant que possible"
 * }
 * "localisationupdate-desc": "Maintenir la traduction des messages à jour autant que possible"
 * }

EDIT2 : Ok, I do have a few files on my server with size set to 0. As I uploaded the whole install via satellite (MUCH faster than ADSL) I guess something went wrong there. I restart the whole upload and come back soon.