unmk2 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

sendmessage_example.php does not seem to function with current release. #132

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I have put the extracted XMPPHP and sendmessage_example.php from 
xmpphp-0.1rc2-r77 on my server
2.Edited the sendmessage_example.php to have my email and password from google
3.run the sendmessage_example.php on my server through firefox

What is the expected output? What do you see instead?
I expected to hear speech through my speakers.
I got this:
1369845840 [INFO]: Connecting to tcp://talk.google.com:5222 1369845840 [INFO]: 
Starting TLS encryption 1369845840 [INFO]: Attempting Auth... 1369845840 
[INFO]: Auth success! 1369845840 [INFO]: Bound to 
martinnewbold.mn@gmail.com/xmpphpC41870E0 1369845840 [INFO]: Session started 

What version of the product are you using? On what operating system?
xmpphp-0.1rc2-r77

Please provide any additional information below.

I changed the logging to LEVEL_VERBOSE and got the message Error on 
stream_select().

I searched for this on net and found a different BOSH.PHP file wish some 
additional changes as attached. I cannot seem to get the 
sendmessage_example.php to function is this the latest version?

Original issue reported on code.google.com by friendso...@gmail.com on 29 May 2013 at 4:49

Attachments: