GMap Addons create error

langweer - March 26, 2008 - 10:27

I am looking for a solution to display Google Maps with kml or gpx files as an overlay within nodes. The MyKML Filter works fine but creates an invalid header. So I want to try the GMap Module together with the GMap Addons.

But the moment I enable the GMap Addons I get this error:

Parse error: syntax error, unexpected '=', expecting ')' in /www/htdocs/w008ecbb/beusker_de/sites/all/modules/gmap_addons/gmap_overlays/gmap_overlays.module on line 14

I checked that file and I find this line:

<?php
...
function
gmap_overlays_gmap($op, &$map = NULL) {
...
?>

My knowledge about PHP is so little that I have no idea, what is going wrong here. Does someone have a clue? I know that GMap Addons are just an development snapshot but perhaps there may be an solution.

Kind regards – andreas

Still looking for solution to problem

sorenknudsen - February 7, 2009 - 15:03

...soren...

I get the same parse error ..Parse error: syntax error, unexpected '(', expecting ')' in /cms/modules/gmap/gmap_addons/gmap_tracks/gmap_tracks.module on line 12

What can I change in the gmap_tracks.module to get it right.

And btw - the parse error prevents my site from working properly - so a solution would be very appreciated.

best

strandvejr

 
 

Drupal is a registered trademark of Dries Buytaert.