HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Remote Framework Help? (http://www.howtoforge.com/forums/showthread.php?t=29965)

AceP1983 3rd January 2009 08:52

Remote Framework Help?
 
I am trying to get a script going that will automate user account creation. Whenever I run the script I am getting errors back from soap.lib.php. Here is the first error that comes up.

Fatal error: Cannot redeclare timestamp_to_iso8601() (previously declared in /var/www/web10/web/webmail/soap.lib.php:435) in /var/www/web10/web/webmail/soap.lib.php on line 455

I am using the standard soap.lib.php that comes in the test files package and I have made sure that all instances of soapclient are changed to soap_client. I have a feeling that I may be double loading the script but I am not sure how. Also for clarity I am running ISPConfig 2.2.27 with remote framework 4.2.1 beta on a debian etch box. Please any help is very much appreciated and a quick thank you to all the awesome developers on these great products.

Thanks,
Ace

t-mug 7th June 2009 01:13

Care for including soap.lib.php in your scripts by include_once - NOT!! by only "include". That solves your problem :cool:


All times are GMT +2. The time now is 01:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.