I installed this module out of the box and recvied this: warning: Invalid argument supplied for foreach() in /home/addvice/public_html/online/modules/location/location.inc on line 1128.

Anyone know why, and can you offer some help.

Please and thanks.

Cheers,

Will

Comments

chicoman98’s picture

Hi Bill-

I had the same issue as you when I first installed location.inc. I was able to fix it by using the latest version of location.inc which you can find here:

http://trac.civicspacelabs.com/cgi-bin/trac.cgi/file/trunk/modules/locat...

chicoman98’s picture

Hi again Will (not Bill),

There were a couple of other steps I needed to perform before I got it to fully work.

Besides just the new location.inc file, you'll also need to copy over the new location.module file.
http://trac.civicspacelabs.com/cgi-bin/trac.cgi/file/trunk/modules/locat...

After you have the latest versions of both, you'll also need to run this script.

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/location/loca...

Hopefully it'll work for you! It took me a few hrs to get everything down but it's now working.

brmassa’s picture

Status: Active » Fixed

guys,

its fixed a long ago

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

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