Heim >Backend-Entwicklung >PHP-Tutorial >Gemeinsame SoapFault-Probleme und -Lösungen

Gemeinsame SoapFault-Probleme und -Lösungen

零下一度
零下一度Original
2017-06-25 10:08:423753Durchsuche

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

SoapFault

Sieht aus, als hätten wir kein XML-Dokument erhalten. (D:phpStudyWWWself.shop.xunmall.comcomponentsPro xy.php:477)

#0 D:phpStudyWWWself.shop.xunmall.comcomponentsProxy.php(477): SoapClient->__call('sendAllGoods', Array)
#1 D:phpStudyWWWself.shop.xunmall.comcontrollersGoodsorderController. php(967): Proxy->sendAllGoods('10042', '602017062319436...')
#2 D:phpStudyWWWself.shop.xunmall.comframeworkwebactionsCInlineAction.php(49): GoodsOrderController->actionSendAllGoods()
#3 D:phpStudyWWWself.shop.xunmall.comframeworkwebCController.php(308): CInlineAction->runWithParams(Array)
#4 D:phpStudyWWWself.shop.xunmall.comframeworkwebCController.php(286): CController-> ;runAction(Object(CInlineAction))
#5 D:phpStudyWWWself.shop.xunmall.comframeworkwebCController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 D:phpStudyWWWself. shop.xunmall.comframeworkwebCWebApplication.php(282): CController->run('sendAllGoods')
#7 D:phpStudyWWWself.shop.xunmall.comframeworkwebCWebApplication.php(141): CWebApplication->runController('goodsorder/ send...')
#8 D:phpStudyWWWself.shop.xunmall.comframeworkbaseCApplication.php(184): CWebApplication->processRequest()
#9 D:phpStudyWWWself.shop.xunmall.comindex.php( 14): CApplication->run()
#10 {main}

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

 

Das obige ist der detaillierte Inhalt vonGemeinsame SoapFault-Probleme und -Lösungen. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn