Page 1 of 1

Maps not showing after site upgrade

Posted: 15 Nov 2016, 10:23
by dano11
Hello,

After upgrading to the lastest version of Joomla the map plug-in does not show the map. I see the grey box and "get directions" option, but the map is no longer displayed.

You can see an example here: https://www.waldenjnr.co.uk/events-cale ... m-training

I am running Joomla vers. 3.6.4 and I have the latest version of the component + plug-in 3.0.4. I have set the Google Map API key in the configuration.

I have read a few other posts on this subject, but none of the solutions provided have helped.

Any help gratefully received!

Many thanks, D

Re: Maps not showing after site upgrade

Posted: 15 Nov 2016, 14:53
by Jan
Hi, you get the following error on your site:

Code: Select all

Google Maps API error: RefererNotAllowedMapError developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: .../events-calendar/icalrepeat.detail/2016/11/16/212/-/weds-swim-training
maps.googleapis.com/maps/api/js?callback=initMapsComjevents&key=AIzaSyAa8RTvTYubShHJ2qcMQbNryooAE4GJNpQ
In newest Google Maps API, an API key is needed, see:

https://www.phoca.cz/documents/53-phoca- ... ps-api-key

Jan

Re: Maps not showing after site upgrade

Posted: 16 Nov 2016, 12:26
by dano11
Hello Jan,

Thanks for your reply. It's strange because I did have a key saved.
I followed your helpful instructions and created a new key.
I still get the same results ... the frame is there, but no map.

Daniel

Re: Maps not showing after site upgrade

Posted: 18 Nov 2016, 20:05
by Jan
Hi, now, on your site, there are another javascript errors, which can prevent from displaying the correct javascript of the map. Try to check the errors.

Do you run the latest version of Phoca Maps component and Phoca Maps plugin?

Jan

Re: Maps not showing after site upgrade

Posted: 19 Nov 2016, 09:57
by dano11
I will try and resolve the javascript error. Do you think it could be a conflict with the template, I am using YOOtheme's Warp theme framework??

Yes, I am running latest version of component and plugin.

Thanks, D

Re: Maps not showing after site upgrade

Posted: 22 Nov 2016, 05:41
by hoknight
I also getting this issues but seem without javascript errors.
Google Maps API key created.
Any help for me?

URL: http://www.hkbibleconference.org/hk/liv ... -kcbc.html
Thanks

Re: Maps not showing after site upgrade

Posted: 22 Nov 2016, 11:31
by imke2u
Hi, on my site there's a problem too, with |Javascript errors. Using the latest everything (extension, Joomla) with Google API. Used to work, now since a week or so, it will show the map on load and then go on to display a Javascript error. I've turned the module off on the live site, but here's a picture: Image I hope someone has a smart idea about this :-) Thanks in advance for any help.

Re: Maps not showing after site upgrade

Posted: 22 Nov 2016, 18:53
by Benno
@imke2u
and which error do you see in the JavaScript console?
https://www.phoca.cz/documents/16-joomla ... -conflicts

Kind regards,
Benno

Re: Maps not showing after site upgrade

Posted: 23 Nov 2016, 13:37
by imke2u
Hi Benno, thanks for looking into it. The Console doesn't show any errors. The strange thing is, that the maps displays on load and then disappears. For now I've turned it back on, it's here: http://informedconsulting.com/about-us/contact.

Re: Maps not showing after site upgrade

Posted: 23 Nov 2016, 16:28
by Benno
Hi,
I receive this error on your site:
"Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/docu ... -map-error
Your site URL to be authorized: http://informedconsulting.com/about-us/contact"
And if I click the above link I receive:
RefererNotAllowedMapError Error

The current URL loading the Google Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key on the Google Developers Console.

See API keys in the Google Developers Console. For more information, see Best practices for securely using API keys.
Kind regards,
Benno