Author Topic: help yahoo  (Read 170 times)

0 Members and 1 Guest are viewing this topic.

Offline ea1hmy

  • Senior Member
  • **
  • Posts: 88
    • meteotorrelavega
help yahoo
« on: August 02, 2017, 06:10:38 AM »
Could you tell me the reason for this error

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/meteotorrelavega.com/httpdocs/weather28/forecasts/yahooForecast2.php on line 55

line 55......foreach ($yahooArray['forecast'] as $arr) {


http://www.meteotorrelavega.com/weather28/index.php?p=yahooForecast2&lang=es#data-area
Thank you
emilio

Online wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1117
    • Support site Leuven Template and scripts
Re: help yahoo
« Reply #1 on: August 02, 2017, 07:17:04 AM »
Problem:  Yahoo script returns no current conditions nor a 10 day forecasts
Cause:   Yahoo changed to https a few weeks ago

You can download the new script from the support site since  => 2017-07-26
https://support.leuven-template.eu/problems28.php?lang=en   

Wim

P.S.  It would be extremely helpful to mention "Leuven" when you post a question.
Or  post the question in a "Leuven-scripts"  or "Leuven-template" topic.
I have to check multiple forums in multiple languages, and just by accident I saw your post.
« Last Edit: August 02, 2017, 08:13:58 AM by wvdkuil »
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline ea1hmy

  • Senior Member
  • **
  • Posts: 88
    • meteotorrelavega
Re: help yahoo
« Reply #2 on: August 02, 2017, 08:02:20 AM »
Thank you
emilio