Odd problem with location block and IE7 and Firefox
MarkBell - March 24, 2007 - 15:55
| Project: | GMap Module |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I was having a problem using the location block in Internet explorer 7 - it would show the gmap correctly but would not show the marker. There would be a javascript error 'Access denied'. This did not happen in Firefox, the marker showed up correctly.
I altered my settings.php file and changed the base URL - from http://sitename to http://www.sitename. This works perfectly for IE - the marker now shows up correctly. But - now the marker does not appear in Firefox.
Has anyone got any suggestions how to get this working in both IE and Firefox?
regards,
Mark

#1
Further information:
I have solved this temporarily by commenting out the base URL in the settings.php file, but still would like a solution because setting base URL is one of the fixes suggested to fix login problems.
regards,
Mark
#2
I would be interested in the solution to this as well. I see this same behaviour in Opera, Konqueror and Internet Explorer. Firebird and Seamonkey work fine regardless of the "www" prefix.
mlle yotnottin
#3
Bizarrely I have the exact opposite problem, and with just one site - not the other on my dev box.
I find IE7 works perfectly, and can even autozoom on the marker. On Firefox the map centres in the right position but displays no marker (apparently regardless of turning on and off features such as autozoom) and will not autozoom, instead sticking to the default zoom given in the block settings.
Strangely, however, when editing a node the gmap that comes up will display the marker perfectly in firefox. I'm using the latest release - and the same code as on my other site where the markers display. Any ideas?
#4
I'm assuming it's the same problem that my commit for http://drupal.org/node/197012 fixed.