Home > php教程 > PHP源码 > 解决yii webservice 提示:Procedure 'getSent' not present 错误

解决yii webservice 提示:Procedure 'getSent' not present 错误

WBOY
Release: 2016-06-08 17:20:08
Original
1208 people have browsed it

本文章为各位介绍解决yii webservice 提示:Procedure 'getSent' not present 错误方法,有兴趣的和小编一起看看。

<script>ec(2);</script>


其实根据常用的webservice清除缓存方法,在client端加入这样一句话:

ini_set("soap.wsdl_cache_enabled", "0");
Copy after login

应该就可以了,但是处理了好久,在本地测试没问题,放到服务器上就不行,一直提示:Procedure 'getSent' not present

后来查看PHP的配置文件php.ini,找到这样一句话: soap.wsdl_cache_dir="/tmp"

然后进入对应目录,看到有这样子的文件:

wsdl-root-37c8f47f71a35a60f667be40ae619d0b
Copy after login

wsdl开头的文件,都是webservice的缓存文件,删掉这些文件,再试,一切正常了。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template