[RESOLVED] Installation, date_default_timezone_get error on Project:Support desk


173.71.49.60 (talkcontribs)

Article Images

Mediawiki version: 1.20.2 Php version: 5.4 MySQL 5.0 (Hosted by 1and1.com)

ISSUE: I've tried installing MediaWiki twice now, and both times after installation, the following text is emblazoned on top of every page in the Wiki:

Strict Standards: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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/New_York' for 'EST/-5.0/no DST' instead in /homepages/36/d95221237/htdocs/edgelands/wiki/includes/Setup.php on line 431

What do I need to do to remove this error?

Thanks!

103.17.82.165 (talkcontribs)

Change(ADD) in AppKernel.php file

public function init() {

        date_default_timezone_set('Asia/Kolkata');

        parent::init();

    }