When i try to create a user using the php api createacct function i get the following error:
My code:
And the account isnt created. I couldnt find a proper solution on these forums nor google, so i hope anyone can help me out. I'm convinced my paramters are correct, since listing users etc. works great. Is this a bug in the scripts?Results of your request
WWWAcct 8.0 by J. Nick Koston
Please use the this syntax
wwwacct
Account Creation Complete!!!
My code:
Disabling ssl doenst make any difference..require("accounting.inc.php");
$host = "<server.domein.tld>";
$adminuser = "root";
$whmkey = "<my little secret>";
$plan = "Pakket 1";
$username = "testelex";
$password = "testelex";
$cres = createacct ($host, $adminuser, $whmkey, 1, "testdomain.nl", $username, $password, $plan);
print_r($cres);