Active
Project:
GMap Module
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2011 at 00:59 UTC
Updated:
16 Nov 2011 at 20:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
js commentedsubscribe. same issue. Thanks, Jerry
Comment #2
Anonymous (not verified) commentedSubscribe. This happened on a clean install.
Comment #3
juc1 commentedPlease ignore my tinyurl link above as it is now out of date for this thread and this forum does not allow me to edit my post.
Comment #4
mosdave commentedEnabling the "Node Locations" module fixed this problem for me.
Comment #5
Wuk commentedSame error here, except line is 697 not 698 using latest dev release.
Enabling the Node Locations module did fixed problem. What I would like is to have GMap Location module working using only Location CCK module without enabling Node Locations module.
Is there something I can do to have that kind of functionality?
Comment #6
boiky commentedAlso have line 697...
Comment #7
seattlehimay commentedSubscribing.
Comment #8
jaymcgraw commentedsubscribe
Comment #9
djmy commentedsame issue, subscribing
Comment #10
woop_light commentedExact same issue as #5. Subscribing.
Comment #11
hutch commentedThis is not an error but a Notice, what it means is that $node->locations has not been defined so the code contained in the if statement will not be run. The notice will not prevent the code from working.
The attached patch should fix it, not tested.
Comment #12
tom_o_t commentedThe problem is as Wuk described in #5 - the Location Map block does not support the Location CCK module, it only supports locations added to nodes with the Node Location module. This should be documented somewhere, at the very least in the block configuration page at admin/structure/block/manage/gmap_location/0/configure
Suppressing the error as suggested in #11 doesn't really fix anything unfortunately, it just hides the problem. $locations is not defined for the node when Location CCK is used.
I believe the workaround would be to create a block using Views and GMap.
Comment #13
calculus commentedsub