Mediawiki MWException类型的致命异常

Mediawiki MWException类型的致命异常,mediawiki,mediawiki-extensions,Mediawiki,Mediawiki Extensions,我最近在Debian 7系统的localhost中安装了MediaWiki。但是在安装之后,我得到了MWException类型的异常致命异常。我审查了所有报告的bug,但它们不适用于我 PHP 5.4.4 phpmyaddmin…如注释中所述,编辑您的LocalSettings.php文件,并在末尾添加这一行: $wgShowExceptionDetails=true 尝试重新加载出现该错误的页面。你可能会看到所谓的回溯。。。以下是我的例子: #0 /Users/user/www/extensi

我最近在Debian 7系统的localhost中安装了MediaWiki。但是在安装之后,我得到了MWException类型的异常
致命异常。我审查了所有报告的bug,但它们不适用于我

PHP 5.4.4
phpmyaddmin…

如注释中所述,编辑您的
LocalSettings.php
文件,并在末尾添加这一行:

$wgShowExceptionDetails=true

尝试重新加载出现该错误的页面。你可能会看到所谓的回溯。。。以下是我的例子:

#0 /Users/user/www/extensions/LocalisationUpdate/LocalisationUpdate.class.php(553): LocalisationUpdate::filename('it')
#1 /Users/user/www/extensions/LocalisationUpdate/LocalisationUpdate.class.php(36): LocalisationUpdate::readFile('it')
#2 [internal function]: LocalisationUpdate::onRecache(Object(LocalisationCache), 'it', Array)
#3 /Users/user/www/includes/Hooks.php(255): call_user_func_array('LocalisationUpd...', Array)
#4 /Users/user/www/includes/GlobalFunctions.php(3883): Hooks::run('LocalisationCac...', Array)
#5 /Users/user/www/includes/cache/LocalisationCache.php(796): wfRunHooks('LocalisationCac...', Array)
#6 /Users/user/www/includes/cache/LocalisationCache.php(426): LocalisationCache->recache('it')
#7 /Users/user/www/includes/cache/LocalisationCache.php(310): LocalisationCache->initLanguage('it')
#8 /Users/user/www/includes/cache/LocalisationCache.php(245): LocalisationCache->loadItem('it', 'fallback')
#9 /Users/user/www/languages/Language.php(3978): LocalisationCache->getItem('it', 'fallback')
#10 /Users/user/www/languages/Language.php(230): Language::getFallbacksFor('it')
#11 /Users/user/www/languages/Language.php(189): Language::newFromCode('it')
#12 /Users/user/www/includes/Setup.php(497): Language::factory('it')
#13 /Users/user/www/includes/WebStart.php(161): require_once('/Users/user/3d...')
#14 /Users/user/www/index.php(55): require('/Users/user/3d...')
#15 {main}
第一行是停止执行并导致异常的行。如果您能够识别问题(在我的例子中是LocalizationUpdate扩展),那么可以很容易地修复它。同样,在我的例子中,再次打开
LocalSettings.php
并注释掉或删除行就足够了:

require_once( "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php" );

缓存可能有问题,请尝试使用

$wgMainCacheType = CACHE_NONE;

谢谢但我已经完成了这些步骤。。。而且iSiues仍然存在……
$wgShowExceptionDetails
允许在“致命错误”页面上显示更多详细信息(如堆栈跟踪)。我们需要知道的不仅仅是“MWException类型的致命异常”。谢谢!我感谢你的帮助。。。但我相信那是一个安装错误。。。我重新安装,所有功能正常。。。非常感谢。。。