This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Topic with no new replies

No API Key set


Author Message
Written on: 08/11/2010
James Edwards
Topic creator
registered since: 02/27/2008
Posts: 11
I keep getting this message: No Maps API key has been set for the wec_map extension on this domain.

I have entered my domain everyway that I know how and created new API keys however none of them will work. What am I doing wrong?

Written on: 08/11/2010
Peter Schott
registered since: 03/17/2007
Posts: 321
"James Edwards" wrote:

I keep getting this message: No Maps API key has been set for the wec_map extension on this domain.
I have entered my domain everyway that I know how and created new API keys however none of them will work. What am I doing wrong?


Did you put in your website as just "mydomain.org" instead of using www.mydomain.org? That seems to be the safest way to get the API key for your whole site. If that's still not working, I wonder if you have some odd masking going on where the domain you see isn't the domain that's actually in use.

-Peter
Written on: 08/11/2010
James Edwards
Topic creator
registered since: 02/27/2008
Posts: 11
"Peter Schott" wrote:

"James Edwards" wrote:

I keep getting this message: No Maps API key has been set for the wec_map extension on this domain.
I have entered my domain everyway that I know how and created new API keys however none of them will work. What am I doing wrong?

Did you put in your website as just "mydomain.org" instead of using www.mydomain.org? That seems to be the safest way to get the API key for your whole site. If that's still not working, I wonder if you have some odd masking going on where the domain you see isn't the domain that's actually in use.
-Peter

Yes, I have tried it every way that I know how. I have tried with and without the www. I also tried using the exact URL and that didn't work eithier...
Written on: 08/11/2010
Peter Schott
registered since: 03/17/2007
Posts: 321
Not completely sure here. I have:

API Version == 2
Not using FE User records or Geocoding Status
Default Country == USA
apiURL == the URL for the domain itself (no WWW or other prefix).

Can you verify that you're not overriding this in a TS config somewhere?
Written on: 08/11/2010
James Edwards
Topic creator
registered since: 02/27/2008
Posts: 11
Okay, I manually added the domain again and added API keys to both domains and everything is working now! Thanks!
Written on: 08/11/2010
Peter Schott
registered since: 03/17/2007
Posts: 321
Glad it's working now. Always fun trying to test out configuration settings. icon_razz.gif

-Peter
Written on: 08/12/2010
Christoph Koehler
registered since: 10/24/2005
Posts: 383
"Peter Schott" wrote:

apiURL == the URL for the domain itself (no WWW or other prefix).


I hope apiURL is not your domain icon_smile.gif That should be the Google Maps API URL.
The backend module automatically detects the domain you're logged in from and should suggest it.

As for the API key, get the one without www from Google. If you get just the top level domain, it will work for any and all subdomains as well.

Christoph
Written on: 08/12/2010
Peter Schott
registered since: 03/17/2007
Posts: 321
"Christoph Koehler" wrote:

"Peter Schott" wrote:

apiURL == the URL for the domain itself (no WWW or other prefix).

I hope apiURL is not your domain icon_smile.gif That should be the Google Maps API URL.
The backend module automatically detects the domain you're logged in from and should suggest it.
As for the API key, get the one without www from Google. If you get just the top level domain, it will work for any and all subdomains as well.
Christoph


I was just looking at the config names. Ours is working well and I never had a lot of issues implementing the maps project. I was actually really excited when it came out. icon_smile.gif