|Hi, browsing 'http://localhost/phoogle/phoogle.php' produces this error.|
Fatal error: Cannot redeclare class soapclient in /opt/lampp/htdocs/phoogle/nusoap.php on line 6607
Which is the last line of the class. How can I make it work?
|2005-10-10 14:34:27 - In reply to message 1 from Gord Likar|
|This is caused by a conflict with the built in PHP5 soap class/client and the nusoap one. |
TO FIX: rename all occurense of "soapclient" in nusoap.php file into "soapclientx" (or whatever you want instead of x) and that should fix it.
Thanks to Cochuyt Joeri for the fix.
|2005-10-12 17:59:19 - In reply to message 2 from Justin Johnson|
|Tried renaming soapsclient to soapclientx, but it responded with a different soap error. Switched from php5 to php4 (using lampp so that was painless) then template.php responded with 'One point', 'Multiple points'. I assume its now working, now if I can the right ip - licence key match I'll be able to see the full response. |
Thanks for your help!
|2006-02-13 15:35:07 - In reply to message 2 from Justin Johnson|
|what line 6647 are you talking about ?? I have a class that has 271 lines and does not work !! Are we both talking about the same class ?? |