cloudy

Author Topic: OCT 2010 monthly/daily report missing on the website  (Read 3555 times)

0 Members and 1 Guest are viewing this topic.

Offline pamjay

  • Posts: 82
  • Nanaimo,Vancouver Island,BC. Canada
    • Nanaimo and VI University Area Weather
OCT 2010 monthly/daily report missing on the website
« on: October 30, 2010, 05:42:58 PM »
I have just noticed Oct 2010 reports are missing on my website i was okay before I updated to WD version 1037Q build 00. I also
I checked to see if OCT 2010.htm was on the server and it was so I downloaded the file and
opened it and it looks like everything is there and up to date as it shows all the data for OCT 29th
but nothing appearing for Oct 2010 on the website... all previous months are okay. Im not sure where to go from here.

Online 4wd

  • North York Moors
  • Posts: 264
Re: OCT 2010 monthly/daily report missing on the website
« Reply #1 on: October 30, 2010, 06:30:53 PM »
Is the link somehow wrong?
I found it easily if this is the page you mean.
http://www.nanaimoharewoodwx.com/wxweather/October2010.htm

Offline pamjay

  • Posts: 82
  • Nanaimo,Vancouver Island,BC. Canada
    • Nanaimo and VI University Area Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #2 on: October 30, 2010, 06:40:24 PM »
Yep thats the page... but October on the website  at: http://www.nanaimoharewoodwx.com/wxweather/wxhistory.php

does not show up when submit is selected all other previous months and years are okay.

Offline ed2kayak

  • CoCoRaHS PA-CD-6, Weather Underground KPAMECHA7, CWOP DW5425
  • Posts: 283
  • South Central PA
    • Cumberland Valley Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #3 on: October 31, 2010, 12:13:29 AM »
Same here. So I tried to recreate.

I just went into WD>View>Avg/Ext>Recreate the web avg/ext page. Reset the web page. mth 10/2010..
ftp'ed to my site. Doesn't display via menu. September 2010.displays, October doesn't. It does display this way:

http://maff.us/October2010.htm

WD v10.37 q-00
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline pamjay

  • Posts: 82
  • Nanaimo,Vancouver Island,BC. Canada
    • Nanaimo and VI University Area Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #4 on: October 31, 2010, 12:43:17 AM »
Well October was displaying  Oct 1st to the 28th ... then I updated to WD10.37 build 00  and I expected to see Oct 1st to Yesterday the
29th displayed but now nothing shows when I select submit...   I don't think this is normal unless the new version of WD delays updating
for longer than one day.

Offline pamjay

  • Posts: 82
  • Nanaimo,Vancouver Island,BC. Canada
    • Nanaimo and VI University Area Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #5 on: November 01, 2010, 10:59:04 PM »
Thanks for the input guys but I found the problem... Somehow the october2010.htm file became corrupted during the
update to the new WD version but was still updating okay but just not appearing on the website so I copy and pasted all data
from 28-31 Oct to the older backup of the file which had quit at 27October.. Uploaded to the website and it worked also put
a copy in webfiles dir... crossing my fingers that  I'll see 01November beginning tomorrow... :)

Offline Abbotsfordwx

  • Posts: 244
Re: OCT 2010 monthly/daily report missing on the website
« Reply #6 on: November 02, 2010, 01:27:32 AM »
Same issue here. Likewise, it happened when I upgraded to Version 10.37Q Build 00.

Recreating the file didn't work for me. I'll see what happens with November in a few hours.

Offline BigOkie

  • Posts: 623
  • Tulsa, OK
    • East Tulsa (Douglas)
Re: OCT 2010 monthly/daily report missing on the website
« Reply #7 on: November 02, 2010, 04:42:37 AM »
I'm noticing a difference in the file generated...on my end, anyway.

For September, at the end of each daily summary, there is this:

Quote
Click here for today's 24 hour graph  :1  :9  :2010

For October, that exists too, along with two new lines below it:

Quote
Click here for today's 24 hour graph  :1  :10  :2010
Click here for today's web cam image, Part 1  :1  :10  :2010
Click here for today's web cam image Part 2  :1  :10  :2010

I'm not sure if that will make any difference, but I see that as the only change between Sept and Oct.

Offline FrankP999

  • Posts: 1,131
  • Macon, Georgia USA
    • My Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #8 on: November 02, 2010, 07:02:10 AM »
Same issue here. Likewise, it happened when I upgraded to Version 10.37Q Build 00.

Recreating the file didn't work for me. I'll see what happens with November in a few hours.

Same issue here with October2010 and November2010. For some reason, wxhistory.php is not picking up these two months. They appear in the dropdown but nothing displays when one of these two is selected.

The files October2010.htm and November2020.htm are present on my server.
I am running version 10.37Q Build 01

Offline pinto

  • Posts: 766
  • Belgium
    • weather station Kampenhout
Re: OCT 2010 monthly/daily report missing on the website
« Reply #9 on: November 02, 2010, 09:01:24 AM »
In include-wxhistory.php (for me line 138)

change
Code: [Select]
if ( strpos ($value,"Daily report for ") !== false ) {with
Code: [Select]
if ( strpos ($value,"Daily report for ") OR strpos ($value,"Daily Report For ") !== false ) {

Offline FrankP999

  • Posts: 1,131
  • Macon, Georgia USA
    • My Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #10 on: November 02, 2010, 10:30:26 AM »
Pinto thanks ! That fixed it for me.

Frank

Offline dafuser

  • Posts: 564
  • Granbury, Texas
    • Weather from the shores of Lake Granbury
Re: OCT 2010 monthly/daily report missing on the website
« Reply #11 on: November 02, 2010, 07:33:19 PM »
In include-wxhistory.php (for me line 138)

change
Code: [Select]
if ( strpos ($value,"Daily report for ") !== false ) {with
Code: [Select]
if ( strpos ($value,"Daily report for ") OR strpos ($value,"Daily Report For ") !== false ) {
Thanks, fixed my problem too. Life is good!!
--
Thanks Les...
Microsoft Windows: Proof that P.T. Barnum was correct.

24 inch iMac 2.8GHz C2D, 4 GB Ram (OS X 10.7 Lion) Davis Vantage Vue

Offline Weather Display

  • Posts: 65,573
Re: OCT 2010 monthly/daily report missing on the website
« Reply #12 on: November 02, 2010, 08:28:20 PM »
I did not realise changing to captials of the first letter of the words would break a script....

Offline dafuser

  • Posts: 564
  • Granbury, Texas
    • Weather from the shores of Lake Granbury
Re: OCT 2010 monthly/daily report missing on the website
« Reply #13 on: November 02, 2010, 08:49:49 PM »
I did not realise changing to captials of the first letter of the words would break a script....
No worries, it was easy enough to fix. Those clever scripting guru's know all the tricks.
--
Thanks Les...
Microsoft Windows: Proof that P.T. Barnum was correct.

24 inch iMac 2.8GHz C2D, 4 GB Ram (OS X 10.7 Lion) Davis Vantage Vue

Offline saratogaWX

  • Posts: 4,672
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: OCT 2010 monthly/daily report missing on the website
« Reply #14 on: November 03, 2010, 01:21:02 AM »
Thanks Jozef!

I've updated include-wxhistory.php in the WD/AJAX/PHP templates .. I did use a slightly simpler code of
Code: [Select]
               if ( preg_match("|Daily report for |i",$value)) {
to handle the "Daily Report for " irrespective of case :)

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

 

cumulus