Author Topic: whos-online  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Offline ea1hmy

  • Contributor
  • ***
  • Posts: 120
    • meteotorrelavega
whos-online
« on: July 01, 2018, 06:58:02 AM »
Hello,
I can not get the map to appear

http://www.meteotorrelavega.com/saratoga/whos-online.php

any suggestions
thank you very much
emilio

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: whos-online
« Reply #1 on: July 01, 2018, 10:31:26 AM »
You may have updated your PHP lately.  The image with wo-worldmap is 'broken' due to a PHP error message
Quote
<br />
<b>Deprecated</b>:  The each() function is deprecated. This message will be suppressed on further calls in <b>/home/meteotorkc/www/saratoga/whos-online/wo-worldmap.php</b> on line <b>333</b><br />

In wo-worldmap.php (and maybe others) change
Code: [Select]
while (list($numl, $line) = each($lines)) {to
Code: [Select]
foreach ($lines as $numl => $line) {to fix the code.

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 ea1hmy

  • Contributor
  • ***
  • Posts: 120
    • meteotorrelavega
Re: whos-online
« Reply #2 on: July 01, 2018, 01:15:38 PM »
thank you very much
emilio :lol: =D&gt;

Offline droiddk

  • Forecaster
  • *****
  • Posts: 334
Re: whos-online
« Reply #3 on: July 12, 2018, 01:27:04 PM »