Programming - Error[2]: SoapClient::__doRequest() error about calling API
仅有的幸福
仅有的幸福 2017-05-16 17:04:12
0
1
596

When I call magento’s API, I get the following error Error[2]: SoapClient::__doRequest(): 662 bytes of buffered data lost during stream conversion! I don’t know if anyone has encountered this similar problem, please provide a solution, thank you!

仅有的幸福
仅有的幸福

reply all(1)
黄舟

It seems that no one has encountered this problem before. After my exploration, I finally solved it.

In fact, this problem is caused by the version of PHP. The PHP version of the API server is 5.5, while the PHP version of the client is 5.2. This causes some functions to be incompatible. After testing, the client's PHP version is at least 5.3 or above.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!