《PHP實例:解決出現SoapFault (looks like we got no XML document)的問題》要點:
本文介紹了PHP實例:解決出現SoapFault (looks like we got no XML document)的問題,希望對您有用。如果有疑問,可以聯系我們。
PHP應用今天在調試項目的時候出現下面的錯誤信息:
PHP應用
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配置文件中打開 php_soap 模塊,重啟apache服務器,即可解決上面的錯誤.
PHP應用以上這篇解決出現SoapFault (looks like we got no XML document)的問題就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持維易PHP.
轉載請注明本頁網址:
http://www.snjht.com/jiaocheng/573.html