On Sep 2, 10:31 am, jsbrava <[email protected]> wrote:
> When I 
> execute:http://calscape.com/dev/plant_editor/editBigMapTest.php?fieldID=17&ta...
> On my localhost, I get an appropriate output.
> However, on the hosting site it fails with:

What is the "hosting site"?

There is a cross-domain restriction on XMLHttpRequest.

  -- Larry


> uncaught exception: [Exception... "Component returned failure code:
> 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult:
> "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame 
> ::http://calscape.com/dev/plant_editor/editBigMapTest.php?fieldID=17&ta...
> :: init :: line 54" data: no]
>
> It fails here:
>     if (httpObject != null) {
>         httpObject.open("GET", url, false);
>        httpObject.send(null);
>         regionName = httpObject.responseText;
>         window.document.myForm.myText.value = fieldID + "-" +
> regionName;
>     }
> It is as if the url is bad, but when I enter the url 
> (http://www.calscape.com/dev/plant_editor/processBigMapsTest.php?echoRegion=1...
> ) that it is calling into the browser, I get the right result.
>
> It seems like it might be a problem with permissions, security or
> something?
>
> I’d appreciate suggestions. I’ve been banging my head against this for
> quite some time.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to