跳至內容
選單
此問題已被標幟
1 回覆
5035 瀏覽次數

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?

 

頭像
捨棄
作者 最佳答案

I am sorry guys,

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

 

 

 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 17
10716
2
6月 25
8201
4
12月 15
16368
3
7月 25
2757
1
7月 25
1937