[map module] Upgraded to G2.1 & 0.5e map - map broken

conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Tue, 2006-03-28 09:26

Hi,

I've just upgraded to G2.1 and 0.5e of the map module.

My map should be appearing at http://gallery.ildica.com/main.php?g2_view=map.ShowMap

However, all I get is a blank page with the text "NOO 1" on it.

Any help would be appreciated!

Many thanks,

Conor

Gallery version = 2.1 core 1.1.0
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix) Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_throttle/3.1.2 mod_ssl/2.8.22 OpenSSL/0.9.7d
Database = mysql 4.0.26, lock.system=flock
Toolkits = Exif, Gd, NetPBM
Acceleration = partial/3600, none
Operating system = FreeBSD unix11.hsphere.cc 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Aug i386
Default theme = matrix
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2006-03-28 11:48

Thanks to pvalsecc:

Quote:
I found a fix for this one. Find the following line in
the ShowMap.inc file:
if (isset($showGroups[$g2])) die("noo
1"); //unset($showGroups[$g2]);

And change it to:
if (isset($showGroups[$g2])) unset($showGroups[$g2]);

See you !
-------------------------
The Termite :-)

 
conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Tue, 2006-03-28 20:12

Hey thanks Termite,

Works a treat!

Now just to get my PGTheme working :-|

Thanks,

Conor

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2006-03-28 20:39

O boy ! PGTheme and Google Map API aren't friends because they overwrite each other function (same names) ...

I had a worksround for that which seemed to work but you never know :-)
-------------------------
The Termite :-)