2017-04-12 108 views
0

是的,作为完整的错误日志上面是:请求主机production.local失败:解析错误。没有很好的形成(错误代码-32700)

[Wed Apr 12 15:36:58.036443 2017] [:error] [pid 964:tid 1328] [client 127.0.0.1:55360] [SME] Request to host production.local failed: parse error. not well formed (error code -32700), referer: http://staging.local/cms/wp-admin/admin.php?page=sme-edit-batch&id=24 

我试图从staging.local数据发送到production.local其中两个领域是本地使用:

内容分期插件

有没有人对如何调试它的任何线索?

好吧,我想原始信息来自/wp-includes/class-wp-http-ixr-client.php

functions.php设置域:

$ch=curl_init(); 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false); 
curl_setopt ($ch , CURLOPT_CONNECTTIMEOUT, 0); 

,并刷新与http://staging.local/cms/wp-admin/admin.php?page=sme-preflight-batch&id=24浏览器,浏览器挂起了一会儿蒙山消息transport error: http_request_failed cURL error 28: Operation timed out after 60000 milliseconds with 0 bytes received - on host: production.local (error code -32300)回到屏幕?但我只是用零标志将cURL超时设置为无穷大?

回答

0

在我的情况下,解决方案是与我的环境,特别是php.ini

设置always_populate_raw_post_data = -1现在解决了这个问题。

相关问题