Author Topic: Month Patch for WB v2  (Read 8924 times)

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Month Patch for WB v2
« Reply #15 on: December 30, 2012, 11:49:52 AM »
Hi Pete,

I've tried to see your site, but there is nothing on your link!  :o

... so I cannot suggest a solution! (but have you checked to "init" your monthly records?)

Happy new year!
Jacques
Please, consider supporting this site 

Offline Pete

  • Jr. Member
  • **
  • Posts: 24
    • Fordingbridge Weather
Re: Month Patch for WB v2
« Reply #16 on: December 30, 2012, 12:36:30 PM »
Jacques,

Apologies, please try http://www.fordingbridgeweather.co.uk/test_php/

Pete

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Month Patch for WB v2
« Reply #17 on: December 30, 2012, 04:14:29 PM »
Hi Pete,

I've look at your page and as I thinked, your data are not there!
Monthly records have something special, as they aren't automaticly created
You have to "choose" each and every month record with menu EDIT --> Monthly Records

See daitailed steps in that post (step #1): http://weatherbyyou.com/forum/index.php?topic=515.msg1731#msg1731

Regards,
Jacques
Please, consider supporting this site 

Offline Pete

  • Jr. Member
  • **
  • Posts: 24
    • Fordingbridge Weather
Re: Month Patch for WB v2
« Reply #18 on: December 30, 2012, 05:07:29 PM »
Hi Jacques,
Thanks for your prompt reply.
The monthly data is in Cumulus and is being successfully uploaded to my html site here http://www.fordingbridgeweather.co.uk.

Cumulus has processed and uploaded wt_data_inc.php and wt_month_inc.php to my test site and both have data in them. wt_month_inc.php has data from September when records began.
My test site is here http://www.fordingbridgeweather.co.uk/test_php

thismonth.php, thisyear.php, and records.php all have data - but not monthly.php :(

I have atttached the files and a screenshot of the errors when running on my local XAMPP server, if this might help.

.... and now I have just noticed my anemometer has siezed up!!  ::)

Kind regards ......... Pete

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Month Patch for WB v2
« Reply #19 on: December 30, 2012, 05:22:33 PM »
Hi Pete,
I see your files and you mixed things about "month"  ::)

You have data for THIS MONTH, but none for MONTHLY RECORDS!
Double check your records in Cumulus EDIT menu, you have two "month" item
- Monthly records
- This month's records

That is why you having errors like Month01TempH in your XAMPP
because your "Monthly Records" page is not initialized!!

You will see in that page that you have to choose records for Temp. Humidity, Rain, Wind...
For all months: January, Febuary, March, April.... a pretty long job... are you sure have do it??

Regards,
Jacques
Please, consider supporting this site 

Offline Pete

  • Jr. Member
  • **
  • Posts: 24
    • Fordingbridge Weather
Re: Month Patch for WB v2
« Reply #20 on: December 31, 2012, 03:54:53 AM »
Hi Jacques,
Thanks for your help.

Something to look at when I have a little more knowledge - perhaps! ;)


Kind regards ........... Pete