Jump to content
giannis_maris

Problem Creating New Banner With Api

Recommended Posts

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

 

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...