Google Maps plugin does not show anything

Hallo!

I was using the 1.2.2 Version of Zenphoto with the google maps plugin and everything really worked fine.
Now I updated my system to version 1.2.3 [3477] (Official Build) and the google maps plugin doesn't show anything now.
I did the geotagging with the software Geotagger.

So my question is if I normally would have to see the Google Maps Link when I am using the default theme of my version and the google maps plugin is activated.

My standard installation you can find here:
http://www.rdmag.de/rdmaggalerie/index.php?album=festivals/woa_08/donnerstag/teil1

Thanks a lot for your help!

Best!

martin

Comments

  • There was a mistaken change in the 1.2.3 release that changed the parameter list for the Google Maps functions. This has since been corrected. Normally I would tell you to use the nightly build, but the 1.2.4 release should be available shortly, so you should probably wait for it.
  • Thank you so much!
    In this case I will wait for the 1.2.4 release!

    Best!

    martin
  • I just found my mistake:
    After the last update I did the API key from google was gone!
    So If anybody has the same problem just hzave a look after your key and if necessary put it into the system again!

    Thx a lot!

    martin
  • Hi My Zenphoto is 1.26
    I have correct google api key and settings in settings plugins.
    I wolud like to have googlemap in image page. I see the map but it's eampty :(
    I have correct cordinates in exif of image :(
    My code in image page is:
    `<?php printImageMap( 100, NULL, null, null, NULL, true, "googlemap", NULL, NULL, NULL, NULL, NULL, NULL,null );?>`
    What I am doinf wrong ?
  • Do Googlemaps work from a standard theme?
  • No does not working :( I have the same problem on default theme.
    Please look at:
    http://fotostacja.pl/galeria/Fotografia_Przyrodnicza/paz_krolowej_2.jpg.php
  • I have same problem since upgrading to 1.2.6. Map window opens but remains blank. I've checked API key and it's working with other non-zen pages on the domain.
    Have tried with default theme and unmodified effervescence+ - same problem. In fact I'll leave the site with default theme. Sample image here http://www.digitalpics.me.uk/zenphoto/Mozambique/Camping/09603.jpg.
    Code in default theme image.php is <?php if (function_exists('printImageMap')) printImageMap(); ?>
    Line 15 of plugins/google_maps.php says $plugin_version = '1.2.6';
  • acrylian Administrator, Developer
    If possible please try also the nightly build. There has been one change with this plugin after 1.2.6 regarding the Google maps API 2 or similar.
  • Probably your problem is related to a change on Google. Their API changed and made Googlemaps no longer work. We have updated the api in the nightly builds.
  • Have tried updating to the latest nightly build. Getting error "Failed opening required '/home/xxx/public_html/zenphoto/zp-core/zp-extensions/google_maps".

    zp-extensions and google_maps appear to be present. Will take a look in the morning in case installation not right, but so far getting nowhere.
  • New install of nightly build 22 Oct solved the Google maps problem. Thank you. (Does this mean that Google Mpas in 1.2.6 standard release will not work for anyone?).
    Now have new problem with my template (Call to undefined function getImageEXIFData()) which I will investigate and come back with separate post if I'm still stuck - maybe a function name has changed somewhere..
  • The `getImageEXIFData()` function has become deprecated in the nightly builds. You should use `printImageMetadata()` instead.
  • 1. Yes, since Google changed something, not (originally) Zenphoto, All prior versions of the Googlemaps plugin no longer work. Only the one from the nightly build is compatible with the Google changes.

    2. There is a plugin named `deprecated-functions` which you can enable to temporarily make those obsolete functions available while you change your theme.
  • Thanks everyone for help. Google maps and "nightly build" now working. Used the latest version of the theme to compare with my modified version to work out the function changes. I love the flexibility of Zenphoto, but you need a fair degree of PHP and CSS knowledge to handle these kinds of issues, so I'm not sure about the strap line "The simplest, most useful gallery software for your website". Most useful definitely, but not exactly the simplest.
  • acrylian Administrator, Developer
    Sorry, it is not avoidable to change things. Especially if it is related to third party APIs like Google maps. The more flexible the more complicated. If working with a script like this does require some knowledge and the will to learn a few things.

    We of course can't know about issues in thirdparty/custom themes or older versions still in use that we don't support anymore. We are a voluntary project so some work sometimes has to be done by the users themselves. I think we solved the issue quite fast, didn't we?

    That is the "price of free", so to speak..;-)
  • I can't find documentation about this plugin ? Link from http://www.zenphoto.org/2009/11/google_maps/ about usage doesn't work :(
  • The documentation URL is now here: http://www.zenphoto.org/documentation/plugins/_zp-extensions---google_maps.php.html (found through the User Guide). Those links have not yet been updated to reflect the change from `plugins` to `zp-extensions`.
  • Looks like we missed that in the doc generator/plugins scripts. Oh, well. Something to do for the 1.2.8 release!
  • Thanks again :)
  • acrylian Administrator, Developer
    We also missed it on the extensions section...
  • I upgraded from 1.2.8 to .9 and now the google map is not working anymore. I haven't changed a thing to my image.php and if you look at the sourcecode headsection all the right links are there. All so if i change my theme to Zenpage it also doesnt work. what could be wrong?
  • acrylian Administrator, Developer
    This is surely related to this bug that has been fixed in the nightly: http://www.zenphoto.org/trac/ticket/1420
  • Muchas gracias, that did the trick! And thanks for the quick reply!!
Sign In or Register to comment.