Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 08:41:41 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155553 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Install Google map module, XAMPP, no database update.  (Read 347 times)
Don

Offline Offline

Posts: 70


« on: October 03, 2011, 04:36:52 AM »

I am trying to install the Google Map module into version 2.8.  I am using XAMPP 1.74 as I am designing a new site.  All other modules so far have installed just fine.

The gmap modules (versions 0.14, 0.19b and 0.21) all appear to install normally from the back end.  However none place an entry into the database.  I have ALL PRIVILEGES in the wb database.  Subsequently I get a host of error messages when I use the gmap module in a page.

Can anyone please tell me why the install is not updating the wb database.

Thanks.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: October 03, 2011, 05:24:02 AM »

Hello,

gmap is an very old module and i think the installer isn't adapted to work with the PHP5 ans MySQL5 wich comes with XAMPP 1.7.4. especially when MySQL works in strict mode.

Matthias
Logged
marmot

Offline Offline

Posts: 209


« Reply #2 on: October 03, 2011, 10:50:10 PM »

Hi,
Can anyone please tell me why the install is not updating the wb database.
may not help much, but I'm using XAMPP 1.7.2 (PHP 5.3.0,  mysql 5.1.37) and 2 Tables are installed in DB. Only issue I got was an undefined variable "$markericondefinitions" on line 171 in functions.php. So for testing I would recommend not defining markers at the beginning.

Btw. did you recognize the link symbol in google maps, right above the map? This is not exactly similar to gmap module but helps for fast and easy providing maps on a site.

regards
Logged
Don

Offline Offline

Posts: 70


« Reply #3 on: October 04, 2011, 06:35:07 AM »

Thanks for your replies.  This is what I have done to try and get this module working for me using XAMPP.

Since my installation did not add tables to the database, I imported  the two Google map tables into the one in XAMPP from another on line site.  I cleared the data entries in mod_googlemap.

I had to open markerdefinitions.p hp and install-marker.php in my browser.

Eventually I saw a list of icons and the German language Marker Definition screen.

I did have this warning:

Undefined variable:  markericondefinitions in htdocs/wb/modules/gmap/functions.php</b> on line <b>171

fixed by adding $markericondefinitions = ""; in line 40

as suggested by ekle in July 2010 - topic,4186.msg124593.html

This resolved the warnings and error messages but I get no image on the page.  So I still have a way to go.  There must be a small tweak I have to do.

This module is so much nicer than using a link to the Google page marmot, and it works well on my other site.  This problem has to be Local host and XAMPP conflict.  I do have a Google API for Local host.

Thanks for your suggestions.

Don


EDIT
I started all over and ignored the warnings at the marker definition stage.  The map/satellite/hybrid and all the other bells and whistles worked fine.  I am sure this module will work once I get it on line - this is too much workaround with XAMPP.   But is is a very nice module

Good luck if anyone is going to pursue this module in the future.

Don
« Last Edit: October 04, 2011, 12:20:45 PM by Don » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!