Author Topic: NOAA Image of the Day Script Doesn't Work  (Read 956 times)

0 Members and 1 Guest are viewing this topic.

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2432
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
NOAA Image of the Day Script Doesn't Work
« on: July 05, 2017, 02:18:18 AM »

Fatal error: Call to undefined function exif_imagetype() in /home/stillwat/public_html/get-nnvl-iod.php on line 257

http://stillwaterweather.com/iod.php

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day Script Doesn't Work
« Reply #1 on: July 05, 2017, 01:36:43 PM »
The exif functions are supposed to be enabled in PHP .. ask your hoster to enable them, then the script should work correctly.
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 mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: NOAA Image of the Day Script Doesn't Work
« Reply #2 on: July 06, 2017, 07:46:12 AM »
It was working for along time and now i get this...


Notice: Undefined offset: 0 in /home/mkutche/public_html/get-nnvl-iod.php on line 205

Notice: Undefined offset: 0 in /home/mkutche/public_html/get-nnvl-iod.php on line 206

Notice: Undefined offset: 1 in /home/mkutche/public_html/get-nnvl-iod.php on line 208

Notice: Undefined offset: 2 in /home/mkutche/public_html/get-nnvl-iod.php on line 210

Notice: Undefined offset: 0 in /home/mkutche/public_html/get-nnvl-iod.php on line 217

Notice: Undefined variable: IODimageURL in /home/mkutche/public_html/get-nnvl-iod.php on line 233

Notice: Undefined variable: IODimageURL in /home/mkutche/public_html/get-nnvl-iod.php on line 237
Sorry... today's image is a movie or animated .gif file and cannot be reformatted to show here. Please visit the NNVL site to view it.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day Script Doesn't Work
« Reply #3 on: July 06, 2017, 11:24:31 AM »
Looks like you're about 3 versions back on get-nnvl-iod.php -- you have V1.17 and the current version is 2.02

Quote
<!-- get-nnvl-iod.php V1.17 - 20-Nov-2016 -->
<!-- cache ./cache/IOD-page-cache.txt is stale.. reloading -->
<!-- GET /imageoftheday.php HTTP/1.1  -->
<!--       Host: www.nnvl.noaa.gov  -->
<!-- Problem fetching http://www.nnvl.noaa.gov/imageoftheday.php with RC=302 Found , html length=227 -->
<!-- Headers returned are: -->
<!-- <pre> -->
<!-- HTTP/1.1 302 Found
 -->
<!-- Date: Thu, 06 Jul 2017 15:17:28 GMT
 -->
<!-- Server: Apache
 -->
<!-- Location: https://www.nnvl.noaa.gov/imageoftheday.php
 -->
<!-- Content-Length: 227
 -->
<!-- Connection: close
 -->
<!-- Content-Type: text/html; charset=iso-8859-1 -->
<!-- </pre> -->
<!-- cache not saved. -->

Download from http://saratoga-weather.org/get-nnvl-iod.php?sce=view for the current release.

Also, it seems that the template maint utility is not available on your site.  I suggest you download
https://saratoga-weather.org/wxtemplates/Test/check-fetch-times.php?sce=view and upload to your site.
Then you can run check-fetch-times.php?show=versions on your site to see the status of all the core scripts and get a helpful link/instructions to get an update with all the needed files included.
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