Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #815094

    Greetings Support. Resulting error when trying to add address to Google Map media element:

    An error occurred
    It seems that your Google API key is not configured correctly
    The key is probably either restricted to the wrong domain or the domain syntax you entered is wrong.
    Please check your API key here
    The domain that should be allowed is:
    http://mydomain.com/*

    My key is pasted into the google services section of Enfold Theme Options.

    I have reconfigured my API key and referrers multiple times with many possible variations as mentioned in step 4 of your google maps tutorial: http://kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/

    I have also disabled all plugins.

    I have also cleared cash/ logged out/ in multiple times.

    Please send further tips on how to correct.

    Thank you very much.

    #815256

    Hey Tom,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #815977

    Hi Rikard,
    Yes, please see below. What do you think?

    #816151

    Hi,

    Thanks for that. You are getting the following error, could you check if the API key you created is activated? https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

    Best regards,
    Rikard

    #816767

    Hi Rikard,
    It looks activated to me. Please see below.

    #816770

    Hey!

    I inserted an API key @vinay generated and that worked. Please review your website

    Regards,
    Yigit

    #816775

    Dear Yigit,

    Thank you for correcting. Could you please explain in more detail what the solution was?

    Who is Vinay and how did he generate a key? Should I use this key for other websites in the future?

    #816790

    Hi!


    @vinay
    is a teammate. You can keep that API key in Enfold theme options.
    All necessary steps are explained here – http://kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/

    Best regards,
    Yigit

    #816836

    Thank you Yigit.

    As you can see in the tutorial, it is recommended to generate my own key, I followed the tutorial exactly, with no success. However, you are saying is that we should use this single key for all sites, not to generate own own key. Is that correct?

    Thank you, Vinay, for your help.

    #817282

    Hi,

    Yes, we recommend you to create your own API key however if it is not working for whatever reason, you can continue using the one we inserted :)

    Best regards,
    Yigit

    #817291

    Hi Yigit

    I’m getting the same issue as tom3321.

    Google maps were working fine on http://ashbysonline.co.uk/contact/

    I created a new API following the instructions, repeatedly, and no keys worked when adding to the Google Services section in the admin.

    On trying to reinstall the map I get the following error message:

    An error occurredX
    It seems that your Google API key is not configured correctly
    The key is probably either restricted to the wrong domain or the domain syntax you entered is wrong.
    Please check your API key here
    The domain that should be allowed is:
    http://ashbysonline.co.uk/*

    The domain appears to be correct I think?
    I checked your instructions and all seems fine.
    I tried creating a new project in the https://developers.google.com/maps/documentation/javascript/get-api-key#key page with Google but now get this message: “Couldn’t create project”

    I had this issue with 4 other sites the other day. When I installed an API key, all worked fine but today the maps, once more, are not displaying.

    I’ve sent the login to the admin for the ashbysonline.co.uk site in the Private Content section.

    I’m completely stuck. Please could you have a look and advise?

    Many thanks

    Steve

    #817695

    The same issue of “Couldn’t Create Project” is coming at my end. tried doing everything but not working.
    Can anybody check that on urgent basis. very important for me to fix this.
    Thanks

    #818347

    Hi Steve,

    You’re getting this
    Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
    Your site URL to be authorized: http://ashbysonline.co.uk/contact/
    You might want to try again. Looks like the project got created and now you need to authorize your website.

    Best regards,
    Victoria

    #818348

    Hi theanshbakshi,

    Google Maps API error: ApiNotActivatedMapError https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

    You might want to go to the Google console and try again.
    Best regards,
    Victoria

    #818366

    Hi Victoria

    Thanks for your reply.
    As far as I can see, the domain is authorised.
    It displays as follows on the Google API manager credentials tab:

    —————————-
    Key restriction

    Key restriction lets you specify which websites, IP addresses or apps can use this key. Learn more.

    None

    HTTP referrers (websites)

    IP addresses (web servers, cron jobs, etc.)

    Android apps

    iOS apps
    Accept requests from these HTTP referrers (websites) (Optional)
    Use asterisks for wildcards. If you leave this blank, requests will be accepted from any referrer. Be sure to add referrers before using this key in production.

    http://ashbysonline.co.uk/*

    ———————————

    I’m really stuck now and this is getting urgent.

    Any ideas?

    Cheers

    Steve

    • This reply was modified 7 years, 3 months ago by steve159159.
    #818368

    PS…
    The Map error message, as perviously detailed shows

    “The domain that should be allowed is:
    http://ashbysonline.co.uk/*”

    As you can see, that domain is listed as a referring URL.

    I’ve also set the page the map is used on: http://ashbysonline.co.uk/contact/ as a specific referring URL. Makes no difference.

    Help!

    Cheers

    Steve

    #818574

    Hi Victoria,
    I have tried million times but facing the same issue, kindly help me to fix it asap else there is no use of buying this theme if i cant make my website on time.
    Thanks

    #818769

    Hi theanshbakshi,

    We can help you with a lot of things like styles, JavaScript and php, but this is Google’s functionality, you have to write to their support. If it says ApiNotActivatedMapError, what can we do, you have to go to the source.

    Best regards,
    Victoria

    #818786

    Hi,
    I tried generating the code from another account. It got generated and have put the same there. But still it is not working. Kindly check & Revert

    #819133

    Please respond

    #819289

    Hi

    Please could someone come back to me re this issue? It’s now urgent.
    None of my API keys work in the Google maps element. However, if I just embed Google map iframe code into one of your Code Block elements it works fine. That would suggest there is an issue between your Google Maps element and the Google APIs?

    I’ve bought approx 50 licences for your Enfold theme. I can’t justify buying more for my clients until this issue is resolved as it’s a popular feature.

    I really need you to assist promptly with this please.

    Thanks

    Steve

    #819295

    Hi,

    We have just released Enfold 4.1 which has improvements on Google maps elements. Could you please firstly update the theme – kriesi.at/documentation/enfold/updating-your-theme-files/ and check once again?

    Best regards,
    Yigit

    #819298

    Hi Yigit

    Thanks. Will do that now and will report back.

    Cheers

    Steve

    #819313

    Hi Yigit

    Sorry, no luck. I updated to version 4.1 as suggested.

    I regenerated the API key and ensured there is no restrictions on it.

    I then tried to add a new Map element to the page and add an address. The same error message came up:

    “An error occurredX
    It seems that your Google API key is not configured correctly
    The key is probably either restricted to the wrong domain or the domain syntax you entered is wrong.
    Please check your API key here
    The domain that should be allowed is:
    http://ashbysonline.co.uk/*

    I checked again, and there is no restriction on the key.

    In the Google Services page on the theme admin, I used the Check API button and got the following error message:

    “Could not connect to Mailchimp with this API Key. Please try again with a different key
    You might also want to check your internet connection and make sure that mailchimp.com is available”

    I’m obviously not trying to connect to Mailchimp!

    Please could you log in and have a look at this? I’m lost. I sent login details with my initial support request in this thread.

    Thanks

    Steve

    #819320

    Hey Steve,

    You had following code in Functions.php file of your child theme

    function ava_googlemaps_apikey() {
    	$prefix  = is_ssl() ? "https" : "http";
        wp_deregister_script('avia-google-maps-api');
    	wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?key=AIzaSyAidX34J-pkIHmOUFdVrt05MpzDHz-VZUk', array('jquery'), '3', true);
    	wp_enqueue_script('avia-google-maps-api');
    }
    add_action('init', 'ava_googlemaps_apikey');

    I removed it and it worked on your contact page. Please review your website :)

    Best regards,
    Yigit

    #819327

    Thanks very much Yigit

    Didn’t know that was there :-/

    I owe you a beer!

    Cheers

    Steve

    #819332

    Hi,

    You are welcome @steve159159! Please consider you already bought me a virtual beer :)

    We will keep the thread open and will wait to hear from the creator of this thread. If you have any other questions or issues, please feel free to start a new thread.

    Best regards,
    Yigit

    P.S.: Please consider reviewing Enfold on ThemeForest if you have not already – https://themeforest.net/downloads :)

    #819904

    Poor support, have been asking for a response and nobody is bothered. Would definitely share my experience over internet.

    #819947

    Hi,


    @theanshbakshi
    I checked your profile and it seems like you have not started any threads yet. We ask each user to start a new thread simply because we try to solve the issues of the thread creator before checking on other participants websites.

    You are currently using an older version of the theme. Please update Enfold to the latest version 4.1 – http://kriesi.at/documentation/enfold/updating-your-theme-files/ and flush browser cache and refresh your page a few times – http://wiki.scratch.mit.edu/wiki/Hard_Refresh

    If that does not help, please start a new thread under Enfold sub forum and we will gladly look into it. This confusion might have led you to think that we provide poor support and that is totally understandable however i am pretty sure we will be able to change your opinion in near future, probably when you start your own thread. We will be waiting for your thread! :)

    Best regards,
    Yigit

Viewing 29 posts - 1 through 29 (of 29 total)
  • You must be logged in to reply to this topic.