typez Posted December 28, 2008 Share Posted December 28, 2008 Hey I was buiding some small forms to deal with mail-accounts in Plesk using the Plesk API RPC. The server is running Debian 4, PHP5.2.0-8+etch11 and Plesk 8.6.0. According to information provided by Parallels the API RPC version is 1.5.2.1, but i'm getting the error response 1005. This is the raw XML-packet i send: <packet version="1.5.2.1"> <domain> <get> <filter/> <dataset> <limits/> <prefs/> <user/> <hosting/> <stat/> <gen_info/> </dataset> </get> </domain> </packet> This is the response XML from Plesk: Take a look at the version attribute.. <packet version="0.0.0.0"> <system> <status>error</status> <errcode>1005</errcode> <errtext>Protocol version '0.0.0.0' is not supported. Current protocol version is '1.5.2.1'</errtext> </system> </packet> I tested with the raw integration-sample from Parallels but i still get the same response. The sample code i use for testing can be found on http://download1.parallels.com/Plesk/Plesk8.6/Doc/en-US/plesk-8.6-api-rpc-guide/33181.htm Full docs on the API: http://download1.parallels.com/Plesk/Plesk8.6/Doc/en-US/plesk-8.6-api-rpc-guide/index.htm If any of you familiar with PHP and Plesk API integrations i would appreciate your suggestions to this issue. Regards, typez Link to comment https://forums.phpfreaks.com/topic/138623-php-integration-plesk-api-rpc-error-1005-in-xml-feed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.