"Fatal exception of type MWException" as answer for "Special:ManageMessageGroups" page

"Fatal exception of type MWException" as answer for "Special:ManageMessageGroups" page

It seems to work fine, except for the page Special:ManageMessageGroups which rturns this message :

[17e72b1a] 2013-11-09 16:39:33: Fatal exception of type MWException

and Special:LanguageStats which never publishes.

My configuration is MW 1.21.2 and the latest "MediaWiki Language Extension Bundle" (2013.10).

As I only tried it a few months ago, I tried to suppress and recreate all the tables starting with "translate_"

`translate_groupreviews` ,
`translate_groupstats` ,
`translate_messageindex` ,
`translate_metadata` ,
`translate_reviews` ,
`translate_sections` ,
`translate_stash` ,
`translate_tmf` ,
`translate_tms` ,
`translate_tmt` ;

but without success : (

Any idea how to solve this bug ?

Dieudo (talk)17:21, 9 November 2013

Hi, I was a bit confused at first; next time it's better to ask at mw:Extension talk:Translate. To understand something, it's easier if you temporarily set mw:Manual:$wgShowExceptionDetails to true.

Nemo (talk)17:35, 9 November 2013

Thank you for your quick answer !

I first put my question there mw:Extension talk:Translate but then I saw this on top of it :

The best place to get support is at translatewiki:Support. Archive.

Anyway again, thank you for your help. Here is the answer to your suggestion :

$wgCacheDirectory must be configured

Backtrace:

#0 /var/www/rc/extensions/Translate/specials/SpecialManageGroups.php(42): TranslateUtils::cacheFile('translate_messa...')
#1 /var/www/rc/includes/SpecialPage.php(613): SpecialManageGroups->execute(NULL)
#2 /var/www/rc/includes/SpecialPageFactory.php(487): SpecialPage->run(NULL)
#3 /var/www/rc/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#4 /var/www/rc/includes/Wiki.php(565): MediaWiki->performRequest()
#5 /var/www/rc/includes/Wiki.php(458): MediaWiki->main()
#6 /var/www/rc/index.php(59): MediaWiki->run()
#7 {main}
Dieudo (talk)17:46, 9 November 2013

Have to configured $wgCacheDirectory in your LocalSettings.php?

Siebrand19:58, 11 November 2013

Thank you !

It works for the first part : )

Only problem remaining : Special:LanguageStats and Special:MessageGroupStats never publishes, or very shortly, when coming back to precedent page, after clicking quickly twyce on the "precedent page" Firefox button, or sometimes I don't know why ?!

Dieudo (talk)00:11, 12 November 2013

I don't understand what you mean with "never publishes".

Nike (talk)10:08, 12 November 2013

I mean Firefox keeps waiting for the page to come and meanwhile only shows a white page.

I tried to find out if it was coming from my configuration, so I installed a clean MW 1.21.2 with the extensions Translate and UniversalLanguageSelector (Both Version MLEB 2013.10), and the problem doesn't come up again.

Maybe I could reset the stats by suppressing all translated pages (only 2 for the moment) ?

Or is there a better way ?

Dieudo (talk)10:47, 12 November 2013

It is unclear what you are asking now.

Nike (talk)15:32, 17 November 2013
 

Dieudo, simple update problems for stats pages are solved as usual in MediaWiki, by appending action=purge (and then refreshing a few times without action=purge in the URL, to fill the stats); more complex problems like those you describe are similar to an issue related to local browser cache (please hard refresh the page) which we had on our wikis too and was IIRC solved in more recent code/configuration, so please paste relevant configuration from your LocalSettings.php if nothing solves it.

Nemo (talk)00:27, 18 November 2013

Thank you to both of you. I'll wait 2013-11-29, when MW 1.22 is released, to upgrade my wiki, guessing this should solve the problem : )

Dieudo (talk)11:12, 19 November 2013
 

Thank you to both of you. I'll wait 2013-11-29, when MW 1.22 is released, to upgrade my wiki, guessing this should solve the problem : )

Dieudo (talk)11:13, 19 November 2013