A
AndrewT
Guest
I am trying to develop a Plesk server plugin for ClientExec. Whenever I execute the plugin code using the CE software i keep getting this error
<?xml version="1.0"?>
<packet version="1.3.2.4">
<system>
<status>error</status>
<errcode>1002</errcode>
<errtext>Parser error: Cannot parse the XML from the source specified</errtext>
</system>
</packet>
Here is the code I am using to create a new client
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<packet version="1.3.1.0">
<client>
<add>
<gen_info>
<cname>test</cname>
<pname>this</pname>
<login>out</login>
<passwd>12345</passwd>
</gen_info>
</add>
</client>
</packet>
I notice the packet versions are different. Could that be a problem? I have tested this as a standalone script and it works fine. Any ideas?
Thanks in advance!
<?xml version="1.0"?>
<packet version="1.3.2.4">
<system>
<status>error</status>
<errcode>1002</errcode>
<errtext>Parser error: Cannot parse the XML from the source specified</errtext>
</system>
</packet>
Here is the code I am using to create a new client
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<packet version="1.3.1.0">
<client>
<add>
<gen_info>
<cname>test</cname>
<pname>this</pname>
<login>out</login>
<passwd>12345</passwd>
</gen_info>
</add>
</client>
</packet>
I notice the packet versions are different. Could that be a problem? I have tested this as a standalone script and it works fine. Any ideas?
Thanks in advance!