mediawiki - Fatal exception of type MWException -
i installed mediawiki in localhost on debian 7 system. after installation, got exception fatal exception of type mwexception
. reviewed reported bugs, not apply me.
php 5.4.4 phpmyaddmin....
as written in comments, edit localsettings.php
file , add line @ end:
$wgshowexceptiondetails = true;
try reloading page gives error. you're see what's called backtrace... here example:
#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}
the first line 1 stopped execution, causing exception. if can identify problem (in case it's localisationupdate extension) can easy fix. again, in case it's enough open again localsettings.php
, comment out or delete line:
require_once( "$ip/extensions/localisationupdate/localisationupdate.php" );
Comments
Post a Comment