Thread:Project:Support desk/Upgrade Wiki from 1.18 to 1.22.4 (2)/reply

Hi!

> We selected 'UTC' for 'UTC/0.0/no DST' instead in /home/dorotinf/public_html/wikigenia/includes/GlobalFunctions.php on line 2300

Please do not modify MediaWiki core files. Undo your changes and the syntax error will be gone.

To fix the timezone problem, set $wgLocaltimezone to a value, which fits your location. E.g.

$wgLocaltimezone = 'UTC'; date_default_timezone_set($wgLocaltimezone);

See, if the line date_default_timezone_set($wgLocaltimezone); is needed; I am not sure right now.