I am also trying to remove the sub domain and try to recreate it because I'm thinking this must be an issue after the migration, but I get the following error in deleting the sub domain:
Script output: subdomain_destroy_pre.sh
/usr/local/directadmin/plugins/gdns-transferserver/hooks/domain_hook_manage.php: line 2: ?php: No such file or directory
/usr/local/directadmin/plugins/gdns-transferserver/hooks/domain_hook_manage.php: line 3: syntax error near unexpected token `'ionCube Loader''
/usr/local/directadmin/plugins/gdns-transferserver/hooks/domain_hook_manage.php: line 3: `if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.
");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'
ionCube')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.
Please visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'
get-loader.ioncube.com')." for install assistance.
");exit(199);'
Error writing the db file:
Script output: /usr/local/directadmin/scripts/custom/dns_write_post.sh
/usr/local/directadmin/plugins/gdns-transferserver/hooks/domain_hook_manage.php: line 2: ?php: No such file or directory
/usr/local/directadmin/plugins/gdns-transferserver/hooks/domain_hook_manage.php: line 3: syntax error near unexpected token `'ionCube Loader''
/usr/local/directadmin/plugins/gdns-transferserver/hooks/domain_hook_manage.php: line 3: `if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.
");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'
ionCube')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.
Please visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'
get-loader.ioncube.com')." for install assistance.
");exit(199);'