tags:

views:

40

answers:

2

Hello,

On my site http://www.mediadeals.co.uk , I'm getting this strange error. The site was working perfectly well a week ago on the old server.

The error is:

Fatal error: Cannot redeclare class soapclient in /home125b/sub013/sc71724-JPYM/www.mediadeals.co.uk/www/includes/libs/payment/do_payment.php on line 5261

I'm sure it is to do with server settings. Does anyone know what I need to do?

Coding is absolutely fine, for sure.

+5  A: 

SoapClient is now a built-in class in PHP. If you have any scripts using that class name you'll have to change them.

Greg
How do I do that Greg? Any ideas?
Arjun
Greg
Greg do you work as a freelancer?
Arjun
'fraid I'm too busy at the moment (braces for "why are you on SO" comments)
Greg
+1  A: 

i'm guessing you have recently updated to a new version of PHP. You probably need to remove an include to something like nusoap.php as it clashes with the soap class within PHP5 and its likely not required anymore.

seengee