https://bugzilla.wikimedia.org/show_bug.cgi?id=59614
Web browser: ---
Bug ID: 59614
Summary: Enabling LocalisationUpdate extension in initial
MediaWiki setup raises exception
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: Windows 7
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: LocalisationUpdate
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Enabling this extension in initial MediaWiki setup (1.22.0 on Windows) raises
the following exception when trying to access main page for the first time:
[9215b846] /w22/index.php Exception from line 549 of
C:\xampp\htdocs\w22\extensions\LocalisationUpdate\LocalisationUpdate.class.php:
No cache directory configured
Backtrace:
#0
C:\xampp\htdocs\w22\extensions\LocalisationUpdate\LocalisationUpdate.class.php(561):
LocalisationUpdate::filename(string)
#1
C:\xampp\htdocs\w22\extensions\LocalisationUpdate\LocalisationUpdate.class.php(36):
LocalisationUpdate::readFile(string)
#2 [internal function]: LocalisationUpdate::onRecache(LocalisationCache,
string, array)
#3 C:\xampp\htdocs\w22\includes\Hooks.php(199): call_user_func_array(string,
array)
#4 C:\xampp\htdocs\w22\includes\GlobalFunctions.php(3877): Hooks::run(string,
array)
#5 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(853):
wfRunHooks(string, array)
#6 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(442):
LocalisationCache->recache(string)
#7 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(365):
LocalisationCache->initLanguage(string)
#8 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(281):
LocalisationCache->loadSubitem(string, string, string)
#9 C:\xampp\htdocs\w22\languages\Language.php(2337):
LocalisationCache->getSubitem(string, string, string)
#10 C:\xampp\htdocs\w22\includes\cache\MessageCache.php(802):
Language->getMessage(string)
#11 C:\xampp\htdocs\w22\includes\cache\MessageCache.php(729):
MessageCache->getMessageFromFallbackChain(LanguageRu, string, string, boolean)
#12 C:\xampp\htdocs\w22\includes\Message.php(878): MessageCache->get(string,
boolean, LanguageRu)
#13 C:\xampp\htdocs\w22\includes\Message.php(560): Message->fetchMessage()
#14 C:\xampp\htdocs\w22\includes\Message.php(649): Message->toString()
#15 C:\xampp\htdocs\w22\includes\Title.php(375): Message->text()
#16 C:\xampp\htdocs\w22\includes\Wiki.php(121): Title::newMainPage()
#17 C:\xampp\htdocs\w22\includes\Wiki.php(137): MediaWiki->parseTitle()
#18 C:\xampp\htdocs\w22\includes\Wiki.php(530): MediaWiki->getTitle()
#19 C:\xampp\htdocs\w22\includes\Wiki.php(467): MediaWiki->main()
#20 C:\xampp\htdocs\w22\index.php(49): MediaWiki->run()
#21 {main}
Setting $wgCacheDirectory manually resolves the situation.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l