顯示廣告
隱藏 ✕
※ 本文轉寄自 tomin.bbs@tomin.twbbs.org
看板 coding
作者 tomin (excelsior)
標題 NuSOAP
時間 2010/07/28 Wed 17:21:08


http://sourceforge.net/projects/nusoap/
http://code.google.com/p/nusoap-for-php5/

http://www.oreillynet.com/cs/user/view/cs_msg/56663
If you get following error with PHP5 and NuSoap:

"Cannot redeclare class soapclient"

Try this:

There seems to be a clash of PHP5 build-in soap class and the nusoap class.
Simply rename all occurences of "soapclient" in all 10 nusoap files into
"soapclientw" (or whatever instead of "w") and for me it worked.

This is a workaround/ hack. Backup your files before trying it.

--
  Origin:  Loess Plateau˙黃土高原  tomin.twbbs.org
  Author: tomin 從 tomin.mdorm.ntnu.edu.tw 發表


--
※ 看板: tomin 文章推薦值: 0 目前人氣: 0 累積人氣: 28 
guest
x)推文 r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇