After upgrading to Drupal 6, I got the following message:
GMap marker file settings are not configured properly for Private download method, markers will not work!
I think GMap is well installed. I tried different location for gmap_marker.js (now it is there: sites/default/misc/js/gmap_marker.js) and no improvement. The begining of the file is:
// GMap marker image data.
Drupal.gmap.iconpath = "/sites/default/modules/gmap/markers";
Drupal.gmap.icondata = { "/small/": { "f": [ "shadow.png", "red.png", "bred.png", "orange.png", "pyellow.png", "yellow.png", "pgreen.png", "green.png", "dgreen.png",
Could that be again due to some multilingual modules?
I'm lost.
Comments
Comment #1
rondev commentedTitle renamed
Comment #2
rondev commentedI just reinstalled the Gmap module with the Devel module and it works now.
Previously, before the reinstallation, there were still missing the line like the following in the source code of the page:
<script type="text/javascript" src="/files/gmap-js/gmap_markers.js?m"></script>Now that line appears on every page where there is a map to display. Perhaps it is because the upgrade was bad or because I missed something in the long list of parameters, I don't know.
Comment #3
nravens commentedReopened this...
I also get this message: GMap marker file settings are not configured properly for Private download method, markers will not work!
I only got this message after I changed the file download settings from public to private. I only changed this setting because imagecache doesn't work with it set to public.
I've tried Gmap 6.x-1.1-rc1 as well as 6.x-1.x-dev. I'm using Drupal 6.6
Is there a work around for this?
Comment #4
bdragon commentedYes, you need to copy gmap_markers.js to a publicly accessible location and update the gmap settings to point to it.
Comment #5
nravens commentedI've tried that with no luck...
The only reason I have my file system set to private is for imagecache to work. So if I can get imagecache to work with a public file system (which is how it's meant to work, isn't?), then my markers will work too.
Comment #6
jmseigneur commentedHello,
There is a typo in the instruction for the filename. The instruction mentions gmap_markers.js but the right filename is gmap_marker.js
When I set the path to gmap_marker.js with s after marker it worked
BR,
Jm
Comment #7
nravens commentedThanks for pointing that out.... I had a file name mismatch in the path... It was such a simple thing.
Comment #8
ron collins commentedI am also having this problem. I put the markers file at sites/all/modules/gmap/markers/gmap_marker.js which i can browse to. no markers show up on my maps. neither the default maps nor the views i created show any markers. i've tried user, node and location types. i can see the geocodes in the locations table for my users and nodes. i'm logged in with uid = 1. any ideas where i should look next?
Comment #9
nravens commentedthe path i'm using is files/js/gmap_markers.js and it's working... and file permissions set to 777.
Comment #10
agileware commentedAlso, you don't actually have to move the js file from the module folder.
If you just update the gmap settings to point to wherever-you-have-the-module/gmap/js/gmap_marker.js it should work. Worked for me.
Comment #11
fourstone commentedHello,
I got over the gmap_markers.js issue and nothing complains anymore, however I am getting maps without markers anyway, even though centered correctly when looking at e.g. nodes with location information. Also the link to the extern gmap is working correctly, only the internal map is not showing a marker. Any idea?
using drupal 6.12 with the GMap Module 6.x-1.1-rc1 with option of private filesystem access:
files: /www/htdocs/w00af362/fourstone.org.files/
drupal-root: /www/htdocs/w00af362/fourstone.org/
markers file: /www/htdocs/w00af362/fourstone.org/sites/default/files/js/gmap_markers.js
If you need anymore information, please notify me. Should I give the dev version a try? However I had the impression this issue was considered fixed?
kind regards, Martin
Comment #12
ashiwebi commentedThanks for all the suggestion under this issues but still I am not able to configure it properly.
It shows the same error "GMap marker file settings are not configured properly for Private download method, markers will not work!"
I copy the file to sites/default/misc location.It still shows the same error.
I need the solution as soon as possible.
Any help is appreciated.
Comment #13
danoguru commentedI was experiencing the same problem when private download method enabled and it works now!
I am using Drupal 6.12 and GMap Module 6.x-1.1-rc1
in your GMAP settings: http://www.example.com/admin/settings/gmap go to the field "Path to gmap_markers.js" and set the path as you like but I followed the example and copied the gmap_marker.js to "sites/default/misc/gmap_marker.js" directory. Under this field you have a help message explaining what to do if you have private downloads enabled, only there is a typo!!! the file is named "gmap_marker.js" NOT "gmap_markers.js".
This typo stole 30 minutes of my time :( so I created an issue for gmap module.
Comment #14
Anonymous (not verified) commentedTo danoguru:
NO! gmap_markers.js and gmap_marker.js - is absolutely different files. And there is no typo. File gmap_markers.js appears in js folder in FILE directory (admin/settings/file-system). Specify "js/gmap_markers.js" in Gmap settings as path to gmap_markers.js. As I understood, Gmap serches this in file directory if private method is specified. I works fine even if files directory specified outside the drupal folder.
Comment #15
Gabriele 72 commentedCreate folder external to drupal(not in site/all site/misc site/* etc etc :EXTERNAL FOLDER FROM ALL FOLDERS OF DRUPAL) i have created in root example folder ----> /gmappola
I have put gmappola/gmap_markers.js in path setting (you find in http://yourdomain/admin/settings/gmap)and thats all :)
PS danoguru,gmap_markers.js and gmap_marker.js - is absolutely different files,kirbaranov have reason.
Ciao
Gabriele
Comment #16
merilainen commentedI got this message also after changing from public to private download method. I tried everything like moving the file to another directory etc. but I noticed that it works also from files/js folder. The problem is that when I get this error message, the file has just disappeared from files/js! Then without changing any settings or doing anything special, the file suddenly appears in that folder. Maybe due to cron run or something.
I don't know what is causing this, but last time when I got this error, I checked the files/js folder and it was empty, like I had noticed before. Then I just pressed the "Regenerate" button in gmap settings and the file comes back to the files/js folder. But I still don't know why it disappears from there.
Comment #17
so4 commentedworked for me.
Comment #18
RoiDanton commentedI can't get the markers to work.
My drupal installation path is /var/www/html/portal
I put the gmap_markers.js in /var/www/html/js/gmap_markers.js
I pressed the regenerate button and accessed the map but no markers.
In the log I got a page not found error. It tries to access http://DOMAINNAME/portal//var/www/html/js/gmap_markers.js?M
I entered in the gmap config ../js/gmap_markers.js
Can someone please help me whats wrong?
Thanks!
Comment #19
izmeez commentedsubscribing to bookmark this useful info. Thanks.
Comment #20
rooby commentedOK here goes, I shall try to clear this up:
NOTE: DO NOT put the path to the gmap_marker.js file in the 'Path to gmap_markers.js' field. This is what causes no markers to display on maps, which is what some people are reporting.
Comment #21
szalonooki commentedfew tries and it's working, but, in my case, the path should be start without '/'
thanks
Comment #22
jghyde commented#20 Solves this problem. Excellent! Thanks.
Joe
Comment #23
rooby commentedMarking fixed.
Comment #25
dineshweb commentedthanxs
all of them
yes, you need to copy the file gmap_marker.js the accessible location such as (sites/default/mics/gmap_markers.js) and rename it with gmap_markers.js and after that go to the gmap settings and click the regnerate marker button.after that you have successful access the marker on the map.i also do it..its a right way really...
Comment #26
guillaumeg2 commentedHi !
I don't find the field 'Path to gmap_markers.js' in gmap settings screen (admin/settings/gmap)
Help !
Guillaume
Comment #27
Jettzilla commentedOkay dudes, I've done all of this stuff and more (even changing back to public instead of private file download--that didn't even work) to get my markers to show up. I've changed code, changed the location of the js file a billion times and NOTHING is working for me.
Can anyone get these stupid markers to show up??? I just want a way for people to see where i'm traveling to and from and i can't do that without markers of some kind :(
My site is http://jettzilla.com
I also don't have the map public or anything...i want it in a block but i don't yet have it there...ugh. i wish i understood this better!!
Comment #28
richard.e.morton commentedfollowing on from comment #20
get the gmap_markers.js file from js subdirectory of your files directory and move it to an accessible location - the http root is almost always going to work,
change the path (if you have used the root, then it would simply be gmap_markers.js), then save the settings - button at bottom of page, then use the regenerate button after this.
Comment #29
stevensunsunsun commentedThanks! Didn't spot that typo until you mentioned it!
Comment #30
grjgrj commentedI'm looking to ftp to my site found the file gmap_markers.js. (I have it at sites / default / files / js / gmap_markers.js). Have been eaten in the gmap module in the Path to gmap_markers.js:. Then save. Then he pressed a button Regenerate. Everything was fine.
Comment #31
brad.curnow commented#20 Thanks for clearing this up, solved my issue :)
Comment #32
kuydigital commentedI've checked the directory locations of my
gmap.markers.js(/sites/default/files/js) andgmap_marker.js(/sites/all/modules/gmap/js) and my map is still not showing markers. I'm using GMap 6.x-2.0-beta3 & Location 6.x-3.2. Thanks!