NUSOAP在PHP5下出错“SoapClient::SoapClient() expects parameter 2 to be array”
来源:互联网 发布:麦迪职业生涯数据 编辑:程序博客网 时间:2024/06/06 12:53
PHP Warning: SoapClient::SoapClient() expects parameter 2 to be array, boolean given in aaa.php on line 61
PHP Fatal error: SoapClient::SoapClient(): Invalid parameters in aaa.php on line 61
原因是nusoap的SoapClient类和php5内置的SOAP类有冲突。
解决方案
1. 修改php.ini不加载php5内置的soap扩展(windows下是php_soap.dll)。
2. 也有给nusoap的SoapClient类改名的。(http://vivekjishtu.blogspot.com/2006/03/nusoap-with-php5.html)
3. 改用php4 也行
- NUSOAP在PHP5下出错“SoapClient::SoapClient() expects parameter 2 to be array”
- soapclient
- soapclient
- token 6.x-1.17 "preg_match_all() expects parameter 2 to be string, array given in token_scan()" 问题解决
- php访问数据库出错:Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given i
- xmlrpc Warning: xmlrpc_is_fault() expects parameter 1 to be array的处理
- YII2redis存储hash数据(mb_strlen() expects parameter 1 to be string, array given)
- phpcms修改了配置文件之后出现Warning: date() expects parameter 2 to be long..错误
- Warning: mysqli_fetch_array() expects parameter 2 to be integer, string given……解决方案
- Warning: flock() expects parameter 1 to be resource
- Warning: mysql_fetch_assoc() expects parameter 1 to be resource解决方法
- PHP Warning: mysql_num_rows() expects parameter 1 to be resource
- MySQL mysql_fetch_array() expects parameter 1 to be resource报错
- SoapClient->__construct()
- Laravel SoapClient
- php-soapClient
- 在soapClient上遇到的坑
- Magento Warning: PDO::quote() expects parameter 1 to be string, object given in
- XP+IIS+FTP
- WM_NCHITTEST (处理无边框窗口的缩放)
- sql server 优化 汇总
- 创建存储 过程
- Code::Blocks 10.05的安装及使用
- NUSOAP在PHP5下出错“SoapClient::SoapClient() expects parameter 2 to be array”
- ExtJS 让grid里某行的checkbox不能选中
- gnome相关
- javascript常用检测脚本_javascript教程
- website(网站)与webapplication(应用程序)区别
- HostMonitor监控Mysql Service
- 存储过程自动执行
- Template Design Pattern
- New悟透JavaScript javascript 必看的文章