Skip to Content
मेन्यू
This question has been flagged
1 Reply
5051 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
Related Posts Replies Views Activity
2
अप्रैल 17
10723
2
जून 25
8210
4
दिस॰ 15
16372
3
जुल॰ 25
2760
1
जुल॰ 25
1943