php教程

超轻量级php框架startmvc

解决出现SoapFault (looks like we got no XML document)的问题

更新时间:2020-03-21 05:05:48 作者:startmvc
今天在调试项目的时候出现下面的错误信息:SoapFaultlookslikewegotnoXMLdocument(D:\phpStudy\WWW\self.sh

今天在调试项目的时候出现下面的错误信息:


SoapFault

looks like we got no XML document (D:\phpStudy\WWW\self.shop.xunmall.com\components\Proxy.php:477)

#0 D:\phpStudy\WWW\self.shop.xunmall.com\components\Proxy.php(477): SoapClient->__call('sendAllGoods', Array)
#1 D:\phpStudy\WWW\self.shop.xunmall.com\controllers\GoodsorderController.php(967): Proxy->sendAllGoods('10042', '602017062319436...')
#2 D:\phpStudy\WWW\self.shop.xunmall.com\framework\web\actions\CInlineAction.php(49): GoodsOrderController->actionSendAllGoods()
#3 D:\phpStudy\WWW\self.shop.xunmall.com\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#4 D:\phpStudy\WWW\self.shop.xunmall.com\framework\web\CController.php(286): CController->runAction(Object(CInlineAction))
#5 D:\phpStudy\WWW\self.shop.xunmall.com\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 D:\phpStudy\WWW\self.shop.xunmall.com\framework\web\CWebApplication.php(282): CController->run('sendAllGoods')
#7 D:\phpStudy\WWW\self.shop.xunmall.com\framework\web\CWebApplication.php(141): CWebApplication->runController('goodsorder/send...')
#8 D:\phpStudy\WWW\self.shop.xunmall.com\framework\base\CApplication.php(184): CWebApplication->processRequest()
#9 D:\phpStudy\WWW\self.shop.xunmall.com\index.php(14): CApplication->run()
#10 {main}

解决方法:在PHP配置文件中打开 php_soap 模块,重启apache服务器,即可解决上面的错误。

以上这篇解决出现SoapFault (looks like we got no XML document)的问题就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

looks like we got no XML document