Does the Google Map module still work w/ API2? Keeps saying I have an invalid key
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Fri, 2006-10-13 22:04
I have installed and configured the Google Maps module, version 0.5.1d, but it isn't accepting the key I got from google for my domain. I have tried numerous keys for my documentroot, but no success. Any suggestions?
Viewing the source of your site....I don't see the api key being saved. The page says:
Quote:
You do not have a profile setup for this website
Did you create a profile?
PM me access and I will set it up if you wish.
Dave
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sat, 2006-10-14 03:58
PM'd
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sat, 2006-10-14 04:19
Fixed it. It seems that although I was typing the correct key into the module, the module wasn't updating the template file (MapHeader.tpl). Thanks for the help
floridave
Joined: 2003-12-22
Posts: 25961
Posted: Sat, 2006-10-14 04:31
Glad you got it sorted.
Deleting your PMs.
now you just need to add some photos with GPS info.
Dave
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sat, 2006-10-14 05:05
Doh, running into another problem now.. it is saying I don't have a profile set up :s.
"You do not have a profile setup for this website to use the Google Map, review you settings in the Admin Panel or Check the wiki"
I just edited the profile now, and am not getting that popup, so that must mean I have a profile, no?
floridave
Joined: 2003-12-22
Posts: 25961
Posted: Sat, 2006-10-14 06:03
I logged into your site and when I install the map maodule I get this error:
Quote:
Notice: Undefined index: gallerybase in D:\Server\documentroot\gallery2\modules\map\includes\MapAdminViewInit.inc on line 26
Notice: Undefined index: urlbase in D:\Server\documentroot\gallery2\modules\map\includes\MapAdminViewInit.inc on line 27
Not sure what that means.
When I continue the value for the API key is not being saved properly. It is not the same value.
Can you delete the module and try to upload it again?
Perhaps Termite can help out.
Send him a PM with the access.
Dave
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sat, 2006-10-14 06:37
Thanks, I'll give it a try.
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sat, 2006-10-14 06:46
Alright I:
-uninstalled the module
-deleted the module files on my server
-re-extracted the 0.5.1d zip back to /modules
-installed the module
-activated the module
-configured the module (I got the same error as you for lines 26-27)
-put in my profile info anyway (it didn't seem to copy over again b/c it's giving me the key error from before)
so here is what the code is in lines 25-27:
//Fetch the real path of the gallery installation for file operation
$basegallerydir = $param['gallerybase'];
$base = $param['urlbase'];
Not sure what that means though...
floridave
Joined: 2003-12-22
Posts: 25961
Posted: Sat, 2006-10-14 23:32
not sure what I did: http://pbriscoe.com/gallery2/main.php?g2_view=map.ShowMap
but it seems to work now.
LIke I said I am not sure what I did, other than deleting the profile and trying again.
It might be because Gallery thinks it is embedded in a CMS and gets confused if it is or not.
Just guessing
Dave
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sun, 2006-10-15 03:48
wow, very weird. Thank you very much, that looks great! Now I just have to play around with the theme using that winmerge tool you referenced. You rock. ;)
Lul2x
Joined: 2006-10-13
Posts: 17
Posted: Sun, 2006-10-15 15:33
can someone else go to the link and tell me if it works. It works from my house, but not from another internet connection...
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2006-10-17 11:57
Oh, I didn't see this thread
Yes it is working for me as well.
For the error you were getting were you using the SVN version or the latest released (0.5.1d) ?
I seem to see in the thread that you are using 0.5.1d now, but since I made lots of changes to the svn version lately I wanted to make sure I didn't break something.
Posts: 25961
The map module works with APIv2
URL?
Posts: 17
proof that i am using the right key:
http://pbriscoe.com/maps
Gallery map that isn't working:
http://pbriscoe.com/gallery2/main.php?g2_view=map.ShowMap
Thanks
Posts: 25961
Viewing the source of your site....I don't see the api key being saved. The page says:
Did you create a profile?
PM me access and I will set it up if you wish.
Dave
Posts: 17
PM'd
Posts: 17
Fixed it. It seems that although I was typing the correct key into the module, the module wasn't updating the template file (MapHeader.tpl). Thanks for the help
Posts: 25961
Glad you got it sorted.
Deleting your PMs.
now you just need to add some photos with GPS info.
Dave
Posts: 17
Doh, running into another problem now.. it is saying I don't have a profile set up :s.
"You do not have a profile setup for this website to use the Google Map, review you settings in the Admin Panel or Check the wiki"
I just edited the profile now, and am not getting that popup, so that must mean I have a profile, no?
Posts: 25961
I logged into your site and when I install the map maodule I get this error:
Not sure what that means.
When I continue the value for the API key is not being saved properly. It is not the same value.
Can you delete the module and try to upload it again?
Perhaps Termite can help out.
Send him a PM with the access.
Dave
Posts: 17
Thanks, I'll give it a try.
Posts: 17
Alright I:
-uninstalled the module
-deleted the module files on my server
-re-extracted the 0.5.1d zip back to /modules
-installed the module
-activated the module
-configured the module (I got the same error as you for lines 26-27)
-put in my profile info anyway (it didn't seem to copy over again b/c it's giving me the key error from before)
so here is what the code is in lines 25-27:
//Fetch the real path of the gallery installation for file operation
$basegallerydir = $param['gallerybase'];
$base = $param['urlbase'];
Not sure what that means though...
Posts: 25961
not sure what I did:
http://pbriscoe.com/gallery2/main.php?g2_view=map.ShowMap
but it seems to work now.
LIke I said I am not sure what I did, other than deleting the profile and trying again.
It might be because Gallery thinks it is embedded in a CMS and gets confused if it is or not.
Just guessing
Dave
Posts: 17
wow, very weird. Thank you very much, that looks great! Now I just have to play around with the theme using that winmerge tool you referenced. You rock. ;)
Posts: 17
can someone else go to the link and tell me if it works. It works from my house, but not from another internet connection...
Posts: 1894
Oh, I didn't see this thread
Yes it is working for me as well.
For the error you were getting were you using the SVN version or the latest released (0.5.1d) ?
I seem to see in the thread that you are using 0.5.1d now, but since I made lots of changes to the svn version lately I wanted to make sure I didn't break something.
Let me know !
- http://perso.mine.nu/
-------------------------
The Termite -