Autosignup Soap Fault error.

Discussion in 'Developers' Forum' started by otacon, Feb 3, 2011.

  1. otacon

    otacon New Member

    Here is the code for my php file. I am trying to get the old autosignup to work.



    <?
    //include('nusoap.php');
    include_once('soap.lib.php');
    $e = 0;

    $server = "remcycle.net"; //for subdomains 5s7.com
    $serverpath = "http://remcycle.net:8080/remote/index.php"; //soap server http://www.5s7.com:81/remote/index.php

    // $server = "remcycle.net"; //for subdomains 5s7.com
    // $serverpath="http://remcycle.net/ispconfig_autosignup/autosignup.php"; //soap server http://www.5s7.com:81/remote/index.php

    $parameters = array('user' => '', 'pass' => '');

    if ($parameters['user'] == "XXXX") {
    echo "Please enter your remoting framework username on line 11<br />";
    $e = 1;
    }

    if ($parameters['pass'] == "XXXX") {
    echo "Please enter your remoting framework password on line 11<br />";
    $e = 1;
    }

    if ($server == "server1.remcycle.net") {
    echo "Please enter your server domain name on line 6<br />";
    echo "e.g $server = \"remcycle.net\";<br />";
    $e = 1;
    }

    if ($serverpath == "http://remcycle.net:8080/remote/") {
    echo "Please enter the path to your soap server on line 7<br />";
    echo "e.g $serverpath=\"http://www.5s7.com:8080/remote/index.php\";<br />"; //soap server
    $e = 1;
    }

    if ($e == 1) exit();

    ?>
    <table><tr><td>
    <div class="nifty" style="width: 586px">
    <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
    <div class="inside" style="text-align: left; height: 654px">
    <div style="display: block; padding: 10px 10px 0px 10px; text-decoration: none">
    <?
    $id = 0;

    if (isset($_GET['id'])) $id = $_GET['id'];

    switch ($id) {
    case 1:
    $plan = "HOUSTON 1: HOME WEBMASTER";
    break;
    case 2:
    $plan = "HOUSTON 2: PROFESSIONAL WEBMASTER";
    break;
    case 3:
    $plan = "HOUSTON 3: BUSINESS ONLINE";
    break;
    case 4:
    $plan = "HOUSTON 4: COMPANY ONLINE";
    break;
    case 5:
    $plan = "HOUSTON 5: CORPERATION ONLINE";
    break;
    case 6:
    $plan = "HOUSTON 6: UNLIMITED ONLINE";
    break;
    case 7:
    $plan = "HOUSTON 7: 5S7.COM RESELLER";
    break;
    default:
    $plan = "HOUSTON 1: HOME WEBMASTER";
    }
    ?>

    <h2><? echo $plan; ?></h2>

    <?

    $df = 0;

    if (isset($_POST['submit'])) {

    if (strlen($_POST['company']) < 2) $error = "Please enter a company name";
    elseif (strlen($_POST['firstname']) < 2) $error = "Please enter a firstname";
    elseif (!preg_match('/^[a-zA-Z]+$/', $_POST['firstname'])) $error = "Please enter a firstname";
    elseif (strlen($_POST['lastname']) < 2) $error = "Please enter a lastname";
    elseif (!preg_match('/^[a-zA-Z]+$/', $_POST['lastname'])) $error = "Please enter a lastname";
    elseif (strlen($_POST['address']) < 4) $error = "Please enter an address";
    elseif (strlen($_POST['suburb']) < 2) $error = "Please enter a suburb";
    elseif (strlen($_POST['state']) < 2) $error = "Please enter a state";
    elseif (empty($_POST['country'])) $error = "Please enter a country";
    elseif (strlen($_POST['postcode']) < 4) $error = "Please enter a postcode";
    elseif (strlen($_POST['telephone']) < 5) $error = "Please enter a telephone number";
    elseif (!preg_match('/^[0-9]+$/', $_POST['telephone'])) $error = "Please enter a valid telephone number";
    elseif (empty($_POST['email'])) $error = "Please enter an email address";
    elseif (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['email'])) $error="Please enter a valid email address";
    elseif (empty($_POST['domain']) && $_POST['fqdn'] == 1) $error = "Please enter a domain name";
    elseif (empty($_POST['domain']) && $_POST['fqdn'] == 2) $error = "Please enter a sub-domain name";
    elseif ($_POST['fqdn'] == 1 && !preg_match("/^([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $_POST['domain'])) $error = "Please enter a valid domain name";
    elseif ($_POST['fqdn'] == 2 && !ereg("^[A-Za-z0-9]{1,16}$",$_POST['domain'])) $error = "Please enter a valid sub-domain";
    elseif (strlen($_POST['username']) < 5) $error = "Please enter a valid username";
    elseif (!ereg("^[A-Za-z0-9]{1,16}$",$_POST['username'])) $error = "Invalid username. Maximum 15 chars and only letters &amp; numbers";
    elseif (strlen($_POST['password']) < 5) $error = "Please enter a valid password";
    elseif (!ereg("^[A-Za-z0-9]{1,16}$",$_POST['password'])) $error = "Invalid password. Maximum 15 chars and only letters &amp; numbers";
    else {
    $company = $_POST['company'];
    $title = $_POST['title'];
    $firstname = $_POST['firstname'];
    $lastname = $_POST['lastname'];
    $address = $_POST['address'];
    $suburb = $_POST['suburb'];
    $state = $_POST['state'];
    $country = $_POST['country'];
    $postcode = $_POST['postcode'];
    $telephone = $_POST['telephone'];
    $email = $_POST['email'];
    $fqdn = $_POST['fqdn'];
    $domain = $_POST['domain'];
    $username = $_POST['username'];
    $password = $_POST['password'];

    $soapclient = new SoapClient($serverpath);
    //$soapclient->soap_defencoding = "UTF-8";

    //username and password array moved to top

    $session_id = $soapclient->call('login', $parameters); //login

    /*if ($err = $soapclient->getError()) {
    echo '<textarea style="width: 500px; height: 300px">Registration Error 2: <pre>' . $err . '</pre>';
    echo 'Request: ' . htmlspecialchars($soapclient->request, ENT_QUOTES);
    echo 'Response: ' . htmlspecialchars($soapclient->response, ENT_QUOTES);
    echo 'Debug: ' . htmlspecialchars($soapclient->debug_str, ENT_QUOTES) . '</textarea>';}*/

    // Add A New Client /////////////////////////////////////////////////////////////////

    // $p = md5($password);
    // $pass = "||||:".$p;

    $paramA = array ('sid' => $session_id,
    'module' => 'kunde',
    'function' => 'kunde_add',
    'params' => array ('reseller_title' => 'admin',
    'kunde_title' => $username,
    'kunde_anrede' => $title,
    'kunde_firma' => $company,
    'kunde_vorname' => $firstname,
    'kunde_name' => $lastname,
    'kunde_strasse' => $address,
    'kunde_plz' => $postcode,
    'kunde_ort' => $suburb,
    'kunde_land' => $country,
    'kunde_telefon' => $telephone,
    'kunde_fax' => '',
    'kunde_email' => $email,
    'kunde_internet' => '',
    'webadmin_user' => $username,
    'webadmin_passwort' => $password,
    'kunde_province' => $state));

    // Add a User ///////////////////////////////////////////////////////////////////////

    if ($fqdn == 1) { //FQDN
    $paramB = array ('sid' => $session_id,
    'module' => 'web',
    'function' => 'user_add',
    'params' => array ('web_title' => $domain,
    'user_username' => $username,
    'user_name' => $lastname,
    'user_email' => $username.'@'.$domain,
    'user_passwort' => $password,
    'user_speicher' => '10',
    'user_mailquota' => '10',
    'user_admin' => '1'));
    } else { //SUBDOMAIN
    $paramB = array ('sid' => $session_id,
    'module' => 'web',
    'function' => 'user_add',
    'params' => array ('web_title' => $domain.'.'.$server,
    'user_username' => $username,
    'user_name' => $lastname,
    'user_email' => $username.'@'.$domain.'.'.$server,
    'user_passwort' => $password,
    'user_speicher' => '10',
    'user_mailquota' => '10',
    'user_admin' => '1'));
    }

    // Add A New Website ////////////////////////////////////////////////////////////////

    if ($fqdn == 1) { //FQDN
    $paramC = array ('sid' => $session_id,
    'module' => 'web',
    'function' => 'web_add',
    'params' => array ('kunde_title' => $username,
    'web_title' => $domain,
    'web_host' => 'www',
    'web_domain' => $domain,
    'web_ip' => '192.168.0.2',
    'web_speicher' => '250',
    'web_dns' => '1',
    'web_userlimit' => '100',
    'web_domainlimit' => '100',
    'web_shell' => '1',
    'web_cgi' => '1',
    'web_standard_cgi' => '1',
    'web_php' => '1',
    'web_php_safe_mode' => '1',
    'web_ssi' => '1',
    'web_ftp' => '1',
    'web_frontpage' => '0',
    'web_mysql' => '1',
    'web_mysql_anzahl_dbs' => '2',
    'web_ssl' => '0',
    'web_anonftp' => '1',
    'web_anonftplimit' => '250',
    'web_wap' => '1',
    'web_individual_error_pages' => '1'));
    } else { //SUBDOMAIN
    $paramC = array ('sid' => $session_id,
    'module' => 'web',
    'function' => 'web_add',
    'params' => array ('kunde_title' => $username,
    'web_title' => $domain.'.'.$server,
    'web_host' => $domain,
    'web_domain' => $server,
    'web_ip' => '192.168.0.2',
    'web_speicher' => '250',
    'web_dns' => '1',
    'web_userlimit' => '100',
    'web_domainlimit' => '100',
    'web_shell' => '1',
    'web_cgi' => '1',
    'web_standard_cgi' => '1',
    'web_php' => '1',
    'web_php_safe_mode' => '1',
    'web_ssi' => '1',
    'web_ftp' => '1',
    'web_frontpage' => '0',
    'web_mysql' => '1',
    'web_mysql_anzahl_dbs' => '2',
    'web_ssl' => '0',
    'web_anonftp' => '1',
    'web_anonftplimit' => '250',
    'web_wap' => '1',
    'web_individual_error_pages' => '1'));
    }


    if (isset($session_id)) {

    //on success a new client is created in the isp_isp_kunde & sys_user table
    $kunde_id = $soapclient->call('service', $paramA);
    echo "<h1>".$kunde_id."</h1>";

    //on success a new website is added
    $web_id = $soapclient->call('service', $paramC);
    echo "<h1>".$web_id."</h1>";

    //on success a new user is added giving FTP login email etc
    $user_id = $soapclient->call('service', $paramB);
    echo "<h1>".$user_id."</h1>";
    }

    $soapclient->call('logout',array('sid' => $session_id));

    $df = 1;
    }
    }
    if (isset($error)) echo "<div class=\"message\">$error</div>";

    if ($df != 1) {
    //Display the form
    echo ('<form action="'.htmlspecialchars($_SERVER['PHP_SELF']).'" method="post">
    <table align="center" style="text-align: left">
    <tr><td>Company: </td><td><input type="text" name="company" value="'.$_POST['company'].'" style="width: 250px" maxlength="50"></td></tr>
    <tr><td>Firstname*: </td><td><select name="title">
    <option value="Herr">Mr</option>
    <option value="Miss">Mrs</option>
    <option value="Mrs">Miss</option>
    </select><input type="text" name="firstname" value="'.$_POST['firstname'].'" style="width: 191px" maxlength="50"></td></tr>
    <tr><td>Lastname*: </td><td><input type="text" name="lastname" value="'.$_POST['lastname'].'" style="width: 250px" maxlength="50"></td></tr>
    <tr><td>Address*: </td><td><input type="text" name="address" value="'.$_POST['address'].'" style="width: 250px" maxlength="150"></td></tr>
    <tr><td>Suburb*: </td><td><input type="text" name="suburb" value="'.$_POST['suburb'].'" style="width: 250px" maxlength="100"></td></tr>
    <tr><td>State*: </td><td><input type="text" name="state" value="'.$_POST['state'].'" style="width: 250px" maxlength="100"></td></tr>

    <tr><td>Country*: </td><td>

    <select name="country" style="width: 250px">
    <option value="US">United States of America</option>
    <option value="UM">United States Minor Outlying Islands</option>
    <option value="GB">United Kingdom</option>
    <option value="CA">Canada</option>
    <option value="AU">Australia</option>
    <option value="NZ">New Zealand</option>
    <option value="AF">Afghanistan</option>
    <option value="AL">Albania</option>
    <option value="AS">American Samoa</option>
    <option value="AD">Andorra</option>
    <option value="AO">Angola</option>
    <option value="AI">Anguilla</option>
    <option value="AQ">Antarctica</option>
    <option value="AG">Antigua and Barbuda</option>
    <option value="AR">Argentina</option>
    <option value="AM">Armenia</option>
    <option value="AW">Aruba</option>
    <option value="AW">Aruba</option>
    <option value="AT">Austria</option>
    <option value="AT">Austria</option>
    <option value="AZ">Azerbaijan</option>
    <option value="BS">Bahamas</option>
    <option value="BH">Bahrain</option>
    <option value="BD">Bangladesh</option>
    <option value="BB">Barbados</option>
    <option value="BB">Barbados</option>
    <option value="BY">Belarus</option>
    <option value="BE">Belgium</option>
    <option value="BZ">Belize</option>
    <option value="BJ">Benin</option>
    <option value="BM">Bermuda</option>
    <option value="BT">Bhutan</option>
    <option value="BO">Bolivia</option>
    <option value="BA">Bosnia and Herzegovina</option>
    <option value="BW">Botswana</option>
    <option value="BV">Bouvet Island</option>
    <option value="BR">Brazil</option>
    <option value="IO">British Indian Ocean Territory</option>
    <option value="BN">Brunei Darussalam</option>
    <option value="BG">Bulgaria</option>
    <option value="BF">Burkina Faso</option>
    <option value="BI">Burundi</option>
    <option value="KH">Cambodia</option>
    <option value="CM">Cameroon</option>
    <option value="CV">Cape Verde</option>
    <option value="KY">Cayman Islands</option>
    <option value="CF">Central African Republic</option>
    <option value="TD">Chad</option>
    <option value="CL">Chile</option>
    <option value="CN">China</option>
    <option value="CX">Christmas Island</option>
    <option value="CC">Cocos (Keeling) Islands</option>
    <option value="CO">Colombia</option>
    <option value="KM">Comoros</option>
    <option value="CG">Congo</option>
    <option value="CK">Cook Islands</option>
    <option value="CR">Costa Rica</option>
    <option value="CI">Côte d\'Ivoire</option>
    <option value="HR">Croatia</option>
    <option value="CU">Cuba</option>
    <option value="CZ">Czech Republic</option>
    <option value="DK">Denmark</option>
    <option value="DJ">Djibouti</option>
    <option value="DM">Dominica</option>
    <option value="DO">Dominican Republic</option>
    <option value="TP">East Timor</option>
    <option value="EC">Ecuador</option>
    <option value="EG">Egypt</option>
    <option value="SV">El salvador</option>
    <option value="GQ">Equatorial Guinea</option>
    <option value="ER">Eritrea</option>
    <option value="EE">Estonia</option>
    <option value="ET">Ethiopia</option>
    <option value="FK">Falkland Islands</option>
    <option value="FO">Faroe Islands</option>
    <option value="FJ">Fiji</option>
    <option value="FI">Finland</option>
    <option value="FR">France</option>
    <option value="GF">French Guiana</option>
    <option value="PF">French Polynesia</option>
    <option value="TF">French Southern Territories</option>
    <option value="GA">Gabon</option>
    <option value="GM">Gambia</option>
    <option value="GE">Georgia</option>
    <option value="GH">Ghana</option>
    <option value="GI">Gibraltar</option>
    <option value="GR">Greece</option>
    <option value="GL">Greenland</option>
    <option value="GD">Grenada</option>
    <option value="GP">Guadeloupe</option>
    <option value="GU">Guam</option>
    <option value="GT">Guatemala</option>
    <option value="GN">Guinea</option>
    <option value="GW">Guinea-Bissau</option>
    <option value="GY">Guyana</option>
    <option value="HT">Haiti</option>
    <option value="HM">Heard Island and McDonald Islands</option>
    <option value="VA">Holy See (Vatican City State)</option>
    <option value="HN">Honduras</option>
    <option value="HU">Hungary</option>
    <option value="IS">Iceland</option>
    <option value="IN">India</option>
    <option value="ID">Indonesia</option>
    <option value="IR">Iran</option>
    <option value="IQ">Iraq</option>
    <option value="IE">Ireland</option>
    <option value="IL">Israel</option>
    <option value="IT">Italy</option>
    <option value="JM">Jamaica</option>
    <option value="JP">Japan</option>
    <option value="JO">Jordan</option>
    <option value="KZ">Kazakstan</option>
    <option value="KE">Kenya</option>
    <option value="KI">Kiribati</option>
    <option value="KW">Kuwait</option>
    <option value="KG">Kyrgystan</option>
    <option value="LA">Lao</option>
    <option value="LV">Latvia</option>
    <option value="LV">Latvia</option>
    <option value="LB">Lebanon</option>
    <option value="LS">Lesotho</option>
    <option value="LY">Libyan Arab Jamahiriya</option>
    <option value="LI">Liechtenstein</option>
    <option value="LT">Lithuania</option>
    <option value="LU">Luxembourg</option>
    <option value="MO">Macau</option>
    <option value="MK">Macedonia (FYR)</option>
    <option value="MG">Madagascar</option>
    <option value="MW">Malawi</option>
    <option value="MY">Malaysia</option>
    <option value="MV">Maldives</option>
    <option value="ML">Mali</option>
    <option value="MT">Malta</option>
    <option value="MH">Marshall Islands</option>
    <option value="MQ">Martinique</option>
    <option value="MR">Mauritania</option>
    <option value="MU">Mauritius</option>
    <option value="YT">Mayotte</option>
    <option value="MX">Mexico</option>
    <option value="FM">Micronesia</option>
    <option value="MD">Moldova</option>
    <option value="MC">Monaco</option>
    <option value="MN">Mongolia</option>
    <option value="MS">Montserrat</option>
    <option value="MA">Morocco</option>
    <option value="MZ">Mozambique</option>
    <option value="MZ">Mozambique</option>
    <option value="MM">Myanmar</option>
    <option value="NA">Namibia</option>
    <option value="NR">Nauru</option>
    <option value="NP">Nepal</option>
    <option value="NL">Netherlands</option>
    <option value="AN">Netherlands Antilles</option>
    <option value="NT">Neutral Zone</option>
    <option value="NC">New Caledonia</option>
    <option value="NI">Nicaragua</option>
    <option value="NE">Niger</option>
    <option value="NG">Nigeria</option>
    <option value="NU">Niue</option>
    <option value="NF">Norfolk Island</option>
    <option value="KP">North Korea</option>
    <option value="MP">Northern Mariana Islands</option>
    <option value="NO">Norway</option>
    <option value="OM">Oman</option>
    <option value="PK">Pakistan</option>
    <option value="PW">Palau</option>
    <option value="PA">Panama</option>
    <option value="PG">Papua New Guinea</option>
    <option value="PY">Paraguay</option>
    <option value="PE">Peru</option>
    <option value="PH">Philippines</option>
    <option value="PN">Pitcairn</option>
    <option value="PL">Poland</option>
    <option value="PT">Portugal</option>
    <option value="PR">Puerto Rico</option>
    <option value="RE">Reunion</option>
    <option value="RO">Romania</option>
    <option value="RU">Russian Federation</option>
    <option value="RW">Rwanda</option>
    <option value="SH">Saint Helena</option>
    <option value="KN">Saint Kitts and Nevis</option>
    <option value="LC">Saint Lucia</option>
    <option value="PM">Saint Pierre and Miquelon</option>
    <option value="VC">Saint Vincent and the Grenadines</option>
    <option value="WS">Samoa</option>
    <option value="SM">San Marino</option>
    <option value="ST">Sao Tome and Principe</option>
    <option value="SA">Saudi Arabia</option>
    <option value="SN">Senegal</option>
    <option value="SC">Seychelles</option>
    <option value="SL">Sierra Leone</option>
    <option value="SL">Sierra Leone</option>
    <option value="SG">Singapore</option>
    <option value="SK">Slovakia</option>
    <option value="SI">Slovenia</option>
    <option value="SB">Solomon Islands</option>
    <option value="SO">Somalia</option>
    <option value="ZA">South Africa</option>
    <option value="GS">South Georgia</option>
    <option value="KR">South Korea</option>
    <option value="ES">Spain</option>
    <option value="LK">Sri Lanka</option>
    <option value="SD">Sudan</option>
    <option value="SD">Sudan</option>
    <option value="SR">Suriname</option>
    <option value="SJ">Svalbard and Jan Mayen Islands</option>
    <option value="SZ">Swaziland</option>
    <option value="SZ">Swaziland</option>
    <option value="SE">Sweden</option>
    <option value="CH">Switzerland</option>
    <option value="CH">Switzerland</option>
    <option value="SY">Syria</option>
    <option value="SY">Syria</option>
    <option value="TW">Taiwan</option>
    <option value="TJ">Tajikistan</option>
    <option value="TZ">Tanzania</option>
    <option value="TH">Thailand</option>
    <option value="TG">Togo</option>
    <option value="TK">Tokelau</option>
    <option value="TO">Tonga</option>
    <option value="TO">Tonga</option>
    <option value="TT">Trinidad and Tobago</option>
    <option value="TN">Tunisia</option>
    <option value="TR">Turkey</option>
    <option value="TM">Turkmenistan</option>
    <option value="TC">Turks and Caicos Islands</option>
    <option value="TV">Tuvalu</option>
    <option value="UG">Uganda</option>
    <option value="UA">Ukraine</option>
    <option value="AE">United Arab Emirates</option>
    <option value="UY">Uruguay</option>
    <option value="UZ">Uzbekistan</option>
    <option value="VU">Vanuatu</option>
    <option value="VE">Venezuela</option>
    <option value="VN">Viet Nam</option>
    <option value="VG">Virgin Islands (British)</option>
    <option value="VI">Virgin Islands (U.S.)</option>
    <option value="WF">Wallis and Futuna Islands</option>
    <option value="EH">Western Sahara</option>
    <option value="YE">Yemen</option>
    <option value="YU">Yugoslavia</option>
    <option value="ZR">Zaire</option>
    <option value="ZM">Zambia</option>
    <option value="ZW">Zimbabwe</option>
    </select></td></tr>
    <tr><td>Postcode*: </td><td><input type="text" name="postcode" value="'.$_POST['postcode'].'" style="width: 125px" maxlength="9"></td></tr>
    <tr><td>Telephone*: </td><td><input type="text" name="telephone" value="'.$_POST['telephone'].'" style="width: 250px" maxlength="20"></td></tr>
    <tr><td>Email*: </td><td><input type="text" name="email" value="'.$_POST['email'].'" style="width: 250px" maxlength="80"></td></tr>
    <tr><td>Domain Type*:</td>
    <td>
    <input type="radio" name="fqdn" value="1"');

    if (($_POST['fqdn']==1) || (empty($_POST['fqdn']))) echo 'checked="checked"'; echo ('>Domain (FQDN - www.yourname.com)</input>
    <br />
    <input type="radio" name="fqdn" value="2"');

    if ($_POST['fqdn']==2) echo 'checked="checked"'; echo ('>Sub-Domain (yourname.5s7.com)</input>
    </td>
    <td><a href="http://domains.ecommsec.com/" target="_blank">search & register domain name</a></td>
    </tr>
    <tr><td>Domain Name*: </td><td><input type="text" name="domain" value="'.$_POST['domain'].'" style="width: 250px" maxlength="80"></td><td>&nbsp;(Sub) or (FQDN)</tr>
    <tr><td>Username*: </td><td><input type="text" name="username" value="'.$_POST['username'].'" style="width: 250px" maxlength="20"></td></tr>
    <tr><td>Password*: </td><td><input type="password" name="password" value="'.$_POST['password'].'" style="width: 250px" maxlength="20"></td></tr>
    <tr><td colspan="3" align="center"><br /><input type="submit" name="submit" value=" Submit "></td></tr>
    </table>
    </form>');
    }

    if ($df == 1) echo 'Welcome to 5s7 Hosting, registration is complete please <a href="http://www.5s7.com:81/login.php">login</a> and upload your website<b>. Your account should be active immediately.';
    ?>
    <br />
    </div></div>
    <b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
    </div>
    </td><td>
    <div class="nifty" style="width: 173px">
    <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
    <div class="inside" style="height: 654px">
    </div>
    <b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
    </div>
    </td></tr></table>


    When I run this script I get the error:


    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://remcycle.net:8080/remote/index.php' in /var/www/clients/client0/web2/web/ispconfig_autosignup/autosignup.php:124 Stack trace: #0 /var/www/clients/client0/web2/web/ispconfig_autosignup/autosignup.php(124): SoapClient->SoapClient('http://remcycle...') #1 {main} thrown in /var/www/clients/client0/web2/web/ispconfig_autosignup/autosignup.php on line 124


    Any suggestions on how I can decipher this error and fix the issue?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig 2 and 3 are completely different software packages. You can not use a script which was written for ispconfig 2 on a ispconfig 3 installation.
     
  3. otacon

    otacon New Member

    Ah.. that make perfect sense. I will just continue my efforts to dabble into the art of php as per the examples given.
     

Share This Page