-
AuthorPosts
-
August 13, 2016 at 10:57 pm #672321
Hey, on this site, google maps is still not workin well.
“js?v=3.24:32 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error”
please have a quick check.thank you very much!
tobi
August 16, 2016 at 5:49 pm #673354Hey Tobiy!
Please go to the theme options of our theme and add your Key there.
That will solve your issuesCheers!
BasilisAugust 17, 2016 at 4:16 pm #673782It was already set! Still not working. Please have a look.
Thank you.August 21, 2016 at 11:41 pm #675455Hi,
If you have inserted your domain in here – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2016/08/step_4.png can you please try adding it as following
yourdomain.com/*Best regards,
YigitAugust 22, 2016 at 4:38 pm #675864js?v=3.24:2 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
Would you like to have look inside?
August 25, 2016 at 4:07 am #677308Hi,
Please post the FTP details here so that we can check the files. Or modify the framework > php > class-framework-widgets.php file, look for this code around line 1377:
wp_register_script( 'avia-google-maps-api', $api_url, array('jquery'), '1', false); wp_enqueue_script( 'avia-google-maps-api' );
.. replace it with:
$prefix = is_ssl() ? "https" : "http"; $api_key = avia_get_option('gmap_api'); $api_url = $prefix.'://maps.google.com/maps/api/js?v=3.24'; if($api_key != ""){ $api_url .= "&key=" .$api_key; } wp_register_script( 'avia-google-maps-api', $api_url, array('jquery'), '1', false); wp_enqueue_script( 'avia-google-maps-api' );
Best regards,
IsmaelAugust 25, 2016 at 2:28 pm #677527Hi There, I have the same problem and can’t update the theme at the moment.
Is the above line 1377 fix a manual fix that will make it work?
Where do I enter the API in that code?
Please advise thanks
August 25, 2016 at 4:24 pm #677623Hi! I tried your solution (mentioned by “Ismael’), but this doesn’t solve my problem!
I got this message on Google Maps:“Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.”Any help, please…
ThanksAugust 25, 2016 at 7:04 pm #677713Hey Ismael, inserted the code and….Great! It works! Amazing. Thank you very much for the support!
- This reply was modified 8 years, 3 months ago by Tobiy.
August 26, 2016 at 12:19 pm #678077Hi Support, I tried the code with no luck
Also tried appending the API key with no success: $api_url = $prefix.’://maps.google.com/maps/api/js?v=3.24&key=YOUR_API_KEY’;
Please check out my class-framework-widgets.php file and the link and let me know how to resolve this problem
Urgent help appreciated thanks!
ps. I did create the api with the site link: mysite.com/*
August 26, 2016 at 4:56 pm #678224I have to add…i added 6 versions of url in google api with http and without, with * and without and with www and without..
August 26, 2016 at 5:10 pm #678238Hey!
@tobego Could you please create a temporary WP admin login and FTP logins and post them here privately?Regards,
YigitAugust 28, 2016 at 8:44 am #678592@yigit you mean anton? my site works now :-)
August 28, 2016 at 9:18 am #678599Hi Support, any luck with those admin login details?
I need the maps to work urgently,Thanks
August 28, 2016 at 10:07 pm #678688Hey!
@anton123 please start a new thread and attach FTP and WP admin logins in private content field.Best regards,
YigitAugust 29, 2016 at 3:37 pm #678984Thanks Yigit, will do – have updated the theme and entered the API in the theme options field with no luck?
August 30, 2016 at 8:53 am #679286Okay! I figured a solution out by putting all the code fragments together that were posted here. This worked out for me:
Modify the framework > php > class-framework-widgets.php file via FTP like this, look for this code around line 1377:$prefix = is_ssl() ? "https" : "http"; $api_key = avia_get_option('gmap_api'); $api_url = $prefix.'://maps.google.com/maps/api/js?v=3.24&key=YOUR-API-KEY-HERE'; if($api_key != ""){ $api_url .= "&key=" .$api_key; } wp_register_script( 'avia-google-maps-api', $api_url, array('jquery'), '1', false); wp_enqueue_script( 'avia-google-maps-api' );
hope this helps someone. Unfortunately you need knowledge in FTP and editing Script-Files.
regards
MarkusAugust 30, 2016 at 4:59 pm #679570Hello
Plese. Can you help me ? I added a Google Maps widget and i put Api code on Google Maps API Key, but Doen’t work. Honestly, i don’t know where i can find the FTP details here so that we can check the files. Where can i find the framework > php > class-framework-widgets.php file via FTP? Someone can help me? Thank you very much
- This reply was modified 8 years, 2 months ago by AlexBellaTropea.
August 30, 2016 at 7:11 pm #679644Hello,
I have added the code: framework > php > class-framework-widgets.php file via FTP like this, look for this code around line 1377, but it is not working neither. I hope this could be solved soon.
Can someone help me? ThanksAugust 30, 2016 at 9:34 pm #679713I tried modifying the class-framework-widgets.php and it did NOT work
August 31, 2016 at 5:50 am #679800 -
AuthorPosts
- The topic ‘Google Maps API error: MissingKeyMapError’ is closed to new replies.