I read some information about it and it seems to be a deprecated feature that will be removed in php 6. For this reason I guess it can be turned off.
--robert
2010/9/15 Sullivan, James (NIH/CIT) [C] sullivan@mail.nih.gov
I'm not familiar with safe mode, just saw the notice so I passed it along. Glad it helped. -Jim
-----Original Message----- From: orschiro@googlemail.com [mailto:orschiro@googlemail.com] Sent: Wednesday, September 15, 2010 2:37 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Set the correct timezone
The notice about safe mode did it. Thank you, obviously my webhosting account is running in safe mode. Should I generally deactivate it?
--robert
I use the following:
## Set Default Timezone $wgLocaltimezone = "America/New_York"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
That's east coast time by the way.
Also, are you running PHP in "safe mode"? If so you need to see this: http://www.mediawiki.org/wiki/Safe_mode#Setting_time_zone_in_safe_mode
-Jim
-----Original Message----- From: orschiro@googlemail.com [mailto:orschiro@googlemail.com] Sent: Wednesday, September 15, 2010 1:25 AM To: zak@fooassociates.com; MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Set the correct timezone
It's a 1.16.0.
I reread the manual and obviously had missunderstand it the first time. I need to add also the following right?
$wgLocalTZoffset = date("Z") / 60;putenv("TZ=$oldtz");
Well it still doesn't work...
--robert
2010/9/14 Zak Greant (Foo Associates) zak@fooassociates.com
On Tue, Sep 14, 2010 at 05:58, orschiro@googlemail.com wrote:
I want to set the correct timezone for my wiki as all logs are two
hours
behind. So I declared the following in LocalSettings but there's no
change.
...
What version of MediaWiki are you trying to configure?
--zak
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l