LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Command-line Management » New client - default domain not created(API - webcommand)
New client - default domain not created [message #79272] Fri, 28 January 2011 14:09 Go to next message
amirk999 is currently offline amirk999  Canada
Messages: 5
Registered: January 2011
Member
Hi,

I'm new to Kloxo and have been playing around with an auto-account create script. Using some of the posts, I have most of it done, but there is one major problem:

when I create the account and specify the default domain with the v-domian_name, nothing is added. So the user has an account ready, but there is no default domain associated with their account.

The logs seem fine, and I'm running the latest version.

here is a sample log:

13:58 Jan/28/2011: array (
'login-class' => 'client',
'login-name' => 'admin',
'login-password' => 'adminpass',
'action' => 'add',
'class' => 'client',
'name' => 'asdasd',
'v-plan_name' => 'coolplan___client-admin',
'v-type' => 'customer',
'v-password' => 'gNXDH9kq',
'v-contactemail' => 'user@gmail.com',
'v-send_welcome_f' => 'on',
'v-domian_name' => 'mywebsite.com',
'v-dnstemplate_name' => 'DeDNS.dnst',
)
13:58 Jan/28/2011: __success_add


The action command that I'm running:

action=add&class=client&name=asdasd&v-plan_name= coolplan___client-admin&v-type=customer&v-password=g NXDH9kq&v-contactemail=user@gmail.com &v-send_welcome_f=on&v-domian_name=mywebsite.com& ;v-dnstemplate_name=DeDNS.dnst


When I create accounts using the Kloxo panel, the specified default domain is automatically created and it works.
Re: New client - default domain not created [message #79273 is a reply to message #79272] Fri, 28 January 2011 14:17 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2073
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

Did you do not a mistake? you write v-domian_name and it is v-domain_name




LxCenter - System Operations
Re: New client - default domain not created [message #79274 is a reply to message #79273] Fri, 28 January 2011 14:23 Go to previous messageGo to next message
amirk999 is currently offline amirk999  Canada
Messages: 5
Registered: January 2011
Member
thank you very much Very Happy

I looked at this for almost and hour and didn't catch the mistake!
Re: New client - default domain not created [message #79275 is a reply to message #79274] Fri, 28 January 2011 14:29 Go to previous message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2073
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

Youre welcome Smile 4 eyes will see more than 2 eyes Razz



LxCenter - System Operations
Previous Topic:thread.error: can't start new thread on yum
Next Topic:HyperVM add VPS
Goto Forum:
  


Current Time: Wed Jun 19 01:08:06 EDT 2013

Total time taken to generate the page: 0.01123 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software