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.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
weather module trouble
-
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
-
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
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
I hope this will reduce support a lot !
--
Visit my live reef aquarium.
My Amazon wish list. -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
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. -
- Rank: Softmore
- Registered: Sep 30, 2005
- Last visit: Oct 21, 2009
- Posts: 400
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.. How can i fix that?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')
thanks in advance
-James
--
-James
My Work.....
- Moderated by:
- Support
