Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #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

    #673354

    Hey Tobiy!

    Please go to the theme options of our theme and add your Key there.
    That will solve your issues

    Cheers!
    Basilis

    #673782

    It was already set! Still not working. Please have a look.
    Thank you.

    #675455

    Hi,

    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,
    Yigit

    #675864

    js?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?

    #677308

    Hi,

    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,
    Ismael

    #677527

    Hi 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

    #677623

    Hi! 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…
    Thanks

    #677713

    Hey 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.
    #678077

    Hi 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/*

    #678224

    I have to add…i added 6 versions of url in google api with http and without, with * and without and with www and without..

    #678238

    Hey!


    @tobego
    Could you please create a temporary WP admin login and FTP logins and post them here privately?

    Regards,
    Yigit

    #678592

    @yigit you mean anton? my site works now :-)

    #678599

    Hi Support, any luck with those admin login details?
    I need the maps to work urgently,

    Thanks

    #678688

    Hey!


    @anton123
    please start a new thread and attach FTP and WP admin logins in private content field.

    Best regards,
    Yigit

    #678984

    Thanks Yigit, will do – have updated the theme and entered the API in the theme options field with no luck?

    #679286

    Okay! 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
    Markus

    #679570

    Hello

    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

    #679644

    Hello,
    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? Thanks

    #679713

    I tried modifying the class-framework-widgets.php and it did NOT work

    #679800

    Hey!

    For everyone else who is having the same issue, please create a new thread with the url to the site plus the WP and FTP credentials. We’ll check the issue there.

    Regards,
    Ismael

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Google Maps API error: MissingKeyMapError’ is closed to new replies.