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.
Comments
Comment #1
toddy commentedThis sounds like your installation is not complete. Does the table "weather_icao" contain any data?
Comment #2
Starminder commentedI just checked - 0 rows.
Comment #3
Starminder commentedAlso, I updated to 5.x and ran update.php but am still in the same boat.
Comment #4
sarmiluv commentedSame with me in 5x too.
Comment #5
toddy commentedCould you uninstall the module and reinstall again? That should solve your error, however, your custom settings for the module will be deleted.
Comment #6
sarmiluv commentedI 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.
Comment #7
toddy commentedDid you uninstall (i.e. delete the module's tables) and install version 6.x-5.0 of the module?
Comment #8
Starminder commentedI deactivated, uninstalled, reinstalled, reactivated and now all is well - thanks.
Comment #9
sarmiluv commentedRemoved
Comment #10
sarmiluv commentedI 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.
Comment #11
toddy commentedThanks for telling me, I'll add Kathmandu to the next release which is due in a few days.
Regards,
Tobias
Comment #12
toddy commentedCommitted to CVS