Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

If you are getting the "cannot redeclare soapclient" fatal error, try this


bw92116

Recommended Posts

If your server is running PHP5, the "cannot redeclare soapdirect" error may be caused by a conflict between the file "nusoap.php" and PHP5.

 

"soapclient" is declared in PHP5 and is also declared in nusoap.php. The way I fixed it was by downloading an updated version of nusoap.php, from this page:

 

http://sourceforge.net/project/showfiles.php?group_id=57663

 

You'll get a bunch of files in this download. The only one of them I used was nusoap.php. In your catalog/includes/classes, replace the file nusoap.php with the one downloaded from the page above.

 

That should clear up the problem, if it was caused by the known conflict between PHP5 and nusoap.php.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...