Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd October 2011, 17:12
SupportMyster SupportMyster is offline
Junior Member
 
Join Date: Oct 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Remote Problem - Adding client

I have just started trying to figure out how to use the Remote capabilities to add a client. The SOAP login works. I created a basic html form for the required fields, the $_POST array shows data submitted, the $params array shows data but when the client_add method is called, the record is created but with NO data. I get the record ID returned without error as if everything worked.

I am using ISPConfig 3.0.3.3 freshly updated.

When I replaced my params with the example client add params I get the same results.

Solved: The $params['master-template'] was set to '1'.
There were no templates defined in the client-template table.
Setting the master-template to '' or '0', conditional says > 0, prevents the array_merge.
Unsure why the array_merge removes values for keys not defined in client_template table.

Last edited by SupportMyster; 12th October 2011 at 15:20. Reason: further testing accomplished
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
remote api client add

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
DNS Lookups kieron General 4 4th May 2011 20:49
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 08:05
mail.err warnings and some mail unable to receive HellMind General 4 8th October 2010 20:57
Problem Installing Apache 2.2.8, MySQL 5.0 Client and PHP 5.2.5 On Fedora 8 (64-Bit) asyadiqin Installation/Configuration 5 10th April 2008 19:40
email problem, one client only chancer Installation/Configuration 35 13th February 2008 13:34


All times are GMT +2. The time now is 22:38.


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