https://bugzilla.wikimedia.org/show_bug.cgi?id=24308
Summary: Preferences screen fails
Product: MediaWiki
Version: 1.15.4
Platform: PC
OS/Version: Windows Server 2003
Status: NEW
Severity: blocker
Priority: Normal
Component: User preferences
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
It would appear that the PHP date_create() function fails (freezes) when the
timezone isn't specified. To fix this problem, I modified
Includes/Specials/SpecialPreferences.php, around line 1052, as follows:
Before:
$now = date_create( 'now );
After ($wgLocaltimezone is specified in LocalSettings.php):
global $wgLocaltimezone;
$now = date_create( 'now', $wgLocaltimezone );
This happened on my system, running Windows Server 2003, MediaWiki 1.15.4, PHP
5.3.0 (apache2handler), MySQL 5.1.35-community.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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