Out history information is showing GMT time. It appears from the documentation that I should be able to enter
$wgLocaltimezone = 'PST8PDT';
Inter local settings but this does not appear to change anything.
Where else to look?
Also, I would *guess* from the PST8PDT that this is 8 hours off of GMT, when currently we are 7 hours.
Ideas?
Thanks
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
On 3/26/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Also, I would *guess* from the PST8PDT that this is 8 hours off of GMT, when currently we are 7 hours.
Here is a guess.
I will assume your from Seattle, Washington USA from your signature's area code and thus your TZ is PST8PDT . That is the abbreviation for "Pacific Standard Time/ Pacific Daylight Time" used in United States: California, Idaho (parts), Nevada, Oregon (parts), Washington. This differs from PST7PDT in ways you can read here: http://en.wikipedia.org/wiki/List_of_time_zones#UTC_.E2.88.92_8.2C_U
The various 'leap year, time zone offset, daylight savings on, daylight savings off information is usually kept in some sort of file on your system. For example on a Unix Debian box its /usr/share/zoneinfo/US/Pacific.
Any how, these packages (libc infact on Deb) that provide that information need to be updated or tweaked with the new because the DST is three weeks earlier than before.
Linux Example: http://packages.debian.org/changelogs/pool/main/g/glibc/glibc_2.3.2.ds1-22sa... Others: http://docs.info.apple.com/article.html?artnum=305056 http://support.microsoft.com/gp/cp_dst
Enjoy
Gabrial,
We are testing this on an winXP box. Our clock is correct for our time zone and the patch for windows was added before the fact.
Everything we do in Mediawiki shows as 7 hours behind gmt. So it appears that there might be 2 issues
1) Mediawiki does not know that I am on Pacific time at all. It appears to be trying to show GMT as everything is ahead by 7 hours. 2) Mediawiki is not recognizing the 'New and Improved' Daylight Savings Time (since it is showing 7 hours not 8)
We might just need some Tommyknockers to clean this whole time bit up.
More ideas?
Thanks
DSig David Tod Sigafoos
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Gabriel Millerd Sent: Monday, March 26, 2007 23:54 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
On 3/26/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Also, I would *guess* from the PST8PDT that this is 8 hours off of
GMT,
when currently we are 7 hours.
Here is a guess.
I will assume your from Seattle, Washington USA from your signature's area code and thus your TZ is PST8PDT . That is the abbreviation for "Pacific Standard Time/ Pacific Daylight Time" used in United States: California, Idaho (parts), Nevada, Oregon (parts), Washington. This differs from PST7PDT in ways you can read here: http://en.wikipedia.org/wiki/List_of_time_zones#UTC_.E2.88.92_8.2C_U
The various 'leap year, time zone offset, daylight savings on, daylight savings off information is usually kept in some sort of file on your system. For example on a Unix Debian box its /usr/share/zoneinfo/US/Pacific.
Any how, these packages (libc infact on Deb) that provide that information need to be updated or tweaked with the new because the DST is three weeks earlier than before.
Linux Example: http://packages.debian.org/changelogs/pool/main/g/glibc/glibc_2.3.2.ds1- 22sarge5/changelog Others: http://docs.info.apple.com/article.html?artnum=305056 http://support.microsoft.com/gp/cp_dst
Try adding the following to your LocalSettings.php file.
#Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 3600; putenv("TZ=$oldtz");
This might not work properly if you're using a Mediawiki version newer than 1.7, which uses use hours, not minutes. In the case when you're using version 1.7 or newer, the "3600" in the above code would be replaced by the number "60". Here's a website that helps explain it and other options: http://meta.wikimedia.org/wiki/Help:Timezone
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Tuesday, March 27, 2007 9:11 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Gabrial,
We are testing this on an winXP box. Our clock is correct for our time zone and the patch for windows was added before the fact.
Everything we do in Mediawiki shows as 7 hours behind gmt. So it appears that there might be 2 issues
1) Mediawiki does not know that I am on Pacific time at all. It appears to be trying to show GMT as everything is ahead by 7 hours. 2) Mediawiki is not recognizing the 'New and Improved' Daylight Savings Time (since it is showing 7 hours not 8)
We might just need some Tommyknockers to clean this whole time bit up.
More ideas?
Thanks
DSig David Tod Sigafoos
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Gabriel Millerd Sent: Monday, March 26, 2007 23:54 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
On 3/26/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Also, I would *guess* from the PST8PDT that this is 8 hours off of
GMT,
when currently we are 7 hours.
Here is a guess.
I will assume your from Seattle, Washington USA from your signature's area code and thus your TZ is PST8PDT . That is the abbreviation for "Pacific Standard Time/ Pacific Daylight Time" used in United States: California, Idaho (parts), Nevada, Oregon (parts), Washington. This differs from PST7PDT in ways you can read here: http://en.wikipedia.org/wiki/List_of_time_zones#UTC_.E2.88.92_8.2C_U
The various 'leap year, time zone offset, daylight savings on, daylight savings off information is usually kept in some sort of file on your system. For example on a Unix Debian box its /usr/share/zoneinfo/US/Pacific.
Any how, these packages (libc infact on Deb) that provide that information need to be updated or tweaked with the new because the DST is three weeks earlier than before.
Linux Example: http://packages.debian.org/changelogs/pool/main/g/glibc/glibc_2.3.2.ds1- 22sarge5/changelog Others: http://docs.info.apple.com/article.html?artnum=305056 http://support.microsoft.com/gp/cp_dst
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks for that ..
I changed the 3rd line to $oldtz=getenv("TZ"); (missing the $)
At first we were getting HTTP.EXE errors (love them as being informative :) but then worked through each line and got it working. Error appeared to need the browser tab closed and reopened.
It does appear to be working correctly now.
Thanks so much ..
Where would I ask about why the install did not set this up?
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sullivan, James (NIH/CIT) [C] Sent: Tuesday, March 27, 2007 6:47 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Try adding the following to your LocalSettings.php file.
#Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 3600; putenv("TZ=$oldtz");
This might not work properly if you're using a Mediawiki version newer than 1.7, which uses use hours, not minutes. In the case when you're using version 1.7 or newer, the "3600" in the above code would be replaced by the number "60". Here's a website that helps explain it and other options: http://meta.wikimedia.org/wiki/Help:Timezone
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Tuesday, March 27, 2007 9:11 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Gabrial,
We are testing this on an winXP box. Our clock is correct for our time zone and the patch for windows was added before the fact.
Everything we do in Mediawiki shows as 7 hours behind gmt. So it appears that there might be 2 issues
1) Mediawiki does not know that I am on Pacific time at all. It appears to be trying to show GMT as everything is ahead by 7 hours. 2) Mediawiki is not recognizing the 'New and Improved' Daylight Savings Time (since it is showing 7 hours not 8)
We might just need some Tommyknockers to clean this whole time bit up.
More ideas?
Thanks
DSig David Tod Sigafoos
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Gabriel Millerd Sent: Monday, March 26, 2007 23:54 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
On 3/26/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Also, I would *guess* from the PST8PDT that this is 8 hours off of
GMT,
when currently we are 7 hours.
Here is a guess.
I will assume your from Seattle, Washington USA from your signature's area code and thus your TZ is PST8PDT . That is the abbreviation for "Pacific Standard Time/ Pacific Daylight Time" used in United States: California, Idaho (parts), Nevada, Oregon (parts), Washington. This differs from PST7PDT in ways you can read here: http://en.wikipedia.org/wiki/List_of_time_zones#UTC_.E2.88.92_8.2C_U
The various 'leap year, time zone offset, daylight savings on, daylight savings off information is usually kept in some sort of file on your system. For example on a Unix Debian box its /usr/share/zoneinfo/US/Pacific.
Any how, these packages (libc infact on Deb) that provide that information need to be updated or tweaked with the new because the DST is three weeks earlier than before.
Linux Example: http://packages.debian.org/changelogs/pool/main/g/glibc/glibc_2.3.2.ds1- 22sarge5/changelog Others: http://docs.info.apple.com/article.html?artnum=305056 http://support.microsoft.com/gp/cp_dst
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 27/03/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Where would I ask about why the install did not set this up?
...because the installer doesn't offer an option to set the timezone settings, nor does it attempt to detect the "correct" time zone.
Rob Church
Sorry about the "$". I was copying from a another display...
The default seems to be GMT. It would be nice to have the browser installer ask for a timezone. But its a wiki meaning it might be accessed from anywhere in the world as Wikipedia is, so I imagine that GMT would be the natural default.
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Tuesday, March 27, 2007 10:44 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Thanks for that ..
I changed the 3rd line to $oldtz=getenv("TZ"); (missing the $)
At first we were getting HTTP.EXE errors (love them as being informative :) but then worked through each line and got it working. Error appeared to need the browser tab closed and reopened.
It does appear to be working correctly now.
Thanks so much ..
Where would I ask about why the install did not set this up?
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sullivan, James (NIH/CIT) [C] Sent: Tuesday, March 27, 2007 6:47 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Try adding the following to your LocalSettings.php file.
#Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 3600; putenv("TZ=$oldtz");
This might not work properly if you're using a Mediawiki version newer than 1.7, which uses use hours, not minutes. In the case when you're using version 1.7 or newer, the "3600" in the above code would be replaced by the number "60". Here's a website that helps explain it and other options: http://meta.wikimedia.org/wiki/Help:Timezone
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Tuesday, March 27, 2007 9:11 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Gabrial,
We are testing this on an winXP box. Our clock is correct for our time zone and the patch for windows was added before the fact.
Everything we do in Mediawiki shows as 7 hours behind gmt. So it appears that there might be 2 issues
1) Mediawiki does not know that I am on Pacific time at all. It appears to be trying to show GMT as everything is ahead by 7 hours. 2) Mediawiki is not recognizing the 'New and Improved' Daylight Savings Time (since it is showing 7 hours not 8)
We might just need some Tommyknockers to clean this whole time bit up.
More ideas?
Thanks
DSig David Tod Sigafoos
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Gabriel Millerd Sent: Monday, March 26, 2007 23:54 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
On 3/26/07, Dave Sigafoos davesigafoos@sanmar.com wrote:
Also, I would *guess* from the PST8PDT that this is 8 hours off of
GMT,
when currently we are 7 hours.
Here is a guess.
I will assume your from Seattle, Washington USA from your signature's area code and thus your TZ is PST8PDT . That is the abbreviation for "Pacific Standard Time/ Pacific Daylight Time" used in United States: California, Idaho (parts), Nevada, Oregon (parts), Washington. This differs from PST7PDT in ways you can read here: http://en.wikipedia.org/wiki/List_of_time_zones#UTC_.E2.88.92_8.2C_U
The various 'leap year, time zone offset, daylight savings on, daylight savings off information is usually kept in some sort of file on your system. For example on a Unix Debian box its /usr/share/zoneinfo/US/Pacific.
Any how, these packages (libc infact on Deb) that provide that information need to be updated or tweaked with the new because the DST is three weeks earlier than before.
Linux Example: http://packages.debian.org/changelogs/pool/main/g/glibc/glibc_2.3.2.ds1- 22sarge5/changelog Others: http://docs.info.apple.com/article.html?artnum=305056 http://support.microsoft.com/gp/cp_dst
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Per our conversation yesterday I have added the following to the localsettings.php doc.
# dsig 27mar07 added time zone bit because our history was showing gmt. ##Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
when ever this is enabled (not commented out) we get a HTTP.EXE windows error twice.
Http Error log .. after getting the HTTP.EXE error box in windows twice
[Wed Mar 28 14:13:01 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:01 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:01 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:01 2007] [notice] Parent: Created child process 3380 [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Child process is running [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Acquired the start mutex. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting 250 worker threads. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting thread to listen on port 80. [Wed Mar 28 14:13:09 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:09 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:09 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:09 2007] [notice] Parent: Created child process 2232 [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Child process is running [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Acquired the start mutex. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting 250 worker threads. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting thread to listen on port 80.
I don't see anything here that might discribe the error.
If I simply comment out the timezone bits above it works correctly. Well, except for the incorrect timezone being displayed.
Ideas
Thanks
DSig David Tod Sigafoos
The code looks good. If you're using a newer version of Mediawiki (I think 1.6 or higher, you divide by 3600, not 60 since TZ changed from minutes to seconds..
I'm not sure how it looks in your LocalSettings file but try putting each variable setting up to and including the semicolon on a separate line. I also have mine at the end of the LocalSettings.php file but I'm not sure if that's important.
Also, what version of Mediawiki are you running?
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Wednesday, March 28, 2007 5:21 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Per our conversation yesterday I have added the following to the localsettings.php doc.
# dsig 27mar07 added time zone bit because our history was showing gmt. ##Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
when ever this is enabled (not commented out) we get a HTTP.EXE windows error twice.
Http Error log .. after getting the HTTP.EXE error box in windows twice
[Wed Mar 28 14:13:01 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:01 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:01 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:01 2007] [notice] Parent: Created child process 3380 [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Child process is running [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Acquired the start mutex. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting 250 worker threads. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting thread to listen on port 80. [Wed Mar 28 14:13:09 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:09 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:09 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:09 2007] [notice] Parent: Created child process 2232 [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Child process is running [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Acquired the start mutex. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting 250 worker threads. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting thread to listen on port 80.
I don't see anything here that might discribe the error.
If I simply comment out the timezone bits above it works correctly. Well, except for the incorrect timezone being displayed.
Ideas
Thanks
DSig David Tod Sigafoos
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The date and time do come out right. Just keep getting that pesky http.exe error (whether me on the server or another user).
Versions: # : 1.9.3 # PHP: 5.2.1 (apache2handler) # MySQL: 5.1.16-beta-community-nt
The code is located at the end of the local settings file. It appears as if outlook (sigh) munged the data. Each ';' command is on separate line.
Ideas welcomed.
Thanks for the help
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sullivan, James (NIH/CIT) [C] Sent: Thursday, March 29, 2007 5:34 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
The code looks good. If you're using a newer version of Mediawiki (I think 1.6 or higher, you divide by 3600, not 60 since TZ changed from minutes to seconds..
I'm not sure how it looks in your LocalSettings file but try putting each variable setting up to and including the semicolon on a separate line. I also have mine at the end of the LocalSettings.php file but I'm not sure if that's important.
Also, what version of Mediawiki are you running?
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Wednesday, March 28, 2007 5:21 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Per our conversation yesterday I have added the following to the localsettings.php doc.
# dsig 27mar07 added time zone bit because our history was showing gmt. ##Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
when ever this is enabled (not commented out) we get a HTTP.EXE windows error twice.
Http Error log .. after getting the HTTP.EXE error box in windows twice
[Wed Mar 28 14:13:01 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:01 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:01 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:01 2007] [notice] Parent: Created child process 3380 [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Child process is running [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Acquired the start mutex. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting 250 worker threads. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting thread to listen on port 80. [Wed Mar 28 14:13:09 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:09 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:09 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:09 2007] [notice] Parent: Created child process 2232 [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Child process is running [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Acquired the start mutex. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting 250 worker threads. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting thread to listen on port 80.
I don't see anything here that might discribe the error.
If I simply comment out the timezone bits above it works correctly. Well, except for the incorrect timezone being displayed.
Based on googling for the problem it looks like a php error or a security setting. Take a look at this: http://www.mail-archive.com/php-bugs@lists.php.net/msg50410.html
Hope its of some help... -Jim
---------------------------- James E. Sullivan Contractor NIH/CIT/DCSS/SCB Building 12, Room 2251 Bethesda, MD 20892 301-451-6372 sullivan@mail.nih.gov ----------------------------
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Thursday, March 29, 2007 11:26 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
The date and time do come out right. Just keep getting that pesky http.exe error (whether me on the server or another user).
Versions: # : 1.9.3 # PHP: 5.2.1 (apache2handler) # MySQL: 5.1.16-beta-community-nt
The code is located at the end of the local settings file. It appears as if outlook (sigh) munged the data. Each ';' command is on separate line.
Ideas welcomed.
Thanks for the help
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sullivan, James (NIH/CIT) [C] Sent: Thursday, March 29, 2007 5:34 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
The code looks good. If you're using a newer version of Mediawiki (I think 1.6 or higher, you divide by 3600, not 60 since TZ changed from minutes to seconds..
I'm not sure how it looks in your LocalSettings file but try putting each variable setting up to and including the semicolon on a separate line. I also have mine at the end of the LocalSettings.php file but I'm not sure if that's important.
Also, what version of Mediawiki are you running?
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Wednesday, March 28, 2007 5:21 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Per our conversation yesterday I have added the following to the localsettings.php doc.
# dsig 27mar07 added time zone bit because our history was showing gmt. ##Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
when ever this is enabled (not commented out) we get a HTTP.EXE windows error twice.
Http Error log .. after getting the HTTP.EXE error box in windows twice
[Wed Mar 28 14:13:01 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:01 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:01 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:01 2007] [notice] Parent: Created child process 3380 [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Child process is running [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Acquired the start mutex. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting 250 worker threads. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting thread to listen on port 80. [Wed Mar 28 14:13:09 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:09 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:09 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:09 2007] [notice] Parent: Created child process 2232 [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Child process is running [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Acquired the start mutex. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting 250 worker threads. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting thread to listen on port 80.
I don't see anything here that might discribe the error.
If I simply comment out the timezone bits above it works correctly. Well, except for the incorrect timezone being displayed.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
James, thanks for that. I have looked for that function does not appear in any of the PHP files so I can only guess that it is part of the compile.
I will refer this matter over to the php board and see what they think.
Thanks for all the info
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sullivan, James (NIH/CIT) [C] Sent: Thursday, March 29, 2007 8:50 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Based on googling for the problem it looks like a php error or a security setting. Take a look at this: http://www.mail-archive.com/php-bugs@lists.php.net/msg50410.html
Hope its of some help... -Jim
---------------------------- James E. Sullivan Contractor NIH/CIT/DCSS/SCB Building 12, Room 2251 Bethesda, MD 20892 301-451-6372 sullivan@mail.nih.gov ----------------------------
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Thursday, March 29, 2007 11:26 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
The date and time do come out right. Just keep getting that pesky http.exe error (whether me on the server or another user).
Versions: # : 1.9.3 # PHP: 5.2.1 (apache2handler) # MySQL: 5.1.16-beta-community-nt
The code is located at the end of the local settings file. It appears as if outlook (sigh) munged the data. Each ';' command is on separate line.
Ideas welcomed.
Thanks for the help
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sullivan, James (NIH/CIT) [C] Sent: Thursday, March 29, 2007 5:34 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
The code looks good. If you're using a newer version of Mediawiki (I think 1.6 or higher, you divide by 3600, not 60 since TZ changed from minutes to seconds..
I'm not sure how it looks in your LocalSettings file but try putting each variable setting up to and including the semicolon on a separate line. I also have mine at the end of the LocalSettings.php file but I'm not sure if that's important.
Also, what version of Mediawiki are you running?
-Jim
-----Original Message----- From: Dave Sigafoos [mailto:davesigafoos@sanmar.com] Sent: Wednesday, March 28, 2007 5:21 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Per our conversation yesterday I have added the following to the localsettings.php doc.
# dsig 27mar07 added time zone bit because our history was showing gmt. ##Set Default Timezone $wgLocaltimezone = "America/Los_Angeles"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
when ever this is enabled (not commented out) we get a HTTP.EXE windows error twice.
Http Error log .. after getting the HTTP.EXE error box in windows twice
[Wed Mar 28 14:13:01 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:01 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:01 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:01 2007] [notice] Parent: Created child process 3380 [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Child process is running [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Acquired the start mutex. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting 250 worker threads. [Wed Mar 28 14:13:01 2007] [notice] Child 3380: Starting thread to listen on port 80. [Wed Mar 28 14:13:09 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Wed Mar 28 14:13:09 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations [Wed Mar 28 14:13:09 2007] [notice] Server built: Jan 9 2007 23:17:20 [Wed Mar 28 14:13:09 2007] [notice] Parent: Created child process 2232 [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Child process is running [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Acquired the start mutex. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting 250 worker threads. [Wed Mar 28 14:13:09 2007] [notice] Child 2232: Starting thread to listen on port 80.
I don't see anything here that might discribe the error.
If I simply comment out the timezone bits above it works correctly. Well, except for the incorrect timezone being displayed.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I eliminated a similar-looking HTTPD error (also on Win32 platform) by upgrading from PHP 5.2.1 to the latest dev snapshot (5.2.2-dev) at http://snaps.php.net. Give it a try.
DanB
Fingers crossed .. haven't gotten and error in several minutes
Thanks man
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Thursday, March 29, 2007 9:27 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
I eliminated a similar-looking HTTPD error (also on Win32 platform) by upgrading from PHP 5.2.1 to the latest dev snapshot (5.2.2-dev) at http://snaps.php.net. Give it a try.
DanB
Here's a stress test you can run to be sure. Download "wget" for Windows and write a script to hit Special:Random 1000 times. Run 3-4 of these simultaneously. Under this load, I got the PHP crash within 10 seconds. With the new PHP, I didn't see a single error.
Here's my script if you speak Bash. (Also you may need to adjust the Special:Random URL if you aren't using short URLs.)
#!/bin/bash
if [ $# -ne 2 ] then echo "Stress-test a MediaWiki server by hitting Special:Random repeatedly" echo "Usage: $0 iterations mediawiki_server" echo "Example: $0 1000 techwiki.vistaprint.net" exit 1 fi limit=$1 server=$2 i=0 while [ $i -lt $limit ] do echo "$i ==============================================" wget -O - http://$server/wiki/Special:Random i=`expr $i + 1` done echo "$0: $limit iterations on $server complete"
DanB
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dave Sigafoos Sent: Thursday, March 29, 2007 2:02 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
Fingers crossed .. haven't gotten and error in several minutes
Thanks man
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Thursday, March 29, 2007 9:27 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Local timezone
I eliminated a similar-looking HTTPD error (also on Win32 platform) by upgrading from PHP 5.2.1 to the latest dev snapshot (5.2.2-dev) at http://snaps.php.net. Give it a try.
DanB
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org