It seems that no matter what I do I cannot get the user location to be inserted into the location table. This has been quite frustrating.

It is possible that it is actually related to a problem with the tables in my test site, so if others can confirm that the current module does let users insert into their location table I would appreciate knowing (note this is the cvs version only, the 4.7 version which uses user_gmap.table works fine.)

Comments

ajwwong’s picture

Confirming problem with insertion of user location data into location database. I'm not sure if this is because of location module or gmap.

Strangely, the location shows up on the User Locations map, at least for a while... but it seems to disappear after a bit (cache cleared? dunno). Kinda bizarre.

ajwwong’s picture

Working now! :-) I don't know what happened. But it's storing in location module, somehow... I'll post here if this crops up again.

ajwwong’s picture

Bizarre... location information in location database got wiped out for one of my users somehow. Can't figure it out.

webgeer’s picture

I have figured out that it seems to be caused by location.module. If I disable location.module, this problem goes away. I haven't had time to figure out how to solve this.

ajwwong’s picture

Thanks for the reply! I wasn't sure if I was going crazy there or not :-) . Appreciate all your hard work on this *way* cool mod.

ajwwong’s picture

Hmmm... well, when I try to disable the location module, then I don't get any map/users User Location map.... (and no place to enter in the location information either :( , as far as I can tell...) Anyhow, I'll try to take a look into this too.... Thanks and take care. Albert

webgeer’s picture

Title: Problem with insertion into the database » Conflict with location.module
Priority: Normal » Critical

I have confirmed that this problem is due to a conflict with location.module. If you use location module and want to use the gmap users functionality you will have to disable user location on the adminsettings/location page until this is fixed.

I am hoping that setting the user locations will be moved entirely to the location.module to solve this problem.

ajwwong’s picture

Thanks for the update... Appreciate it... I guess in the meantime, I will have my users input their location data through the URL link below -- where they actually drop the marker onto their map:

user > edit > location map

(or http://www.ithou.org/user/$user->uid/edit/gmap_user/ )

That's the best (only?) way I can see right now to get their location information into the data base -- as long as location.module is disabled.

All the best, and thanks again. Albert

bdragon’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev
Status: Active » Fixed

The user locations conflict got fixed a bit ago. The problem was forgetting to check the current category.

Anonymous’s picture

Status: Fixed » Closed (fixed)