[Mediawiki-l] Timezone database is corrupt - this should *never* happen! in Parser.php on line 2458

Daniel Barrett danb at VistaPrint.com
Thu Oct 4 16:19:12 UTC 2007


While stress-testing our MediaWiki installation (hammering it with many
page requests), I saw a few of these in the Apache logs.   Any ideas?

[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP Fatal error:
date() [<a href='function.date'>function.date</a>]: Timezone database is
corrupt - this should *never* happen! in
D:\\mediawiki\\w\\includes\\Parser.php on line 2458
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP Stack trace:
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   1.
{main}() D:\\mediawiki\\w\\index.php:0
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   2.
MediaWiki->initialize() D:\\mediawiki\\w\\index.php:89
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   3.
MediaWiki->initializeSpecialCases()
D:\\mediawiki\\w\\includes\\Wiki.php:45
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   4.
SpecialPage::executePath() D:\\mediawiki\\w\\includes\\Wiki.php:201
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   5.
SpecialPage->execute() D:\\mediawiki\\w\\includes\\SpecialPage.php:459
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   6.
SpecialPage->setHeaders()
D:\\mediawiki\\w\\includes\\SpecialPage.php:640
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   7.
OutputPage->setPageTitle()
D:\\mediawiki\\w\\includes\\SpecialPage.php:628
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   8. wfMsg()
D:\\mediawiki\\w\\includes\\OutputPage.php:220
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP   9.
wfMsgReal() D:\\mediawiki\\w\\includes\\GlobalFunctions.php:326
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  10.
wfMsgGetKey() D:\\mediawiki\\w\\includes\\GlobalFunctions.php:421
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  11.
MessageCache->get() D:\\mediawiki\\w\\includes\\GlobalFunctions.php:467
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  12.
MessageCache->transform()
D:\\mediawiki\\w\\includes\\MessageCache.php:505
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  13.
Parser->transformMsg() D:\\mediawiki\\w\\includes\\MessageCache.php:589
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  14.
Parser->replaceVariables() D:\\mediawiki\\w\\includes\\Parser.php:3967
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  15.
Parser->replace_callback() D:\\mediawiki\\w\\includes\\Parser.php:2860
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  16.
call_user_func() D:\\mediawiki\\w\\includes\\Parser.php:2759
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  17.
Parser->braceSubstitution() D:\\mediawiki\\w\\includes\\Parser.php:0
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  18.
Parser->variableSubstitution()
D:\\mediawiki\\w\\includes\\Parser.php:2968
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  19.
Parser->getVariableValue() D:\\mediawiki\\w\\includes\\Parser.php:2892
[Thu Oct 04 10:57:46 2007] [error] [client 10.95.36.96] PHP  20. date()
D:\\mediawiki\\w\\includes\\Parser.php:2458

The line is: $localYear = date( 'Y', $ts );

http://bugs.php.net/bug.php?id=39993 looks related but it has been
closed.

I have filed http://bugs.php.net/bug.php?id=42856.

MediaWiki 1.11.0
PHP: 5.2.4 (apache2handler)
MySQL: 5.0.45-community-nt
Apache 2.2.6 (patched version for Windows from apachelounge.org)
Windows 2003 server

DanB


More information about the MediaWiki-l mailing list