I've tried to install Gmap on my dev server a few times and received errors. I installed the 1.x version it and it still gave me the same errors so maybe it's specific to my installation. I received the following errors right after trying to install the module;

Warning: parse_ini_file() has been disabled for security reasons in _gmap_get_icondata()
(line 39 of /sites/all/modules/gmap/gmap_markerinfo.inc).

Warning: Invalid argument supplied for foreach() in _gmap_get_icondata()
(line 56 of /sites/all/modules/gmap/gmap_markerinfo.inc).

Warning: Invalid argument supplied for foreach() in _gmap_get_icondata()
(line 108 of /sites/all/modules/gmap/gmap_markerinfo.inc).

Warning: Invalid argument supplied for foreach() in _gmap_get_icondata()
(line 136 of /sites/all/modules/gmap/gmap_markerinfo.inc).

Warning: parse_ini_file() has been disabled for security reasons in _gmap_get_marker_titles()
(line 228 of /sites/all/modules/gmap/gmap_markerinfo.inc).

Warning: Invalid argument supplied for foreach() in _gmap_get_marker_titles()
(line 233 of /sites/all/modules/gmap/gmap_markerinfo.inc).

Warning: Invalid argument supplied for foreach() in _gmap_get_marker_titles()
(line 245 of /sites/all/modules/gmap/gmap_markerinfo.inc).

http://i49.tinypic.com/2mnkqci.png Here is a screenshot of the list of errors as is...

I did some searching on the net for similar issues and the only one I could find was related to registered globals but i have that turned off. I have a feeling this might be due to some permissions on the folders, or a server setting. Unless anyone else can verify this error on their own installation.

Also, since i've been doing tons of map testing. I had openlayers installed before but it has since been removed prior to starting testing with gmap.

Comments

Digital Fire’s picture

Issue summary: View changes

Added to statement

RedJane’s picture

Did you already solved it... I have the same errors... still trying to solve it.
edit: solved :-/

yaelsho’s picture

Hello,
May you share how you solved it?
Thanks, Yael

yaelsho’s picture

Issue summary: View changes

Removed information on the file locations for security purposes.

mfhussain’s picture

Hi How was this solved... I am getting the same error/warning for getlocation markers. Appreciate any help.

Digital Fire’s picture

I resolved this issue by completely changing my store location process. I don't use Gmaps anymore as it was too much of a pain to get it to work.

Use; https://www.drupal.org/project/google_store_locator using the https://code.google.com/p/storelocator/ API. It is fairly str8 forward and really easy to setup.

mfhussain’s picture

Thanks. I use getlocations map, and had to enable parse_ini_file() in php to resolve.