0
我有一個應用程序寫在kohana FW上。由於某些原因,我不得不在Linux服務器(rhel6)上重新編譯php,並且一些與ms交換工作的進程死亡。SoapClient CreateItem返回null
新的PHP編譯了此配置選項:
./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條評論。
當我搜索的代碼,找出代碼失敗,我創造項目點:
$response = $this->client->CreateItem($CreateItem);
var_dump($response);die();
即返回null。在本地機器上這裏是對象。
PS:更多的信息提供了唯一的痕跡......((
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('[email protected]', '???????????????...', '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}"
可能是什麼以及如何檢查?