I have a php function:
function iworx_editADnsRecord($record_id, $host, $ttl, $ipaddress) {
$api_controller = '/nodeworx/dns/record';
$action = 'editA';
$input = array(
'record_id' => $record_id,
'host' => $host,
'ttl' => $ttl,
'ipaddress' => $ipaddress);
$client = new SoapClient(iworxHost);
$result = $client->route(iworxKey, $api_controller, $action, $input); //Line 50 is here
return $result;
}
when editing an ‘A’ record, it displays this in apache error log:
[Thu Mar 31 13:13:32 2016] [error] [client xx.xx.xx.xx] PHP Fatal error: Uncaught SoapFault exception: [HTTP] Internal Server Error in /hidden/path/interworx.php:50
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://localho...', 'https://localho...', 1, 0)
#1 /hidden/path/interworx.php(50): SoapClient->__call('route', Array)
#2 /hidden/path/interworx.php(50): SoapClient->route('-----BEGIN INTE...', '/nodeworx/dns/r...', 'editA', Array)
#3 /hidden/path/addStatus.php(284): iworx_editADnsRecord(1620, 'hidden.subdomain...', 43200, 'xx.xx.xx.xx')
#4 {main}
thrown in /hidden/path/interworx.php on line 50
This function at one time worked. Current version: 5.1.7