Page 1 of 1

Weather Blues teemplate - History pages

Posted: Wed 16 Dec 2020 9:52 pm
by bigharps
Hi,
I am using the Weather Blues template, and the 'Monthly' history pages show nothing at all for each month.
'This Month' 'This Year' and 'All time' are correctlty populated.
Do you have any advice/suggestions? Thanks in advance.

https://www.kookaburranet.com/Weather1/ ... record.php

Re: Weather Blues teemplate - History pages

Posted: Wed 16 Dec 2020 10:54 pm
by PaulMy
I don't use the WeatherBlues template so can't help directly, but your monthly records seem ok in the Cumulus standard template https://www.kookaburranet.com/Weather/monthlyrecord.htm so Cumulus is working ok for that.

Just some thoughts;
Possibly an issue with the monthlyrecord.php file. Was it working? any changes made to monthlyrecord.php template file?
Do you have the original monthlyrecord.php template file you can copy in to your \web folder?

I notice in the monthlyrecord.php there is a

Code: Select all

include (wt_months_inc.php');
Is this file being uploaded?

Enjoy,
Paul

Re: Weather Blues teemplate - History pages

Posted: Thu 17 Dec 2020 3:33 am
by bigharps
PaulMy wrote: Wed 16 Dec 2020 10:54 pm
I notice in the monthlyrecord.php there is a

Code: Select all

include (wt_months_inc.php');
Is this file being uploaded?

Enjoy,
Paul
You spurred my brain into activity! I noticed immediately because I had been looking at the wt_month_inc.php file to see if the error was there.
The file which unzips from the weather_blues_v2_2b.zip file is wt_month_inc.php. Note the lack of the "S".
I edited that line in monthlyrecord.php to call for wt_month_inc.php, and HEY PRESTO! - all is well. One blasted letter! Checked the zip file and it has months not month.
At least I was awake enough to notice the problem after you pointed to it, and just in time for the test cricket, Australia V India to start at 1500 local. All is well with my world :D
Thanks

Re: Weather Blues teemplate - History pages

Posted: Thu 17 Dec 2020 3:47 am
by PaulMy
Hi, and glad it worked out for you.

Enjoy the game. I know nothing about cricket but know it is pretty important to some as our son now lives in Brisbane, QLD after he married a girl from Parkes, NSW.

Enjoy,
Paul