A) when a user wants to access an ajax.search.page from different domains (e.g. http://www.mysite.xyz or http://mysite.xyz) an alert message will popup. as a consequence, the ajax-search function will not work, unless your api key is registered for the entered domain.
B) when a user wants to translate an ajax.search.page then the message alert will popup again and no search function works.
ok, this project is still in beta, but i dont understand the key validation system for the ajax search? i think, this is not useful for spreading ajax.search service for www. any idea? thx, dan
I cant help you because I'm having the same problem, but I asked for a key for: http://67.14.224.50/index.php and when I've added the AJAX code to my page, it gives me this alert message: "google ajax search api load failure: invalid api key".
how can it be invalid? i just signed up for the key. I'm not using the map, just want the search.
A lot of people are having this problem for the moment. I'm reluctant to change my code since I didn't change it before the error popped up. I am however seriously considering scrapping the AJAX search since there seems to be no response from Google on this.
BroadStar The Premier Provider of Cable TV, Telephone & Internet 3800 Park Central Blvd., North Pompano Beach, FL 33064 Email: shar...@broadstar.com WEB: www.BroadStar.com
Yeah. I'm having trouble at my website also and considering SERIOLSY the possibility of removing this ajax search stuff if google doesn't solve this issue.
Many people are complaining about this error dialog in there.
I am working on it. Sorry for the confusion. The alert is new behavior that we added because a few people were using bad keys and silently getting no bits loaded.
Now, what is happening is the alert is a bit hyper active and is firing for a bunch of cases that before were silent errors. For instance, I have seen several cases where a key was registered for http://foo.com and the code using the control is coming from www.foo.com as well as foo.com. The new code I am testing is more lenient in cases like this, as well as in cases where we are seeing mixed case in the host names.
In your application there are two loads of the search API.
One load is done using a key of: ABQIAAAAbFr2j2SCJM0YXkw9znmhuxRL6LkS-LkFtv7-0vycq5DgRudRWBScsgWivNbqG-3oX0h qXn4_PEoyRg
A few lines later you are loading the Google Maps API using this same key: ABQIAAAAbFr2j2SCJM0YXkw9znmhuxRL6LkS-LkFtv7-0vycq5DgRudRWBScsgWivNbqG-3oX0h qXn4_PEoyRg
Both of these loads are successful.
A few lines after this, you have another load of the search API. This time you are using a key of: ABQIAAAAeyv8gcDntHyhkwL0B6UJpRQNDbVvh-vnHIZYgERJVe6hvN8vYBTL8PUslhhet3EI-tF WdmXk5A-yqw
This second load is causing the alert popup and is causing your application to fail.
Previously, this second load would have failed silently, and would not have impacted the previously successful load. Because of some recent changes, this is no longer the case and this second failed load is causing your appllication to fail.
I don't know what url the key for the second load is supposed to work with. Maybe you can either remove that second load, or make sure the key you use for it matches the URL of your app?