Aller à la page: 1 - 2 [+1]

Fin
Weather information unavailable: No data
  • Envoyé: 06.05.2007, 01:40
     
    pnDev
    enregistré depuis:
     mai 2006
    Status:
    hors ligne
    dernière visite:
    05.05.07
    Messages:
    1
    I see the weather is working on your site but I get

    CitationWeather information unavailable: No data


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

    Is anybody else having this problem ?
  • Envoyé: 05.12.2007, 18:36
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    Yes - Mine is the same way on msnbc...is this site even still alive?
  • Envoyé: 09.05.2008, 21:16
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    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...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.
  • Envoyé: 09.05.2008, 22:44
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    12.05.08
    Messages:
    257
    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
  • Envoyé: 10.05.2008, 11:39
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    not goes a pity
  • Envoyé: 10.05.2008, 12:02
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    12.05.08
    Messages:
    257
    Citationnot 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 ...
  • Envoyé: 10.05.2008, 15:10
       
    Stefen
    enregistré depuis:
     mai 2008
    Status:
    hors ligne
    dernière visite:
    13.05.08
    Messages:
    3
    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
  • Envoyé: 10.05.2008, 15:23
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    12.05.08
    Messages:
    257
    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 ?
  • Envoyé: 10.05.2008, 15:49
       
    Stefen
    enregistré depuis:
     mai 2008
    Status:
    hors ligne
    dernière visite:
    13.05.08
    Messages:
    3
    Nice work brilliant support, when that Problem occurs easy "_WEATHER_ICONGIFEXT" regulating.

    That's it. icon_smile

    greeting from germany
  • Envoyé: 13.05.2008, 17:07
       
    ke4obt
    enregistré depuis:
     mai 2008
    Status:
    hors ligne
    dernière visite:
    13.05.08
    Messages:
    4
    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.

Aller à la page: 1 - 2 [+1]

Réponse rapide
 
  • Options
Code:
Couleur de la police:  
Taille de la police: