Hi,
I encountered a strange issue when trying to add an addon domain via the API.
First I'll clarify that doing it using the web UI works as expected.
However, when i try to do it using the API, the addon domain seems to be added properly, but the API response contains both a success message and an error message "hooksadmin had an unknown error".
After inspecting the web UI i see that both the addon domain and the subdomain are added properly.
Does anyone have an idea what might be the problem?
Thanks!
I encountered a strange issue when trying to add an addon domain via the API.
First I'll clarify that doing it using the web UI works as expected.
However, when i try to do it using the API, the addon domain seems to be added properly, but the API response contains both a success message and an error message "hooksadmin had an unknown error".
Code:
class SimpleXMLElement#27 (6) {
public $apiversion =>
string(1) "2"
public $data =>
class SimpleXMLElement#29 (2) {
public $reason =>
string(142) "Using nameservers with the following IPs: [xxx.xxx.xxx.xxx]\n[ADDON DOMAIN] was [B][COLOR="#008000"]successfully parked[/COLOR][/B] on top of [SUB DOMAIN]"
public $result =>
string(1) "1"
}
public $error =>
string(31) "[B][COLOR="#FF0000"]hooksadmin had an unknown error[/COLOR][/B]"
public $event =>
class SimpleXMLElement#28 (1) {
public $result =>
string(1) "1"
}
public $func =>
string(14) "addaddondomain"
public $module =>
string(11) "AddonDomain"
}
Does anyone have an idea what might be the problem?
Thanks!