I'm getting some strange errors on one of my VPS servers.
I've installed and tried ape on one VPS, and it works perfect.
The other VPS does not work very well.
When trying to push data to the server, using inlinepush, i get this
error:
[{"time":"1270338805","raw":"ERR","data":
{"code":"401","value":"UNKNOWN_CHANNEL"}}]
This is my PHP-code:
$APEserver = 'http://localhost:6969/?';
$APEPassword = 'pass';
$cmd = array(array(
'cmd' => 'inlinepush',
'params' => array(
'password' => $APEPassword,
'raw' => 'postmsg',
'channel' => 'testchannel',
'data' => array(
'message' => json_encode($messages)
)
)
));
echo file_get_contents($APEserver.rawurlencode(json_encode($cmd)));
The code works fine on one of my server.
Where do I start looking for errors?
--
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/
To unsubscribe, reply using "remove me" as the subject.