首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SoapClient CreateItem返回null

SoapClient CreateItem返回null
EN

Stack Overflow用户
提问于 2015-08-15 13:46:04
回答 1查看 105关注 0票数 0

我在kohana fw上写了一个应用程序。出于某些原因,我不得不在linux (Rhel6)上重新编译php,而一些与ms exchange一起工作的进程也死了。

使用以下配置选项重新编译了新的php:

代码语言:javascript
复制
 ./configure  --build=x86_64-redhat-linux-gnu 
 --host=x86_64-redhat-linux-gnu
 --target=x86_64-redhat-linux-gnu 
 --program-prefix= 
 --prefix=/usr      
 --exec-prefix=/usr      
 --bindir=/usr/bin      
 --sbindir=/usr/sbin      
 --sysconfdir=/etc      
 --datadir=/usr/share      
 --includedir=/usr/include      
 --libdir=/usr/lib64      
 --libexecdir=/usr/libexec      
 --localstatedir=/var      
 --sharedstatedir=/var/lib      
 --mandir=/usr/share/man      
 --infodir=/usr/share/info      
 --with-libdir=lib64      
 --with-config-file-path=/etc      
 --with-config-file-scan-dir=/etc/php.d      
 --disable-debug    
 --enable-shared      
 --disable-rpath      
 --without-pear      
 --without-bz2      
 --with-exec-dir=/usr/bin      
 --with-freetype-dir=/usr      
 --with-png-dir=/usr      
 --with-xpm-dir=/usr      
 --enable-gd-native-ttf      
 --without-gdbm  
 --with-gettext  
 --with-gmp  
 --with-iconv  
 --with-jpeg-dir=/usr  
 --with-openssl  
 --with-pcre-regex=/usr  
 --with-zlib  
 --with-layout=GNU  
 --enable-exif  
 --enable-ftp  
 --enable-magic-quotes  
 --enable-sockets  
 --enable-sysvsem  
 --enable-sysvshm  
 --enable-sysvmsg  
 --enable-ucd-snmp-hack  
 --enable-shmop  
 --enable-calendar  
 --without-sqlite  
 --with-libxml-dir=/usr  
 --with-xml   
 --enable-xml  
 --with-system-tzdata  
 --with-apxs2=/usr/sbin/apxs  
 --without-gd  
 --disable-dom  
 --disable-dba  
 --without-unixODBC  
 --enable-pdo  
 --disable-xmlreader  
 --disable-xmlwriter  
 --enable-sqlite3  
 --with-sqlite3  
 --disable-phar  
 --disable-fileinfo  
 --enable-json  
 --without-pspell  
 --enable-wddx=shared   
 --with-curl  
 --disable-posix  
 --disable-sysvmsg  
 --disable-sysvshm  
 --disable-sysvsem  
 --with-pdo-informix=/opt/IBM/informix  
 --enable-intl  
 --enable-mbstring  
 --with-mysql  
 --with-mysqli  
 --enable-pcntl  
 --with-pdo-mysql  
 --with-pspell  
 --with-libedit  
 --with-readline  
 --enable-shmop  
 --with-snmp  
 --enable-soap  
 --enable-sockets   
 --without-pdo-pgsql  
 --with-pdo-dblib   
 --with-imap=/usr/local/src/imap-2007e  
 --with-imap-ssl

嗯,我所知道的是,windows上的本地项目副本仍然发送邮件,但是服务器版本不发送邮件。我搜索了所有的日志,没有发现任何有价值的错误,只有在访问日志中,只有在请求的时间和n个注释中。

当我在代码中搜索时,为了找出代码失败的地方,我到达了创建项的要点:

代码语言:javascript
复制
 $response = $this->client->CreateItem($CreateItem);

 var_dump($response);die();

返回null。在本地机器上,这里有一个物体。

欲了解更多信息,请提供唯一的跟踪信息.(

代码语言:javascript
复制
exception 'ErrorException' with message 'Trying to get property of non-object' in /opt/project/www/modules/exchangeclient/classes/exchangeclient.php:446
Stack trace:
#0 /opt/project/www/modules/exchangeclient/classes/exchangeclient.php(446): Kohana_Core::error_handler(8, 'Trying to get p...', '/opt/project/ww...', 446, Array)
#1 /opt/project/www/application/classes/controller/backend/mail.php(284): ExchangeClient->send_message('krutitskiyvn@vt...', '???????????????...', 'action_bcosale()
#3 /opt/project/www/system/classes/kohana/request/client/internal.php(118): ReflectionMethod->invoke(Object(Controller_Backend_Mail))
#4 /opt/project/www/system/classes/kohana/request/client.php(64): Kohana_Request_Client_Internal->execute_request(Object(Request))
#5 /opt/project/www/system/classes/kohana/request.php(1138): Kohana_Request_Client->execute(Object(Request))
#6 /opt/project/www/index.php(115): Kohana_Request->execute()

#7 {main}"

它可能是什么以及如何检查?!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-08-27 13:08:57

很傻,但那是缓存问题..。服务器的重新启动帮助=)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32025358

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档