Hi,

 

I solved the "Async(1) exception: Local error 2: Aborted." I had some
errors in my code.

But still have the "failed to load source..." error.

 

Thanks

Tobias

 

________________________________

Von: Tobias Koller (GERMO GmbH) [mailto:[email protected]] 
Gesendet: Montag, 11. Januar 2010 07:17
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] PHP Backend: Failed to load source for

 

I should provide some more details ;)

 

I'm using qx 1.0 SDK, Firebug 1.4.5, Firefox/IE same problem.

PHP 5.2.12

 

Thanks 

Tobi

 

________________________________

Von: Tobias Koller (GERMO GmbH) [mailto:[email protected]] 
Gesendet: Montag, 11. Januar 2010 07:13
An: qooxdoo Development
Betreff: [qooxdoo-devel] PHP Backend: Failed to load source for

 

Hi,

 

I have a problem with the PHP RPC.

Qooxdoo sends two requests to the server (I'm only sending one...see my
code below).

The first one ends with this error:

 

 

Firebug shows me this error:

 

Failed to load source for:
http://localhost/myapp/backend?_ScriptTransport_id=1&nocache=12631900154
50&_ScriptTransport_data=%7B%22service%22%3A%22Document%22%2C%22method%2
2%3A%22get%22%2C%22id%22%3A1%2C%22params%22%3A%5B%228761A042-DAED-4814-B
4CC-587625DA5D23%22%2C%5B%22DocumentId%22%2C%22State%22%2C%22AuthorId%22
%2C%22CreationDate%22%2C%22FormName%22%2C%22FormDescription%22%2C%22Deli
veryTypeNo%22%2C%22RecipientName1%22%2C%22RecipientName2%22%2C%22Recipie
ntName3%22%2C%22RecipientStreet%22%2C%22RecipientZipCode%22%2C%22Recipie
ntCity%22%5D%5D%7D

 

The second one works fine.

 

 

Here is my code:

 

    var rpc = new qx.io.remote.Rpc();

          rpc.setTimeout(10000);

 

          rpc.setUrl(myapp.data.Setting.SERVER_BACKEND_URL);

          rpc.setServiceName("Document");

          rpc.setCrossDomain(true);

      

 

          var that = this;

 

          this.RpcRunning = rpc.callAsync(

                  function(result, ex, id)

                  {

                  that.RpcRunning = null;

                  if (ex == null){

                             that.setData(that.__formatData(result));

                             that.fireEvent("dataLoadComplete", new
qx.event.type.Event());

                        } 

                  else 

                        alert("Async(" + id + ") exception: " + ex);

                  

                  },

            "get", myapp.data.User.ID, this.getColumnIds(true));

 

 

 

But I get also this error: ""Async(1) exception: Local error 2: Aborted.

I guess it's because the first request failed.

 

 

Can someone help me with this?

 

Thanks

Tobias

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to