Home › Forums › Calendar Products › Events Calendar PRO › Google Maps NOT showing….again….sorry
- This topic has 6 replies, 4 voices, and was last updated 9 years, 8 months ago by
JEFF.
-
AuthorPosts
-
July 26, 2016 at 2:29 pm #1144395
JEFF
ParticipantHi,
I can’t get Google Maps to display on Events. I’m very familiar with the API scenario and one has been input. To confirm, it needs to be a browser or server key?
http://www.paintedcellars.com.php56-30.ord1-1.websitetestlink.com/event/desert-sunset-4/
I see errors loading maps in the console, but I’m not sure why. It also doesn’t like google fonts apparently. Any help? Happy to give you access if you need. I just cannot figure out why ma[s aren’t sowing at all on event pages.
July 26, 2016 at 2:50 pm #1144404JEFF
ParticipantHere’s the console error screenshot. Any help greatly appreciated
July 26, 2016 at 11:21 pm #1144501Geoff B.
MemberGood evening Jeff and welcome to the Events Calendar Support forum!
Thank you for reaching out to us.
We are sorry to hear about the Google Map issue creeping up on you again. Yikes!
I would love to help you with this topic.First, I would recommend carefully reading the following article: https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/
Secondly, based on the error messages I am seeing in the console. The most important one is the 404 message for yoursite/maps/api/js.
It seems that your site is trying to load a second instance of the Google Map API.
Could you also please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out.
Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
Let me know how that goes.
Best regards,
Geoff B.July 27, 2016 at 3:09 pm #1144873JEFF
ParticipantActually…discovered it was a conflict with a Root Level URLs plugin. Here’s the fix:
Add this to the beginning of the proper_root_relative_url function:
$blacklist_urls = split(“\n”, get_option(’emc2_blacklist_urls’));
foreach ($blacklist_urls as $x) {
if (stripos($url, $x) !== false) {
self::$massage = true;
return $url;
}
}🙂
July 27, 2016 at 10:18 pm #1144985Geoff B.
MemberGood evening Jeff,
This is pretty awesome. Kudos on finding the solution and thank you for sharing for everyone’s benefit!
Is there anything else I can help you on with this topic ?
Best regards,
Geoff B.
August 18, 2016 at 9:35 am #1153211Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Google Maps NOT showing….again….sorry’ is closed to new replies.
