Hi All,
im creating a very basic app which lets me create password protected directorys and set user, upload files etc
im using the Plesk XML API
i have working the create passworddirectory, delete passworddirectory, but i cant get the edit passworddirectory to work?
i just keep getting this XML error
this is my sample xml i sent to the server
the id is the id i retrieve from the <get> to begin with
and in my example the <name> didnt change, only the header
any help would be amazing!
Kindest Regards
Simon
im creating a very basic app which lets me create password protected directorys and set user, upload files etc
im using the Plesk XML API
i have working the create passworddirectory, delete passworddirectory, but i cant get the edit passworddirectory to work?
i just keep getting this XML error
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.9.1">
<protected-dir>
<set>
<result>
<status>error</status>
<errcode>1002</errcode>
<errtext>Non-static method ProtectedDirectoryManipulator::updateProtDirectory() cannot be called statically</errtext>
</result>
</set>
</protected-dir>
</packet>
this is my sample xml i sent to the server
so im not too sure whats going on or what im doing wrong?<?xml version="1.0" encoding="UTF-8"?>
<packet>
<protected-dir>
<set>
<filter>
<id>149</id>
</filter>
<values>
<name>/bobby</name>
<header>new header</header>
</values>
</set>
</protected-dir>
</packet>
the id is the id i retrieve from the <get> to begin with
and in my example the <name> didnt change, only the header
any help would be amazing!
Kindest Regards
Simon