cloudy cloudy

Author Topic: Wxsim 3in1 Meteogram only showing three days.  (Read 2144 times)

0 Members and 1 Guest are viewing this topic.

Offline rh205

  • Posts: 184
  • Gosport, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 46.0.2490.86
    • Gosport Weather
Wxsim 3in1 Meteogram only showing three days.
« on: December 02, 2015, 05:20:09 PM »

I am having problems with the meteogram when using the wxsim 3in1 script. The problem is even though I have set wret to seven days and lastret.txt appears to show the full seven days the meteogram only displays three days. I have looked back at the files and just can't work out why it is not working.

The forecast page can be found at:
The test page is at:
The lastret.txt is at:

I have a couple of errors that repeat several times at the top of the page when error reporting is on and was wondering if this could be stopping the script processing the remainder of the days.

The errors are:

Warning: reset() expects parameter 1 to be array, null given in /home/gosportw/public_html/wxall.lastret.php on line 374
Warning: Invalid argument supplied for foreach() in /home/gosportw/public_html/wxall.lastret.php on line 375

I am unsure how to fix these and have turned error reporting off for the time being.

Any help would be greatly appreciated. If any more info or files are needed then I would be more than happy to provide these.

Thanks in advance,