Did not receive a '200 OK' response from remote server.

在使用codeigniter的xmlrpc调用时,会报错,请在config.php文件中做如下配置:

//注意:当base_url配置为localhost时,在使用xmlrpc时会出错:Did not receive a '200 OK' response from remote server.
//$config['base_url']    = 'http://localhost/appbox/';
$config['base_url']    = 'http://192.168.1.125/appbox/';

猜你喜欢

转载自a564941464.iteye.com/blog/1397475