Skip to Content
Menu
This question has been flagged
1 Atsakyti
5039 Rodiniai

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?

 

Portretas
Atmesti
Autorius 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.

 

 

 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
bal. 17
10717
2
birž. 25
8204
4
gruod. 15
16370
3
liep. 25
2758
1
liep. 25
1941