By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,866 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,866 IT Pros & Developers. It's quick & easy.

PHP and NuSoap

P: n/a
Hi,

I've downloaded the NuSoap class files. I've put them onto my localhost/
where I run my php scripts, just put the nusoap.php file in there. I've
got loads of different scripts to try out (including the ones that come
with soap) and I'm getting the same error for each of them:
Fatal error: Cannot redeclare class soapclient in
/opt/lampp/htdocs/Jims/Database/nusoap.php on line 6500
Can anyone tell me why I would get this? BTW its the last line in
nusoap.php.

/opt/lampp/htdocs/Jims/Database/ is just my developent folder for php.#

Thanks,
Jim.
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"James Kennedy" <jk********@blueyonder.co.uk> wrote in message
news:tO*******************@fe3.news.blueyonder.co. uk...
Hi,

I've downloaded the NuSoap class files. I've put them onto my localhost/
where I run my php scripts, just put the nusoap.php file in there. I've
got loads of different scripts to try out (including the ones that come
with soap) and I'm getting the same error for each of them:
Fatal error: Cannot redeclare class soapclient in
/opt/lampp/htdocs/Jims/Database/nusoap.php on line 6500
Can anyone tell me why I would get this? BTW its the last line in
nusoap.php.


Not sure if it has anything to do with your problem, but when I have had
'error on line xxx', where xxx is the last line of my file, it was generally
because there were missing braces({}) in nested loops or function
definitions.

HTH
Jul 17 '05 #2

P: n/a
Aidan wrote:

Not sure if it has anything to do with your problem, but when I have had
'error on line xxx', where xxx is the last line of my file, it was generally
because there were missing braces({}) in nested loops or function
definitions.

HTH


Hi,

No, this is generating an error in nusoap.php, as in the dowloaded class
libraries, that, I would assume, is coplete and ready to go. I think the
problem is that I have to set something up concerning nusoap, but I
don't know what?

Thanks Jim.
Jul 17 '05 #3

P: n/a
James Kennedy wrote:
Aidan wrote:

Not sure if it has anything to do with your problem, but when I have
had 'error on line xxx', where xxx is the last line of my file, it was
generally because there were missing braces({}) in nested loops or
function definitions.

HTH


Hi,

No, this is generating an error in nusoap.php, as in the dowloaded class
libraries, that, I would assume, is coplete and ready to go. I think the
problem is that I have to set something up concerning nusoap, but I
don't know what?

Thanks Jim.


If you are using php5 and have the built-in soap classes (i.e.
SoapClient) enabled then it is going to think you are redeclaring the
SoapClient class and throw this error. If you want to use NuSOAP then
disable the built-in classes...

Fast
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.