Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

sunplot.php and datasummaryReadDaySQL.php

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
UncleBuck
Posts: 43
Joined: Sat 29 Dec 2012 10:27 pm
Weather Station: Davis VP2+
Operating System: MAC Mini - OSX El Capitan
Location: Victoria, Australia

sunplot.php and datasummaryReadDaySQL.php

Post by UncleBuck »

I guess these are questions mainly for @mcrossley as the files originally were supplied by him.

I keep getting errors from these two files but I have so far been unable to work out the cause.

In sunplot.php I get these errors:

Code: Select all

[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice:  Undefined offset: 278 in /home/user_dir/public_html/weather/images/sunplot.php on line 321
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice:  Undefined offset: 278 in /home/user_dir/public_html/weather/images/sunplot.php on line 322
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice:  Undefined offset: 0 in /home/user_dir/public_html/weather/images/sunplot.php on line 324
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice:  Undefined offset: 1 in /home/user_dir/public_html/weather/images/sunplot.php on line 324
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice:  Undefined offset: 0 in /home/user_dir/public_html/weather/images/sunplot.php on line 325
[16-Dec-2019 23:58:23 Australia/Melbourne] PHP Notice:  Undefined offset: 1 in /home/user_dir/public_html/weather/images/sunplot.php on line 325
and in datasummaryReadDaySQL.php I get these errors:

Code: Select all

[17-Dec-2019 07:54:33 Australia/Melbourne] PHP Notice:  Undefined offset: 2020 in /home/user_dir/public_html/weather/datasummary/datasummaryReadDaySQL.php on line 914
[17-Dec-2019 07:54:33 Australia/Melbourne] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /home/user_dir/public_html/weather/datasummary/datasummaryReadDaySQL.php on line 914
If anyone has any ideas, please let me know.
UncleBuck
Posts: 43
Joined: Sat 29 Dec 2012 10:27 pm
Weather Station: Davis VP2+
Operating System: MAC Mini - OSX El Capitan
Location: Victoria, Australia

Re: sunplot.php and datasummaryReadDaySQL.php

Post by UncleBuck »

Have managed to fix the datasummaryReadDaySQL.php issue by grabbing a fresh copy of that file from Marks' website and modifying it to reflect my website setup.
I had to comment out quite a bit of code to do with "Solar Insulation" as I don't even know what that is. Mark, could you advise me as to what that is?

I still have the problem with subplot.php as I have not found the cause (possibly something to do with southern hemisphere?).
Post Reply