Kathmandu is missing
Starminder - November 4, 2008 - 16:43
| Project: | Weather |
| Version: | 6.x-4.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | toddy |
| Status: | closed |
Jump to:
Description
Country and Place dropdowns are blank, and I get this error:
* warning: Invalid argument supplied for foreach() in /usr/home/hoslo/public_html/includes/common.inc on line 1503.
* warning: Invalid argument supplied for foreach() in /usr/home/hoslo/public_html/includes/form.inc on line 1417.

#1
This sounds like your installation is not complete. Does the table "weather_icao" contain any data?
#2
I just checked - 0 rows.
#3
Also, I updated to 5.x and ran update.php but am still in the same boat.
#4
Same with me in 5x too.
#5
Could you uninstall the module and reinstall again? That should solve your error, however, your custom settings for the module will be deleted.
#6
I just did a clean install. When I try to edit location or setup the default configuration, the country and Place drop down does not have any value. It gives me following error on the page.
warning: Invalid argument supplied for foreach() in /home/penepal/public_html/zdrupal/includes/common.inc on line 1499.
warning: Invalid argument supplied for foreach() in /home/penepal/public_html/zdrupal/includes/form.inc on line 1417.
#7
Did you uninstall (i.e. delete the module's tables) and install version 6.x-5.0 of the module?
#8
I deactivated, uninstalled, reinstalled, reactivated and now all is well - thanks.
#9
Removed
#10
I deleted the modules table and reinstalled it. Its working fine.
However, I did not find Kathmandu, Nepal listed in the list of locations. Is there any way we can add that location to the list. The ICAO for the airport location in Kathmandu is VNKT.
#11
Thanks for telling me, I'll add Kathmandu to the next release which is due in a few days.
Regards,
Tobias
#12
Committed to CVS
#13
Automatically closed -- issue fixed for two weeks with no activity.