• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Domain administrator permissions issue through API

S

selva kumar

Guest
hi,

I have used the code which i have mentioned below to create an account in the plesk. But I am receiving the following error. Can anybody help me regarding this issue.

Error:

SimpleXMLElement Object ( [@attributes] => Array ( [version] => 1.4.1.0 ) [system] => SimpleXMLElement Object ( [status] => error [errcode] => 1014 [errtext] => Parser error: Cannot parse the XML from the source specified ) )

Code:

<?xml version="1.0" encoding="UTF-8"?><packet version="1.4.1.0"><domain>
<add>
<gen_setup>
<name>testing.co.uk</name>
<ip_address>*.*.*.*</ip_address>
<htype>vrt_hst</htype>
<status>0</status>
</gen_setup>
<hosting>
<vrt_hst>
<ftp_login>testing.co.uk</ftp_login>
<ftp_password>********</ftp_password>
<ip_address>*.*.*.*</ip_address>
</vrt_hst>
</hosting>
<user>
<enabled>true</enabled>
<password>********</password>
<email>[email protected]</email>
<perms>
<manage_phosting>true</manage_phosting>
<manage_ftp_password>true</manage_ftp_password>
<manage_not_chroot_shell>true</manage_not_chroot_shell>
<manage_sh_access>true</manage_sh_access>
<manage_quota>true</manage_quota>
<manage_subdomains>true</manage_subdomains>
<manage_domain_aliases>true</manage_domain_aliases>
<manage_log>true</manage_log>
<manage_anonftp>true</manage_anonftp>
<manage_crontab>true</manage_crontab>
<manage_dns>true</manage_dns>
<manage_webapps>true</manage_webapps>
<manage_maillists>true</manage_maillists>
<manage_spamfilter>true</manage_spamfilter>
<manage_drweb>true</manage_drweb>
<allow_local_backups>true</allow_local_backups>
<allow_ftp_backups>true</allow_ftp_backups>
<site_builder>true</site_builder>
<manage_dashboard>true</manage_dashboard>
</perms>
</user>
<template-name>Linux Bronze</template-name>
</add>
</domain></packet>
 
Back
Top