Hi, when I try to configures default location i get this messages. (The same in new location)

Someone can help me to fix it,or give an advice about where can i search?

i have a 6.2 drupal installation. (The block with the default configuration Hamburg-Fuhlsbüttel is working)

* warning: Invalid argument supplied for foreach() in /var/www/ribeira/includes/common.inc on line 1489.
* warning: Invalid argument supplied for foreach() in /var/www/ribeira/includes/form.inc on line 1394.

Comments

picans’s picture

Category: support » bug
sciman’s picture

I have the exact same errors in trying to set any locations with my new version of drupal 6.2. I haven't a clue what it might mean, and couldn't define a primary location.

encho’s picture

Confirmed here as well. I have installed locations 6.3 module, but still same problem. I am wondering is weather module working on Drupal 6 at all?

toddy’s picture

Assigned: Unassigned » toddy
Status: Active » Postponed (maintainer needs more info)

Maybe the installation went wrong. Does the table "weather_icao" contain any data?

toddy’s picture

Status: Postponed (maintainer needs more info) » Fixed

This should be fixed with version 6.x-5.0. Please try it out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mxa055’s picture

Version: 6.x-2.0 » 6.x-5.11
Status: Closed (fixed) » Active

I have the exact same problem.
Tried both 6.x-5.11 and 6.x-5.dev, but none of them works. Insert statements fail during installation and table is empty.

sickhippie’s picture

You'll need to completely remove the module (including removing from db tables) and reinstall it. I had the same issue, and wiping it out completely before re-uploading it worked fine.

toddy’s picture

Status: Active » Closed (fixed)

This seems to work now, closing the issue.