Component returned failure code
Posted by: shrdlu1497 (---.lnse2.cht.bigpond.net.au)
Date: June 23, 2012 03:20AM

I am trying to access a database on my PC using Firefox and PHP.


The Javascript code I am using is

xmlHttp=new XMLHttpRequest();

var url = 'http://Localhost:8080/Library/dbRequest.php/';

xmlHttp.open("GET",url,false);

xmlHttp.send(null); (this is line 68)

I get the error:

Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [localhost] :: sendQuery :: line 68" data: no]

I have all wampserver services running

The Javascript and php code files are in c:\wamp\www\Library

Thanks in advance

Options: ReplyQuote
Re: Component returned failure code
Posted by: RiggsFolly (---.as13285.net)
Date: June 25, 2012 10:39PM

Check out a javascript site.

There is quite a bit more to making an ajax call and this is not the forum for that sort of help.

Options: ReplyQuote


Sorry, only registered users may post in this forum.