This question has been flagged
1 Reply
3961 Views

I am trying to send image from PHP to OpenERP.

 

"image_medium" => php_xmlrpc_encode(new xmlrpcval($image,"base64")),

 

However, i got an error.

Incorrect padding
Traceback (most recent call last):

Incorrect padding
Traceback (most recent call last):

Incorrect padding.

 

Has anybody faced same problem?

 

Avatar
Discard
Author Best Answer

I am sorry guys,

It was my fault. I suppose to write field name "image" not "image_medium". Anyways, glad that i solved it.

 

 

 

Avatar
Discard