giannis_maris Posted February 6, 2014 Report Share Posted February 6, 2014 I'm using the api to create a new banner on the server but although the banner is stored on the server and I can see it on the manager panel the xml rpc response is "Invalid return payload: enable debugging to examine incoming payload". Here is the xml rpc debugging https://skydrive.live.com/?cid=EAAC1A264FA572F3&id=EAAC1A264FA572F3%2110637 Quote Link to comment Share on other sites More sharing options...
giannis_maris Posted February 7, 2014 Author Report Share Posted February 7, 2014 The problem was the server side debug mode. I had to enable it to check some server side response errors I was having and because of the base64 encoding for the banner file posted, the response was breaking on my application. So if someone need to enable the server side debug just change the last line in \www\api\v2\xmlrpc\index.php to $server = new XML_RPC_Server($dispatches, 1, 1); just don't forget to change it back again cause you will end up spending some time figuring out the problem. Quote Link to comment Share on other sites More sharing options...
Eliza0406 Posted February 17, 2014 Report Share Posted February 17, 2014 Hi, Try enabling setdebug option in API which allows you to find out the error in creating new banners through API function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.