Hello

Same error.
I use compiled source from git (1.1.2-dev).
I noticed that event "onConnect" isn't called.

My code for the connection:

var sql = null;

Ape.log("Mysql...");
sql = new Ape.MySQL("192.168.1.100:3306", "xx", "xx", "xx");
sql.onConnect = function() {
Ape.log("Connected !\n");
}


And where i have error:

Ape.registerHookCmd("connect", function(params, info) {
/*
...
...
*/
sql.query("INSERT INTO usersVALUES ('xx','xx')", function(res, errorNo) { 
 if (errorNo) Ape.log('Request error : ' + errorNo + ' : '+ 
this.errorString()); 
});

/*
...
...
*/
}

-- 
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