> > Finally, the one thing you missed: why my modify_domain commands are
> failing
> > with "Fatal Server Errors":
>
> I just figured this one out myself. :)
The problem was that I was sending:
[action] => modify
[object] => domain
[cookie] => 740203447:207224
[attributes] => Array
(
[data] => nameserver_list
[nameserver_list] => Array
(
[action] => update
[name] => ns1.easydns.com
[sort_order] => 2
)
)
Instead of:
[action] => modify
[object] => domain
[cookie] => 740203447:207224
[attributes] => Array
(
[data] => nameserver_list
[nameserver_list] => Array
(
[0] => Array
(
[action] => update
[name] => ns1.easydns.com
[sort_order] => 2
)
)
)
The "nameserver_list" needs to be an array of an array. :/
However, I am still getting those Fatal Server Errors, specifically when I
try and update the second nameserver with a separate call to the API.
- Colin