Fatal error: Cannot redeclare class soapclient in soap.lib.php on line 4101
- Forums
- Linux
- Fatal error: Cannot redeclare class soapclient in soap.lib.php on line 4101
This Page Contains information about Fatal error: Cannot redeclare class soapclient in soap.lib.php on line 4101 By web hosting in category Linux with 1 Replies. [3163], Last Updated: Mon Jun 24, 2024
web hosting
Fri Feb 29, 2008
1 Comments
484 Visits
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.
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.?
https://www.webune.com/forums/fatal-error-cannot-redeclare-class-soapclient-in-soaplibphp-on-line-4101-t1755.html