Hai
I guess that an object becomes undefined, and you are still doing
something on that object.
This happens often if there is a mysql timeout.
var sql = new Ape.MySQL("ip:port", "user", "password",
"database");
sql.onConnect = function() {
Ape.log('Connected to mysql server');
}
// fast forward two days, depending on your mysql setup
// the connection behind the sql object is closed by now
sql.query("SELECT * FROM table", function(res, errorNo) {
Ape.log( "WTF" );
});
I've been bitten by this mysql timeout that's why I remember (search
the newsgroup). But it could also happen on other things.
e.g.
Ape = null;
Ape.log( "WTF" );
Try to pin down the problem, by wrapping them up in try/catch blocks
Peter
Nicolas schreef op 2014-12-02 00:27:
> --
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to
ape-p...@googlegroups.com
> To unsubscribe from this group, send email to
>
ape-project...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/ape-project?hl=en [1]
> ---
> APE Project (Ajax Push Engine)
> Official website :
http://www.ape-project.org/ [2]
> Git Hub :
http://github.com/APE-Project/ [3]
>
> ---
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
ape-project...@googlegroups.com [4].
> For more options, visit
https://groups.google.com/d/optout [5].
>
>
> Links:
> ------
> [1]
http://groups.google.com/group/ape-project?hl=en
> [2]
http://www.ape-project.org/
> [3]
http://github.com/APE-Project/
> [4] mailto:
ape-project...@googlegroups.com
> [5]
https://groups.google.com/d/optout