Author Topic: NOAA Image of the day problems  (Read 1528 times)

0 Members and 1 Guest are viewing this topic.

Offline ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
NOAA Image of the day problems
« on: December 31, 2008, 03:54:00 PM »
Just moved my website (new name and still on E-Rice) and now the NOAA Image of the Day won't display.  I am using Ken True's resize script:

Fetch/resize/cache NOAA Image of the Day script

This script will use the HEAD request for the NOAA Image of the Day URL, and download, resize and cache the image if it is updated on the NOAA server. I use it in my NOAA Image of the Day page.
<img src="resize-NOAA-iod.php" alt="NOAA Image of the day" width="640" height="512" />

Here is the URL http://www.barrowcountyweather.com/wxnoaaimod.php

Any help is certainly appreciated.

Thanks!

Al...

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the day problems
« Reply #1 on: December 31, 2008, 04:10:27 PM »
Al,
The script uses two cache files
OSEIiod.jpg
OSEIiod-cache.jpg

Those files are on your site, but seem to have been last updated 'Last-Modified: Tue, 23 Dec 2008 14:18:10 GMT'

I suspect those files aren't writable by PHP .. try changing the permissions on both files to 666 so that PHP can write them.

It would be good to check out the other cache files used by your website to make sure they are writable also

forecast.txt
uv-forecast.txt


Best regards,
Ken
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 ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
Re: NOAA Image of the day problems
« Reply #2 on: January 01, 2009, 07:31:38 AM »
Ken,

Once again, thanks!  That was the issue! 

Happy New Year!

Al...


www.BarrowCountyWeather.com