Maps not showing after site upgrade

Phoca Maps - displaying maps in Joomla! CMS
dano11
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Nov 2016, 10:14

Maps not showing after site upgrade

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Maps not showing after site upgrade

Post 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
If you find Phoca extensions useful, please support the project
dano11
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Nov 2016, 10:14

Re: Maps not showing after site upgrade

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Maps not showing after site upgrade

Post 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
If you find Phoca extensions useful, please support the project
dano11
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Nov 2016, 10:14

Re: Maps not showing after site upgrade

Post 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
hoknight
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 26 May 2011, 11:32

Re: Maps not showing after site upgrade

Post 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
imke2u
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jun 2012, 09:26

Re: Maps not showing after site upgrade

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Maps not showing after site upgrade

Post by Benno »

@imke2u
and which error do you see in the JavaScript console?
https://www.phoca.cz/documents/16-joomla ... -conflicts

Kind regards,
Benno
imke2u
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jun 2012, 09:26

Re: Maps not showing after site upgrade

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Maps not showing after site upgrade

Post 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
Post Reply