Author Topic: quake-UK.php: Undefined variable: doneHeader  (Read 1634 times)

0 Members and 1 Guest are viewing this topic.

Offline thoko

  • Member
  • *
  • Posts: 48
quake-UK.php: Undefined variable: doneHeader
« on: May 30, 2011, 12:56:00 PM »
When I load (or often first on reload) wxquakeuk.php I get this php-notice:


( ! ) Notice: Undefined variable: doneHeader in C:\wamp\www\wx3660\SWT\quake-UK.php on line 267
Call Stack
#   Time   Memory   Function   Location
1   0.0006   676936   {main}( )   ..\wxquakeUK.php:0
2   0.0516   1737688   include_once( 'C:\wamp\www\wx3660\SWT\quake-UK.php' )   ..\wxquakeUK.php:54

The warning has been there ever since day one version 3 was released.

Where in quake-UK.php should I insert the variable, and with which value?



Thoko
http://www.wx3660.dk/swt/wxquakeuk.php






Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: quake-UK.php: Undefined variable: doneHeader
« Reply #1 on: May 30, 2011, 02:08:37 PM »
Oops... I've fixed it.  Use http://saratoga-weather.org/wxtemplates/updates.php to get a new copy in Base-World.

Sorry...

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