The demo under APE_JSF/Demos/Controller doesn't work for me.

The /Tools/Check passes everything.

The testing URL is as following:
http://local.ape-project.org/APE_JSF/Demos/Controller/demo.html

When I click test.php, I couldn't get the message updated on the above
page.

The APEserver on test.php page was changed to the following:
$APEserver = 'http://local.ape-project.org:6969/?';

I check log, it shows permission denied as following:

file_get_contents(http://ape.local.ape-project.org:6969/?%5B%7B%22cmd
%22%3A%22inlinepush%22%2C%22params%22%3A%7B%22password%22%3A
%22testpasswd%22%2C%22raw%22%3A%22postmsg%22%2C%22channel%22%3A
%22testchannel%22%2C%22data%22%3A%7B%22message%22%3A%22Test%20Message
%22%7D%7D%7D%5D) [<a href='function.file-get-contents'>function.file-
get-contents</a>]: failed to open stream: Permission denied in /var/
www/ape/APE_JSF/Demos/Controller/test.php on line 59, referer:
http://local.ape-project.org/APE_JSF/Demos/Controller/demo.html

When I inserted var_dump($data), I got bool(false) return.

However, when I copied the URL directly to firefox, the inlinepush
message was updated correctly.

The URL I used on the browser is as following:

http://local.ape-project.org:6969/?[{%22cmd%22%3A%22inlinepush%22%2C%22params%22%3A{%22password%22%3A%22testpasswd%22%2C%22raw%22%3A%22postmsg%22%2C%22channel%22%3A%22testchannel%22%2C%22data%22%3A{%22message%22%3A%22OK%22}}}]

This time, the var_dump($data) shows correctly as following:
[{"time":"1269208830","raw":"pushed","data":{"value":"ok"}}]

Can someone tell me what's wrong with my APE_Server setting?

Thanks

-- 
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 from this group, send email to 
ape-project+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to