[TYPO3] NuSOAP error (Cannot redeclare class soapclient) [solved]

Lukas lukasnoname at yahoo.com
Tue Jan 9 09:52:56 CET 2007


Martin Kutschker wrote:
> Lukas schrieb:
>> I have installed the nuSoap extension because the Solunas extension 
>> depend on it. But I get this error message when I try to view any page:
>>
>> Fatal error: Cannot redeclare class soapclient in 
>> /Library/Servers/Server-1/Documents/roombooking/typo3conf/ext/nf_nusoap/nusoap/nusoap.php 
>> on line 3837
>>
>> Is there any newer version of nuSoap out there, I can only find 0.0.1 
>> on  http://typo3.org/extensions/repository/
> 
> The EM uses nusoap itself and ships with a version that inside the EM 
> directory. This may be a possible conflict.
> 
> Or you use PHP 5.x. I think there was a class clash between nusoap and 
> the builtin PHP5 soap classes. But that's I a while ago and may have 
> been resolved.
> 
> Masi

It was a class clash with PHP 5 that caused the problem. I removed the 
class declaration from nusoap.php and it works like a charm.

Thank you very much


More information about the TYPO3-english mailing list