#1  
Old 20th December 2005, 22:21
gmesscouk gmesscouk is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Php is compiled without XML

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
Reply With Quote
Sponsored Links
  #2  
Old 21st December 2005, 09:29
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,389
Thanks: 833
Thanked 5,486 Times in 4,318 Posts
Default

I will check that and post here when XML support has been added to the SVN version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd December 2005, 03:32
gmesscouk gmesscouk is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 29th December 2005, 14:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,389
Thanks: 833
Thanked 5,486 Times in 4,318 Posts
Default

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/I....1.2xml.tar.gz
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd January 2006, 05:34
gmesscouk gmesscouk is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
__________________
Gazzer
Engage Online
Reply With Quote
  #6  
Old 3rd January 2006, 10:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,389
Thanks: 833
Thanked 5,486 Times in 4,318 Posts
Default

After you installed the new xml enabled ISPConfig package, you must install the remoting extension again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 4th January 2006, 00:40
gmesscouk gmesscouk is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks very much, i'll try that now.
Gary
__________________
Gazzer
Engage Online
Reply With Quote
  #8  
Old 9th January 2006, 20:24
gmesscouk gmesscouk is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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');
?>
__________________
Gazzer
Engage Online
Reply With Quote
  #9  
Old 9th January 2006, 20:53
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,389
Thanks: 833
Thanked 5,486 Times in 4,318 Posts
 
Default

I will have a look at this tomorrow and test it with your code.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[error] an unkown filter was not added: PHP Arien Installation/Configuration 12 7th October 2006 14:17
php safe mode warning sc0ut Installation/Configuration 18 22nd December 2005 23:32
Sharedip Ivan Installation/Configuration 3 7th December 2005 15:36
Installation Problems right after php building nagual Installation/Configuration 3 31st October 2005 10:28
Installation Problems right after php building nagual Installation/Configuration 1 31st October 2005 08:30


All times are GMT +2. The time now is 15:42.


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