OCT 2010 monthly/daily report missing on the website

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.

Is the link somehow wrong?
I found it easily if this is the page you mean.
http://www.nanaimoharewoodwx.com/wxweather/October2010.htm

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.

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

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.

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… :slight_smile:

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.

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:

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

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

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.

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

In include-wxhistory.php (for me line 138)

change

if ( strpos ($value,"Daily report for ") !== false ) {

with

if ( strpos ($value,"Daily report for ") OR strpos ($value,"Daily Report For ") !== false ) {

Pinto thanks ! That fixed it for me.

Frank

Thanks, fixed my problem too. Life is good!!

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 Jozef!

I’ve updated include-wxhistory.php in the WD/AJAX/PHP templates … I did use a slightly simpler code of

                if ( preg_match("|Daily report for |i",$value)) {

to handle the "Daily Report for " irrespective of case :slight_smile:

Best regards,
Ken

Thank you!!! I must’ve looked at that a least a half dozen times and never noticed it…good eye!

First, thank you Murry Conarroe for leading me to this post. Most appreciated.

Next, I remind those who might offer help here that I really don’t understand computers very well.

Now, I have downloaded the wxhistory.php file from my website and opened it in Notepad. However, I can’t find the script if ( strpos ($value,"Daily report for ") !== false ) to change it as suggested. I’ve searched on “strpos” and "($value,"Daily report for “)” and neither show up anything. I’ve also checked all the “$”.

And, yes, I suspect my problems set in when I updated to Build 00 – they certainly set in about that time anyway. I’m now on Build 02. Both the October2010.htm and November2010.htm files are on my website as they should be, but the reports don’t show up as with others above.

Where to, please guys?

Cheers,

Rick

You can download the updated include-wxhistory.php file appropriate to your template based on the attached.
Download the .txt file and rename to be include-wxhistory.php and upload to your site. The update does fix the issue :slight_smile:

Best regards,
Ken


include-wxhistory.php.txt (14.1 KB)

include-wxhistory-ML.php.txt (15.5 KB)

Yay, well done Ken :smiley: :smiley: :D. That solved it. Many thanks. Most appreciated.

However, there were two files attached to your post, not one as suggested by your words. I downloaded and renamed both and uploaded them to my website. I assume that was the correct thing to do?

Have a good day,

Rick

Ahhh… sorry for the confusion. There are two different versions of the include-wxhistory.php file.

In my post above, the one named ‘include-wxhistory.php.txt’ is for the English-only Canada, USA or World templates.

The ‘include-wxhistory-ML.php.txt’ is for the multilingual Canada-ML, World-ML templates only.

You only need to use ONE of the above based on whether your template is multilingual or not.