The notice about safe mode did it. Thank you, obviously my webhosting
account is running in safe mode. Should I generally deactivate it?

--robert

2010/9/15 Sullivan, James (NIH/CIT) [C] <sulli...@mail.nih.gov>

> 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: orsch...@googlemail.com [mailto:orsch...@googlemail.com]
> Sent: Wednesday, September 15, 2010 1:25 AM
> To: z...@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) <z...@fooassociates.com>
>
> > On Tue, Sep 14, 2010 at 05:58,  <orsch...@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

Reply via email to