Wth php 5.3 starts to have a lot of warnings It is not safe to rely on the system's time in apache logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Expired
|
Medium
|
Unassigned |
Bug Description
mahara 1.5 dev master
php version :
PHP 5.3.3 (cli) (built: Nov 3 2011 12:00:26)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
With php set in full error reporting mode , my apache errors logs get filled with warnings about 'It is not safe to rely on the system's timezone settings'
[Mon Jan 23 14:51:49 2012] [error] [client 134.214.152.108] [WAR] 6a (lib/mahara.
...
[Thu Jan 26 13:24:05 2012] [error] [client 134.214.152.108] * log_message(
[Thu Jan 26 13:24:05 2012] [error] [client 134.214.152.108] * error(2, "date(): It is not safe to rely on the system's tim...", "/var/www/
[Thu Jan 26 13:24:05 2012] [error] [client 134.214.152.108] * date("Y-m-d h:i:s") at /var/www/
[Thu Jan 26 13:24:05 2012] [error] [client 134.214.152.108] * mahara_log("views", "6") at /var/www/
I did fixed it by adding at the end of config.php
// quick fix on my place
//date_
//a better fix
if(function_
@date_
}
But I guess it might be time to add to Mahara's site configuration a setting about 'server timezone' and use it 'a la Moodle'
Cheers.
description: | updated |
description: | updated |
description: | updated |
Changed in mahara: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 1.5.0 |
Changed in mahara: | |
assignee: | nobody → Christopher Tombleson (christopher-k) |
https:/ /reviews. mahara. org/#/c/ 1089