Maps not shown when calling page with https
-
- Phoca Member
- Posts: 21
- Joined: 17 Jun 2016, 20:38
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Maps not shown when calling page with https
@ PJrN,
did you also check this: https://www.phoca.cz/documents/53-phoca- ... ps-api-key
I couldn't see an API Code? After creating:
did you also check this: https://www.phoca.cz/documents/53-phoca- ... ps-api-key
I couldn't see an API Code? After creating:
Kind regards, ChristineCreate the API and store it. Copy it and paste it to Phoca Maps Options. Store the options. Now the map should be displayed in administration and in frontend.
-
- Phoca Member
- Posts: 21
- Joined: 17 Jun 2016, 20:38
Re: Maps not shown when calling page with https
I have created:
http://www.subirimagenes.com/imagedata. ... aveapi.png
And here is the config on phocamaps:
http://www.subirimagenes.com/imagedata. ... gphoca.png
http://www.subirimagenes.com/imagedata. ... aveapi.png
And here is the config on phocamaps:
http://www.subirimagenes.com/imagedata. ... gphoca.png
-
- Phoca Member
- Posts: 21
- Joined: 17 Jun 2016, 20:38
Re: Maps not shown when calling page with https
Can I add the api key on the code? I need help I have like 300 pages without map.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Maps not shown when calling page with https
Hi, on your site I get this warning in javascript console:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/docu ... o-api-keys
util.js
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/docu ... t-required
So the site does not have any API Key?
Did you follow exactly this guide:
https://www.phoca.cz/documents/53-phoca- ... ps-api-key
Jan
Google Maps API warning: NoApiKeys https://developers.google.com/maps/docu ... o-api-keys
util.js
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/docu ... t-required
So the site does not have any API Key?
Did you follow exactly this guide:
https://www.phoca.cz/documents/53-phoca- ... ps-api-key
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 21
- Joined: 17 Jun 2016, 20:38
Re: Maps not shown when calling page with https
I do with different gmail accounts. Can you leave me a key only some minutes to see if it is problem of the key or the plugin?
-
- Phoca Member
- Posts: 21
- Joined: 17 Jun 2016, 20:38
Re: Maps not shown when calling page with https
I continue with the problem. I have like 300 pages with map. How can I fix? It's not api key error, it is like the component don't take the api.
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Maps not shown when calling page with https
Hi,
there are still warnings in javascript console as Jan already wrote. See screenshot: http://imgur.com/kBojh3b
When checking the source code of 1 URL (previous post) I'm missing something like this:
Kind regards, Christine
there are still warnings in javascript console as Jan already wrote. See screenshot: http://imgur.com/kBojh3b
When checking the source code of 1 URL (previous post) I'm missing something like this:
Check also again correct referrers addr etc. https://www.phoca.cz/documents/53-phoca- ... ps-api-key....
//]]></script>
<script async defer src="https://maps.googleapis.com/maps/api/js ... y53&[b]key[/b]=here is the key" type="text/javascript"></script>
Kind regards, Christine
-
- Phoca Member
- Posts: 21
- Joined: 17 Jun 2016, 20:38
Re: Maps not shown when calling page with https
I say again, it's like the component don't write the api. I put in phoca maps options but the component doesn't load the api.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Maps not shown when calling page with https
Hi, the problem is, Google server does not get API.
What you exactly mean with "component don't write the API"? If you store the API key in component administration, it is not stored? (when saving, then the API key field is empty?)
Jan
What you exactly mean with "component don't write the API"? If you store the API key in component administration, it is not stored? (when saving, then the API key field is empty?)
Jan
If you find Phoca extensions useful, please support the project