I've installed your library on a Debian stable system.
While locally the code worked very well (MAMP System with PHP v5.3.x), on the
server (Linux Debian PHP v5.2.6) the sandbox APNS returns a "Missing Payload"
error.
After an half of day of tests, I've located the problem: the json_encode
function takes 2nd parameter "options" from 5.3 PHP version:
http://php.net/manual/en/function.json-encode.php
Then I removed the parameter "JSON_FORCE_OBJECT" in method getPayload() of
Message object.
Now all seems works, but I don't know if my changes are ok.
I'm using only Push and Feedback functionalities.
Thank you in advance.
Simone
Original issue reported on code.google.com by lai.sim...@gmail.com on 8 Oct 2010 at 1:55
Original issue reported on code.google.com by
lai.sim...@gmail.com
on 8 Oct 2010 at 1:55