Topic on Project:Support desk

Jump to navigation Jump to search

Fatal exception of type MWException

2
Harri00413 (talkcontribs)

New user, new install. After opening the wiki site I get: "Fatal exception of type MWException". Reading through some older threads I see the advice to add a line to the LocalSettings.php: $wgShowExceptionDetails = true; The screen now returns: No cache directory configured

Backtrace:

  1. 0 /var/www/qb104292/data/www/smw.harland.tk/extensions/LocalisationUpdate/LocalisationUpdate.class.php(553): LocalisationUpdate::filename('nl')
  2. 1 /var/www/qb104292/data/www/smw.harland.tk/extensions/LocalisationUpdate/LocalisationUpdate.class.php(36): LocalisationUpdate::readFile('nl')
  3. 2 [internal function]: LocalisationUpdate::onRecache(Object(LocalisationCache), 'nl', Array)
  4. 3 /var/www/qb104292/data/www/smw.harland.tk/includes/Hooks.php(255): call_user_func_array('LocalisationUpd...', Array)
  5. 4 /var/www/qb104292/data/www/smw.harland.tk/includes/GlobalFunctions.php(3883): Hooks::run('LocalisationCac...', Array)
  6. 5 /var/www/qb104292/data/www/smw.harland.tk/includes/cache/LocalisationCache.php(796): wfRunHooks('LocalisationCac...', Array)
  7. 6 /var/www/qb104292/data/www/smw.harland.tk/includes/cache/LocalisationCache.php(426): LocalisationCache->recache('nl')
  8. 7 /var/www/qb104292/data/www/smw.harland.tk/includes/cache/LocalisationCache.php(310): LocalisationCache->initLanguage('nl')
  9. 8 /var/www/qb104292/data/www/smw.harland.tk/includes/cache/LocalisationCache.php(245): LocalisationCache->loadItem('nl', 'fallback')
  10. 9 /var/www/qb104292/data/www/smw.harland.tk/languages/Language.php(3978): LocalisationCache->getItem('nl', 'fallback')
  11. 10 /var/www/qb104292/data/www/smw.harland.tk/languages/Language.php(230): Language::getFallbacksFor('nl')
  12. 11 /var/www/qb104292/data/www/smw.harland.tk/languages/Language.php(189): Language::newFromCode('nl')
  13. 12 /var/www/qb104292/data/www/smw.harland.tk/includes/Setup.php(497): Language::factory('nl')
  14. 13 /var/www/qb104292/data/www/smw.harland.tk/includes/WebStart.php(161): require_once('/var/www/qb1042...')
  15. 14 /var/www/qb104292/data/www/smw.harland.tk/index.php(55): require('/var/www/qb1042...')
  16. 15 {main}

What am I doing wrong?

Update: I now see a posting that suggests that this line from the LocalSettings.php is faulty: "require_once( "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php" );" Is this correct? Update: Version PHP: 5.3 Mediawiki: 1.21.1 MySQL 5.1.58

Reply to "Fatal exception of type MWException"