Closed (cannot reproduce)
Project:
Get Directions
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2011 at 14:33 UTC
Updated:
21 Feb 2012 at 18:54 UTC
I installed the Get_Direction module on a multi-site server.
No problem for the 1st site. I can display directions on a map and so on.
2nd and 3rd don't want to display the map. The only displayed thing is the title of the targeted node containing a location information. No map is displayed.
Comments
Comment #1
hutch commentedAll my sites are on multisite and I've not seen this problem, I can only suggest that you ensure that each site has been configured
Also, look at the source html of the site that does work and compare with the site(s) that don't, presumably something is not loading, probably googlemaps
If you are using google API v2 you will need a key for each domain
Comment #2
webmestre commentedHello and thanks for helping.
I'm surprised that the working website correctly displaying the Gmap with directions doesn't display the Gmap key. Impossible to find the key into the html code. In relation with the use of the Gmap v.3 API ?
Comment #3
hutch commentedGoogle maps v.3 API does not require a key, so if you are using Getdirections with v3 there will be no key.
If you are using something like
/getdirections/location/to/nwhere n is a node id and no map is displayed then no location was found for that node
Have a look at location and location_instance tables with phpmyadmin
Comment #4
webmestre commented/getdirections/location/to/35 works on the 1st website
/getdirections/location/to/41 DOESN'T work ont the 2nd with a 41 node with a location information
Both are working under Gmap V3
I checked all setting on GetDirection, Gmap, Location... modules and all are the same.
Comment #5
webmestre commentedThanks to phpmyadmin, I saw that working and NON working site : location table : OK / location_instance : empty
Comment #6
hutch commentedThe location_instance table is what links a location (lid) to nodes (nid/vid) or users (uid)
Comment #7
webmestre commentedOn a 4th website, the GetDirections module works perfectly. All settings are the same on 4 websites. They are all on the same multi-sites installation (2 working / 2 not working).
I'm wondering if there would not be a conflict between installed modules...
Comment #8
hutch commented