Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] Procedure 'sendapkmsg' not present 在接口里新增加了一个功能
public function sendapkmsg()
{
$apkmsg = new model_shop17new_Apkms();
$date = $apkmsg->selectLastId();
if (empty($date))
{
$getmessage=array('errorcode'=>200);
}
else
{
$getmessage=array(
'errorcode'=>100,
'apkcontent' =>$date[0]['apkcontent'],
'id' =>$date[0]['getmessageid'],
'apkimg' =>$date[0]['apkimg'],
'url' =>$date[0]['url'],
'maketrue' =>$date[0]['maketrue']);
}
return json_encode($getmessage);
}
运行的时候报错!郁闷!服务器php版本:5.2.10 本地:PHP Version 5.3.7
public function sendapkmsg()
{
$apkmsg = new model_shop17new_Apkms();
$date = $apkmsg->selectLastId();
if (empty($date))
{
$getmessage=array('errorcode'=>200);
}
else
{
$getmessage=array(
'errorcode'=>100,
'apkcontent' =>$date[0]['apkcontent'],
'id' =>$date[0]['getmessageid'],
'apkimg' =>$date[0]['apkimg'],
'url' =>$date[0]['url'],
'maketrue' =>$date[0]['maketrue']);
}
return json_encode($getmessage);
}
运行的时候报错!郁闷!服务器php版本:5.2.10 本地:PHP Version 5.3.7
解决方案 »
- php数组删除元素后重新索引
- 求助,谁知道去哪申请短信网关啊??
- 数据库大赛题目
- php可以获取系统运行时间吗?
- smarty 缓存种我有一点想不通的
- 输出空格的问题?(在线等)
- 有能耐的、有本事的、会写代码的、不是只会吹的……就来告诉我:如何获取<input type="file" name="upfile">中的内容,包括完整的路径和文
- 有谁知道这两句的区别??对不起, 我没分了.
- 如何使用命令行执行php程序
- 如何用eregi_replace匹配多个字符?
- php Fatal error: Call to undefined function mb_detect_encoding()
- 急求显示当前位置的函数怎么写?
ini_set('soap.wsdl_cache_enabled','0')