View Single Post
Old 06-15-2010, 11:41 AM   #6
Junior Member
 
Join Date: Oct 2009
Posts: 21
stderr is on a distinguished road
Default

Quote:
Originally Posted by vian View Post
Error 4 means "Invalid value". One of the parametrs you entered has invalid format or value.
Please show full http-url.
I thing that everything is ok in url... maybe there is problem with IP address which was add not by ispmgr but via system (there are lot of vlans, aliases, one hundred ips).
I'm using authentification as root - so I suppose that I have permissions for changing IP for domain.

Becouse of customer, I can't send details ... so:
ip of server is correct
session id is ok (I can add domains, etc)
domain is already in system (added by API)
ip was added by system (CentOS 5.5), loaded by ispmgr after restart (I can manipulate with it in ispmgr gui) - address is fill in url in the standard form, eg. 192.168.0.10

As example I'm using:
curl -k -s "https://example.com/manager/ispmgr?auth=15524517&func=wwwdomain.edit&sok=yes&e lid=domain.com&ip=192.168.0.1"
stderr is offline