Fork me on GitHub

weather module trouble  Bottom

  • Hi,
    Have tried loading the weather module, everything seems to be ok, except that when i add as weather block i get this error : Error! Sorry! Bad arguments passed to API function-5
    Help rectifying it would be really appreciated.]
    Thank you.
  • Hello,
    This error message means that the weather_userapi_getall function was called without either a city code or valid temperature and speed units
    So go to administration -> weather and checks that
    - you have at least a city package installed
    - that you have set a default city and units (you NEED to press the final button to save change)

    All this is explained in the included docs but many PostNuke users seems to think all modules don't have any docs. Miy modules always have a proper documentation.

    In the next version, even if you don't read the docs, the module is working as soon as it is activated, but you get the weather forecast of my city here in France icon_smile I hope this will reduce support a lot !

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • Hi,
    Well actually the problem lied on the version i used. Being on pn.762 the 1.33 version had some problem. once i upgraded to the 1.34 version its worked well except for the location where am trying to locate my cite :) else it works fine.
  • I am trying to get the 1.34 version with postnuke .762 but for some reason after reading the docs and following what you said above. I still have the same problem. When trying to Install city packages it gives me an error.

    Code

    Error updating information in database INSERT INTO nuke_wthr_city (nuke_wthr_city.accid, nuke_wthr_city.city_title, nuke_wthr_city.subdiv_id) VALUES ('ZIXX0011', 'Buffalo Range', '170')
    . How can i fix that?
    thanks in advance
    -James

    --
    -James


    My Work.....

This list is based on users active over the last 60 minutes.