Problem with client_update function
Hello,
If I used your example client_update:
$reseller_id = 1; $c_id = 33;
//* Get the client record $client_record = $client->client_get($session_id, $c_id); $affected_rows = $client->client_update($session_id, $c_id, $reseller_id, $client_record);
the result is:
Logged successfull. Session ID:dde434bcaf33c596b1a7f6d63538c9ab
#0 db->query(UPDATE client
SET company_name
= '', contact_name
= 'brushx', customer_no
= '422104513', username
= '422104513', password
= '1
bKMf5SXW$OK2spJVOJ88g7bJ8VWZkD/', language
= 'cz', usertheme
= 'default', street
= 'ulice 123', zip
= '14200', city
= 'obec', state
= '', country
= 'CZ', telephone
= '+420.277277277', mobile
= '', fax
= '', email
= 'prinosil@axfone.cz', internet
= '', icq
= '', vat_id
= '', company_id
= '28.2.1983', bank_account_owner
= '', bank_account_number
= '', bank_code
= '', bank_name
= '', bank_account_iban
= '', bank_account_swift
= '', notes
= '', paypal_email
= '', template_master
= '2', template_additional
= '', default_mailserver
= '1', limit_maildomain
= '-1', limit_mailbox
= '-1', limit_mailalias
= '-1', limit_mailaliasdomain
= '-1', limit_mailmailinglist
= '-1', limit_mailforward
= '-1', limit_mailcatchall
= '-1', limit_mailrouting
= '0', limit_mailfilter
= '-1', limit_fetchmail
= '-1', limit_mailquota
= '12500', limit_spamfilter_wblist
= '-1', limit_spamfilter_user
= '-1', limit_spamfilter_policy
= '-1', default_webserver
= '1', limit_web_domain
= '5', limit_web_quota
= '12500', web_php_options
= 'fast-cgi,suphp', limit_cgi
= 'n', limit_ssi
= 'n', limit_perl
= 'n', limit_ruby
= 'n', limit_python
= 'n', force_suexec
= 'y', limit_hterror
= 'n', limit_wildcard
= 'n', limit_ssl
= 'n', limit_web_aliasdomain
= '-1', limit_web_subdomain
= '-1', limit_ftp_user
= '15', limit_shell_user
= '5', ssh_chroot
= 'jailkit', limit_webdav_user
= '25', default_dnsserver
= '1', limit_dns_zone
= '-1', limit_dns_slave_zone
= '0', limit_dns_record
= '-1', limit_client
= '0', default_dbserver
= '1', limit_database
= '20', limit_cron
= '15', limit_cron_type
= 'url', limit_cron_frequency
= '1', limit_traffic_quota
= '-1', limit_openvz_vm
= '0', limit_openvz_vm_template_id
= '0', limit_aps
= '0', sys_userid
= , sys_groupid
= WHERE client_id = 33) called at [/usr/local/ispconfig/interface/lib/classes/remoting.inc.php:2908] #1 (closed) remoting->updateQueryExecute(UPDATE client
SET company_name
= '', contact_name
= 'brushx', customer_no
= '422104513', username
= '422104513', password
= '1
bKMf5SXW$OK2spJVOJ88g7bJ8VWZkD/', language
= 'cz', usertheme
= 'default', street
= 'ulice 123', zip
= '14200', city
= 'obec', state
= '', country
= 'CZ', telephone
= '+4SOAP Error: looks like we got no XML document
Problem is with generated sql sys_userid= ,
sys_groupid` =
thanks