View Issue Details

IDProjectCategoryView StatusLast Update
0016967MantisTouchGeneralpublic2015-11-12 23:44
Reportereziworx Assigned Tovboctor  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformChromeOSWindowsOS Version7
Product Version1.3.0 
Fixed in VersionNext 
Summary0016967: Error relating to time zone not set
Description

When logging into Mantis Touch - 1st page that comes up is

2048: error_log() [function.error-log]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Los_Angeles' for 'PST/-8.0/no DST' instead
File: /home/mydirectory/bugs/www/m/core/webservice_api.php
Line: 450
ERROR: headers already sent!

Please advise which file needs to be configured and with what information
Yes I am a Newbie :) so be nice

Steps To Reproduce

Fresh install of Mantisbt V 1.2.16 and Mantis Touch V1.30

I have configured the config_inc.php to include

$g_default_timezone = ('Australia\West')

The problem is occurring with or without this setting

Additional Information

PHP Version 5.2.17 on Linux hedgehog.arvixe.com

TagsNo tags attached.

Activities

eziworx

eziworx

2014-02-18 00:02

reporter   ~0039450

Any help on this one - anyone? Please....

eziworx

eziworx

2014-02-23 17:57

reporter   ~0039493

Ok so have upgraded to Mantis Touch 1.31 - still cannot use it on any mobile device due to this error that come up when logging in....please would someone offer some advise on this issue.
On a PC if you refresh the page - Mantis Touch will load and work just fine but the whole purpose of this application is to use it on a mobile device.

I have set My Account - Preferences - Time Zone as well which has made no difference.

eziworx

eziworx

2014-02-23 20:29

reporter   ~0039494

FYI: The default Time Zone for MantisBT is working correctly - this issue is only occurring in Mantis Touch

$g_default_timezone = ('Australia\West')

vboctor

vboctor

2014-04-11 20:48

manager   ~0039911

I was not able to reproduce this, but I've added code to protect against such condition.

In the error message the following part seems to point to the root cause: "We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead" -- why is the MantisBT instance returning a format that the setting of the time zone doesn't like. Why does it work from desktop browser and not from mobile browser. Something is interesting here, I'm not sure what it is.