|
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?
|
|
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
|
|
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...
|
|
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?
|
|
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!
|
|
Peter Schott
registered since: 03/17/2007
Posts: 321
|
Glad it's working now. Always fun trying to test out configuration settings. 
-Peter
|
|
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 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
|
|
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  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.
|