Last modified: 2012-06-05 11:32:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39113, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37113 - Special:AggregateGroups load fails
Special:AggregateGroups load fails
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
REL1_18-branch
PC Windows 7
: Unprioritized normal (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-25 09:38 UTC by MWUser
Modified: 2012-06-05 11:32 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MWUser 2012-05-25 09:38:05 UTC
I'm testing the translate extension on my mediawiki and I want to be able to create an aggregated group of all my pages for external translation. But I'm not able to load the Special:AggregateGroups page at all. I can't see any other reported issue on this. Could there be some mismatch MW/Translate versions or me running on windows?

I'm running the Mediwiki on a Windows7 server.
System setup
MediaWiki 1.18.2
PHP 5.3.10 (cgi-fcgi)
MySQL 5.5.22
Translate (Version 2012-04-11)
Comment 1 Niklas Laxström 2012-05-25 09:39:43 UTC
Can you describe how it does not load? Totally white page? Not groups listed? Maybe a screenshot?
Comment 2 MWUser 2012-05-25 11:08:12 UTC
Its just a totally blank page (http error 500 website can not display the page) so there´s not much to take a screenshot of. Is there a way to add some debug prints or an error log or any other tips to where it fails? I have not created any groups manually there´s just the page-by-page groups. Could it help to upgrade the mediawiki installation if theres is some kind of missmatch?
(In reply to comment #1)
> Can you describe how it does not load? Totally white page? Not groups listed?
> Maybe a screenshot?
Comment 3 Niklas Laxström 2012-05-25 11:22:45 UTC
You can try adding these to your LocalSettings.php:


ini_set( 'display_errors',          1);
ini_set( 'ignore_repeated_errors',  1);
error_reporting( E_ALL | E_STRICT );
$wgShowExceptionDetails = true;

If that gives an output you can tell it here and then remove those lines again.
Comment 4 MWUser 2012-05-28 07:04:52 UTC
This is the error I get!

Call to undefined method User::getEditToken() in C:\inetpub\wwwroot\mediawiki\extensions\Translate\api\ApiAggregateGroups.php on line 229
Comment 5 Siebrand Mazeland 2012-05-28 21:51:02 UTC
This method was introduced in MediaWiki 1.19. Please update to the latest release version (1.19.0). That should help.
Comment 6 MWUser 2012-05-29 19:36:20 UTC
That sounds great! But now I get stuck on the upgrade not working :/
When trying to run the update.php it crashes and say CLI har stopped working
and in the mediawiki this error occurs:

HTTP Error 500.0 - Internal Server Error
C:\Program Files (x86)\PHP\php-cgi.exe - The FastCGI process exited unexpectedly

Event viewer says:
Faulting application name: php-cgi.exe, version: 5.3.10.0, time stamp: 0x4f2ae019
Faulting module name: php5.dll, version: 5.3.10.0, time stamp: 0x4f2ae082
Exception code: 0xc0000005
Fault offset: 0x00091818
Faulting process id: 0x788
Faulting application start time: 0x01cd3dcd625757f6
Faulting application path: C:\Program Files (x86)\PHP\php-cgi.exe
Faulting module path: C:\Program Files (x86)\PHP\php5.dll
Report Id: a00fcf92-a9c0-11e1-8901-00155d006808

Any idea? I have checked if there are some permissions missing but I cant see that I missed anyting.
I saw an aother windows user had the same issue but no solution.
Many thanks in advance!
Comment 7 MWUser 2012-06-05 11:10:48 UTC
Installing PHP 5.4.3 solved the error!
Comment 8 Siebrand Mazeland 2012-06-05 11:32:36 UTC
Interesting. I'd almost set the bug report as invalid, because the PHP version you mention is not required, only the minimum version of PHP for mediawiki 1.18.

In any case, glad its solved, and thanks for reporting back,

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links