×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Cant seem to get rid of the google key required message

Cant seem to get rid of the google key required message 13 years 11 months ago #11171

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Has anyone else experience problems getting rid of the Google - this domain needs an API message? Ive reregistered multiple times with google and cut and paste the code right into the back of hotspots. Cant figure out why after clearing site cache / browser cache we still get this message. Ive tried with and without the www. and am only referencing the domain name (not including page name etc).

Thoughts very much welcome :/

Kate

Cant seem to get rid of the google key required message 13 years 11 months ago #11173

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Are you using the component on different domains? And in version 1.1 there won't be a field for the api key, since google maps api3 doesn't need one.

Cant seem to get rid of the google key required message 13 years 11 months ago #11175

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Daniel, no I only temporarily switched the site to california-classics.co.uk as there were issues with the main domain californiaclassics.co.uk. Having switched it back (created a new code for californiaclassics.co.uk and plugged that in backend) I cant get rid of the warning from google. Have tried re registering (once with www's preceeding, once without). Not sure why googlemaps thinks the license key is wrong.

Anyway I hope this email finds you nowhere near a computer and getting ready for xmas.

Kate :)

Cant seem to get rid of the google key required message 13 years 11 months ago #11179

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Cache issue? Perhaps you should clear the joomla cache?

Cant seem to get rid of the google key required message 13 years 10 months ago #11180

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Daniel, Ive just seen this which Im assuming could be linked here

code.google.com/p/gmaps-api-issues/issues/detail?id=1381

Ive tried the advice of re-registering without www but to no avail.

Would switching the initial call to V3 ever work? Otherwise Im stumped:
(From: code.google.com/p/gmaps-api-issues/issues/detail?id=1988 )
As far as I got, v2 api keys cannot be managed. The solution I found is that I moved to v3, which does not need keys. Be aware that v3 api is not as much implemented as v2 at the moment. However, the basic calls are already in place and these are also faster.

So in short, to move from v2 to v3 you shall try to

REPLACE
<script src=" maps.google.com/maps?file=api&v=2&key={$gmapkey }"></script>
WITH
<script type="text/javascript" src=" maps.google.com/maps/api/js?sensor=false ">
</script>

(or if you use sensors, you may set it to true)

Read more here:
code.google.com/apis/maps/documentation/...script/tutorial.html

Cant seem to get rid of the google key required message 13 years 10 months ago #11181

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
My dear Kate!

When I open your website: californiaclassics.co.uk/index.php I get a message saying that california-classics.co.uk need a different api key.
I looked at your source code and you have this:
 
 
 
 

I opened the site: california-classics.co.uk/index.php?opti...icle&id=32&Itemid=36 and there is no map... But I see movie poster images. To me it doesn't seem that you have hotspots on this page - it looks like you have another map extension or module there.
 

But this is not generated from hotspots, so - figure it out and you will solve your problem.

About the jump from v2 to v3 - don't go for it. I've spend 20h and I'm still not ready. It is not that simple...

Cant seem to get rid of the google key required message 13 years 10 months ago #11182

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, the forum stripped out the code I was talking about
<iframe src="http://california-classics.co.uk/index.php?option=com_content&view=article&id=32&Itemid=36" name="iframe" marginwidth="0" marginheight="0" allowtransparency="true" background-color="transparent" scrolling="auto" frameborder="0" height="196" width="490"></iframe>
and
<script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAFq9b-ZAU02oQ71dKpp0vGBRCXfegfQGwlds5ABrDc3-LFBBVnBTq9szbNup1MHzdLADWGcgaGfGc2w" type="text/javascript"></script>

Cant seem to get rid of the google key required message 13 years 10 months ago #11183

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
...

Cant seem to get rid of the google key required message 13 years 10 months ago #11184

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Heck it seems the stray iframe reference was freaking out google maps. I switched that iframe and everythings fine :/ V Strange. Re no map on this pag, yeah I know, was the reason for double confusion on my part. I thank you Daniel, you are more of a workaholic than me, supreme thanks for point out the rogue iframe call I thought Id caught all of those, no idea why it should freak google maps out the content of the iframe was a simple article (no reference to mapping of any kind) *confused lookness*

*sends a bundle of seasons best wishes*

Kate

Cant seem to get rid of the google key required message 13 years 10 months ago #11185

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Perhaps a plugin is adding this code to all the pages???
  • Page:
  • 1
Time to create page: 0.115 seconds