Fatal Error: Cannot Redeclare Class Soapclient In Soap.lib.php On Line 4101
fatal error: cannot redeclare class soapclient in soap.lib.php on line 4101
fatal, error, cannot, redeclare, class, soapclient, in, soaplibphp, on, line, 4101
Fatal Error: Cannot Redeclare Class Soapclient In Soap.lib.php On Line 4101
Post Description: fatal error: cannot redeclare class soapclient in soap.lib.php on line 4101
POST# 1031
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: Fatal Error: Cannot Redeclare Class Soapclient In Soap.lib.php On Line 4101
20070720--find-repace.jpg
ok, today i was working on ispconfig frameworking and i had to install soap in my server, before installing soap, i wasn't getting this error, but after i install soap, i got it.

"Fatal error: Cannot redeclare class soapclient in /var/www/web1/web/test/soap.lib.php on line 4101"


i know i didn't want to remove or uninstall soap, so the way i was able to fix this error as to rename all the instances of soapclient to soap_clien to SoapClient, or whatever you want as long as its not soapclient. i was able to do this with dreamweaver, but you can do it with notepad also or any other text editor. i guess there's already a class or function in php called soapclient and when you use the remote framework from ispconfig, you are using it again.


Fri Jul 20, 2007 8:38 pm
1
toasted
Reply #1745
you know what, i got this also, can you help?

Warning: SoapClient::SoapClient(https://xxx.xxx.x.x:81/remote/index.php) [function.SoapClient-SoapClient]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /var/www/web1/web/test/test.php on line 18

do you know why i get it.?

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload