• Resolved Mr Press

    (@tahrirsquare)


    I keep getting this error message when trying to use Weatherbug.

    Failure notice from provider:
    XML Fehler: Not well-formed (invalid token) in Zeile 1 (Access Denied)

    I cannot find any Weatherbug “Partner ID” after having registered, only two API keys: WeatherBug REST XML API key and WeatherBug GEO Basic API key.

    Thank you for great plugin nevertheless. Accuweather works excellent, but is it really ok to use their api without paying?

    https://www.ads-software.com/plugins/wp-forecast/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Mr Press

    (@tahrirsquare)

    I managed to work this out. The link I found in a comment on your home page Tuxlog.

    I also experience what I believe is a bug in the Weatherbug forecast. The date shown is one day later than it’s supposed. Instead of saying 3 november (tomorrow’s forecast) it says 4 november – but displays the forecast for tomorrow (which it of course should).

    So to get the correct value i had to substract one full day on line 384 in func_bug.php:

    $weather_arr['fc_obsdate_'.$i]= date_i18n($fc_date_format, $bt + ( $i * 3600 *24) - (3600 *24));

    Now it works as it should.

    Plugin Author tuxlog

    (@tuxlog)

    Hello Mr Press,

    thanks for your hints. I will check the WeatherBug stuff.
    As far as I know accuweahter is free for non commercial use and if you stay in some limits in their terms of use. Thats why I always recommend check the terms of use of your weather data provider. ??

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Failure notice from provider: XML Fehler: Not well-formed (invalid token)’ is closed to new replies.