Weather information unavailable: No data  Début

  • I see the weather is working on your site but I get

    Citation

    Weather information unavailable: No data


    Since about 1 month ago, after using weather module for years successfully.

    Is anybody else having this problem ?
  • Yes - Mine is the same way on msnbc...is this site even still alive?
  • It happened with my site too. Weather.com changed their XML data feed license agreement. The details can be found in this zip file: http://download.weather.com/web/xoap/sdk.zipwhich includes the images they now say must be used as well as a .pdf file explaining the new agreement and how you must link to their site. It's going to take me a bit to get through it and at the end, I don't even know if I'm going to be able to get it to work.
  • Hello,
    weather.com has changed some details of the url to request weather, the link parameter is now requested.
    I doubt they really verify that you comply all terms of their licence agreement !!
    to make the weather work again on this website I just changed a line in modules/weather/pnuserapi.php
    change

    Code

    $weather_url ="http://xoap.weather.com/weather/local/$accid?cc=*&dayf=6&prod=xoap&par=$twcuserid&key=$twckey";


    to:

    Code

    $weather_url ="http://xoap.weather.com/weather/local/$accid?cc=*&dayf=6&prod=xoap&link=xoap&par=$twcuserid&key=$twckey";


    Of course to better comply with their agreement you should
    • change the logo to the new one
    • change weather icons to one of the set included in the sdk
    • no display latitude/longitude of locations (this is stated in red in the agreement)
    • ...

    But I don't have time to do that so as long as it works icon_lol
  • not goes a pity
  • Citation

    not goes a pity

    Sorry, don't forget english is not my native language, I am unable to undestand your message icon_eek
    If you have some problem to apply the fix or if it is not working for you tell it clearly and I will try to help you !
    As you can see on my website, the weather module is working , I have even managed to switch to new icon set, suppress latitude/longitude display, upgrade to new TWC logo ...
  • Hi vedrine,

    Nice work for weather modul 1.41, I thank you! Come to think of it The picture not work at weather block.

    greeting
  • Hello,
    To solve your picture problem
    Go to the weather module's administration
    Click on the "Change image directories" link
    Verify that both "Forecast images" and "Block images" are correctly set to directories names (the first one is used for the module's display and the second one for the block display). You can use the same directory for both if you want.
    Verify also that the file extension is correctly set (gif for old images and png for new ones)
    Click on Save changes button to validate changes.
    If everything is correct I don't understand why it is not working.
    If your website is online, maybe I can have a look at the html source of the pages to guess what is happening ?
  • Nice work brilliant support, when that Problem occurs easy "_WEATHER_ICONGIFEXT" regulating.

    That's it. icon_smile

    greeting from germany
  • I changed the code, reactivated the module and the block, gave it some time and there is still no block, nothing on the front end.
    In the admin section it gives the "no data" error.
    What did I miss?
    Thanks in advance,
    Flip



    edited by: ke4obt, May 13, 2008 - 12:07 PM

    Flip - KE4OBT
    P.S. As a blind user that is new to PHP and Postnuke, the super-simple, "dummies" version of help is appreciated.
  • You must the weather.com XML Partner ID & License Key to enter from the New weather PIN.

    That's it. icon_smile





    modifié par : Stefen, 13 Mai 2008 - 16:05
  • I already have the XML partner ID and License Key. And have agreed to the legal agreement.
    I put the ID and License Key into the proper places in the Weather module admin.
    What is the "new weather PIN"?
    Thanks,
    Flip

    Flip - KE4OBT
    P.S. As a blind user that is new to PHP and Postnuke, the super-simple, "dummies" version of help is appreciated.
  • 8 visiteurs

Données pour les 15 dernières minutes