Last modified: 2007-01-21 00:20:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8550 - "Translate" extension crashes MediaWiki
"Translate" extension crashes MediaWiki
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-09 03:51 UTC by 555
Modified: 2007-01-21 00:20 UTC (History)
0 users

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


Attachments

Description 555 2007-01-09 03:51:39 UTC
Hi

I'm running a MediaWiki r18997 on my PC to do some small tests. All is working
fine, but if I enable the extension "Translate" i get some errors. I'm getting
the same errors at WinXP (with XAMPP lite) and in (K)Ubuntu Edgy (PHP
5.1.6-1ubuntu2.1).

With the Translate enabled (using
include("../extensions/Translate/SpecialTranslate.php") )the following errors
are displayed on all pages:

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2405

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2406

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2407

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2408

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2409

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2410

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2411

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2412

Strict Standards: date() [function.date]: It is not safe to rely on the system's
timezone settings. Please use the date.timezone setting, the TZ environment
variable or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST'
instead in /home/lugusto/wiki/phase3/includes/Parser.php on line 2413

Strict Standards: Declaration of SpecialBookSources::execute() should be
compatible with that of SpecialPage::execute() in
/home/lugusto/wiki/phase3/includes/SpecialBooksources.php on line 108

Strict Standards: Declaration of SpecialTranslate::execute() should be
compatible with that of SpecialPage::execute() in
/home/lugusto/wiki/extensions/Translate/SpecialTranslate_body.php on line 370

If I try to go to [[Special:Translate]] the following errors are displayed
instead of anything:

Strict Standards: Declaration of SpecialTranslate::execute() should be
compatible with that of SpecialPage::execute() in
/home/lugusto/wiki/extensions/Translate/SpecialTranslate_body.php on line 370

Fatal error: Call to undefined method Language::getFallbackLanguage() in
/home/lugusto/wiki/extensions/Translate/SpecialTranslate_body.php on line 439
Comment 1 Niklas Laxström 2007-01-20 15:39:16 UTC
Fixed in r19505 and r19506.
Comment 2 555 2007-01-20 17:25:06 UTC
Thanks but... I'm now getting this error message if I go to
[[Special:Specialpages]] or [[Special:Translate]] (using r19514)

Fatal error: Call to undefined function efDuplicatorMessages() in
E:\xampplite\htdocs\extensions\Translate\SpecialTranslate_exts.php on line 170
Comment 3 Niklas Laxström 2007-01-20 21:15:29 UTC
Does r19530 work?
Comment 4 555 2007-01-21 00:20:07 UTC
works :) thanks

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


Navigation
Links