Author Topic: Mid section out of wack, display issue  (Read 324 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 460
    • Penn Lake Weather
Mid section out of wack, display issue
« on: June 30, 2024, 01:55:22 PM »
So the easiest way for me to explain is to take a look at pennlake.us
Thanks for any help!

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9399
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Mid section out of wack, display issue
« Reply #1 on: June 30, 2024, 07:08:42 PM »
I think it's caused by having no data for $dateoflastrainalways = '---';  in testtags.php ..
so it causes the errata
Quote
Warning: Undefined array key 1 in /home/hogan2/pennlake.us/ajax-dashboard6.php on line 2974
Warning: Undefined array key 2 in /home/hogan2/pennlake.us/ajax-dashboard6.php on line 2977

Change ajax-dashboard6.php
Quote
#error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
error_reporting(E_ALL);
to
Quote
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
#error_reporting(E_ALL);
to squelch that error display.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 460
    • Penn Lake Weather
Re: Mid section out of wack, display issue
« Reply #2 on: July 01, 2024, 08:09:32 AM »
Thanks Kenn - Finally got around to making the correction and it works!!!

Again thanks!!

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 460
    • Penn Lake Weather
Re: Mid section out of wack, display issue
« Reply #3 on: July 02, 2024, 05:42:23 PM »
Ken do you think this has anything to do with my wd NOAa report not updating? I did make a post in the wd section but I am just wondering if this could be related?