I'm having a similar problem with Http and Ape.MySQL callbacks. I
compiled/installed the tree Anthony suggested, but afaik it hasn't
helped.

In case there's something off with my code:

Ape.registerCmd("races", false, function(params, info) {
  Ape.log("start\n");
  var request = new Http('http://127.0.0.1/races/index.php?
ape_server=1');
  Ape.log("request\n");
  request.finish(function(result) {
    Ape.log("callback\n");
    return {name: 'racesCurrentState', data: result.body};
  }.bind(this));
  Ape.log("return\n");
  return -2;
});

In the log I get start, request and return, but no callback.

Send:
[{"cmd":"races","chl":2,"sessid":"3f5bcb1a168916ef2a69bc18d59236bc"}]
Return:
[{"time":"1312136606","raw":"CLOSE","data":{"value":"null"}}]

Any advice would be much appreciated.

Ian

On Jul 28, 8:53 pm, Mike <[email protected]> wrote:
> Thank you, works perfect.
>
> Mike
>
> On Jul 28, 1:04 pm, Anthony Catel <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > Yes indeed, it's a known issue.
>
> > Please use this one 
> > :https://github.com/APE-Project/APE_Server/tree/fa5311f90ed21f3ff538b9...
>
> > Le 28/07/2011 18:59, Mike a crit :
>
> > > I grabbed the master branch APE-Project-APE_Server-v1.1.0-14-g0eff8f0
> > > since it fixed some issues I was having. Now, I can't get Http.js to
> > > work. I traced it down to no onConnectcallbackfor the
> > > Ape.sockClient. Is this a known issue?
>
> > > Mike

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" 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/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to