when php is compiled during ispconfig setup the xml extension isnt included, therefore the beta of the remoting framework wont work... is this problem going to be solved soon as i would like to use the framwork to set up a simple webmail service. thanks Gary Herbert
thanks, i found the error when i used print_r on the soap client and an undefined function error was present for the xml_parser_create() function. Fatal error: Call to undefined function xml_parser_create() in /home/admispconfig/ispconfig/lib/classes/ispconfig_soap.obj.php on line 3256 Gary
A new version of ISPConfig with XML support is available. Before you install this version or update your current installation, you must install the libxml2-dev package from your linux distribution. Otherwise the installation will fail. The package can be downloaded here: http://www.ispconfig.org/downloads/ISPConfig-2.1.2xml.tar.gz
i have updated ispconfig, but now it wont add a remoting user... i fill out the form and click save and nothing is created... just goes back to the remoting page without a user listed thanks Gary
After you installed the new xml enabled ISPConfig package, you must install the remoting extension again.
Framework functioning, passwords for users not set the Remoting framwork is now working, looking up data, creating users, resellers and clients.... but the passwords for web users arnt being added to the /etc/shadow file, a * is put in place of it... which only allows the root user to access the account and change the password back to their password. Code: <? include('includes/header.php'); ?> <?php /** * ISPConfig Soap Connector * Version 1.3 * (c) Projektfarm GmbH 2005 * * This script requires PHP with CURL extension * */ include("soap.lib.php"); // Insert here your 42go Server $server_url = "http://gmess.co.uk:81"; // creating object for SoapClient $soapclient = new soapclient($server_url.'/remote/index.php'); // Username and Password of the remoting user (not identical // with the user to log into the web interface!) $parameters = array('user' => 'myremotinguser', 'pass' => 'myremotingpassword'); // Login into 42go Server $session_id = $soapclient->call('login',$parameters); // Error Check if($err = $soapclient->getError()) die("Error: ".$err); // Add a User $params = array ( 'sid' => $session_id, 'module' => 'web', 'function' => 'user_add', 'params' => array ( web_title => 'JonskyMail', // web_title or web_id user_username => 'testinguser', user_name => 'Test User', user_email => 'testinguser', user_passwort => 'emachines', user_speicher => 1000, user_mailquota => 1000, user_admin => 0 )); $user_id = $soapclient->call('service',$params); if($err = $soapclient->getError()) { print("<h2>Failure</h2>"); } else { print("<h2>Success</h2><p>Your account has been successfully created.</p>"); } print("<br><p>Debugging info:<br>User Id:<br>"); print_r($user_id); print("<br>Error info:<br>"); print_r($err); print("</p>"); ?> <? include('includes/footer.htm'); ?>