PDA

View Full Version : google api key


JBWebWorks
11-02-2009, 07:58 AM
just bought ProMaps and generated an api key when starting.

when trying to test locally, get message
this web site needs a different api key; one may be generated at ........

i have regenerated a key and always get the same key.

have taken ProMaps off page and started over and get same results?

thanks for your help,
jim balthrop

gruant2000381341
11-02-2009, 09:16 AM
I pulled this off the pdf,

Note: If you are using your localhost as your testing server, you can use
the following API key. However, once you publish your page to your live
server, you will need an API key created for that domain/URL.
ABQIAAAAvZMU4-
DFRYtw1UlTj_zc6hT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQcT1h-
VA8wQL5JBdsM5JWeJpukvw

JBWebWorks
11-02-2009, 10:22 AM
i don't use local host, i use vhost for testing server; but i tried that key an it would not work.

On my live server, using the api key generated for the www.mydomain.com
the page shows without the google map and i get this error on IE8

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 2 Nov 2009 18:18:30 UTC


Message: Object doesn't support this property or method
Line: 6
Char: 24
Code: 0
URI: http://www.bubbasmobileyardsales.com/google_javascript/wagmp_maps.js

don't know what to look at?

thanks for any help

Jimmy Wu
11-02-2009, 10:23 AM
If you are testing locally, you are using localhost, so you should use the API key that gruant pointed out. When you start testing on your live server, don't forget to change the API key to the one you generated for that.

JBWebWorks
11-02-2009, 10:38 AM
Like i said, i don't use localhost i use an Apache server and virtual hosting

i used the 'localhost key' from help and it gives the message that this web site needs a different Google Maps API Key.

i used the key generated for this web site and when going to the live server, got the error in my previous post

JBWebWorks
11-02-2009, 12:13 PM
I have uninstalled WebAssist Pro Maps and reinstalled and i still get this error

Message: Object doesn't support this property or method
Line: 6 wagmp_maps.js
Char: 24
Code: 0
URI: http://www.bubbasmobileyardsales.com.../wagmp_maps.js

JBWebWorks
11-02-2009, 12:52 PM
Sorry, but i got this solved.
I got the correct api key for the live web site and when i uploaded the page, i did not have the auto upload of companion files. So the folder google_javascript did not automatically upload. After i manually uploaded the files, everything works.

My Bad....