ISPConfig 126.96.36.199-RC2 available for testing
The second release candidate (RC2) version of the upcoming ISPConfig 188.8.131.52 is available for download. This version is feature complete and will be released as final version if no major bugs were found. RC versions are released for testing purposes, it is not recommended to use them on production systems.
This release is a bugfix release for ISPConfig 3.0.3
Thank you for your great job.
I installed ISPConfig 184.108.40.206-RC2 on my test server and had testing with my remoting code which I am using on 220.127.116.11.
All seem working fine just except the fuction 'client_update' as this gave me an error "SOAP Error: Wrong Version".
Can you please advise how I figure out this?
Solved. modify the client_update function in /usr/local/ispconfig/interface/lib/classes/remoting.inc.php
Find this line in the function client_update:
$affected_rows = $this->updateQuery('../client/form/client.tform.php', $client_id, $reseller_id, $params);
$affected_rows = $this->updateQuery('../client/form/client.tform.php', $reseller_id, $client_id, $params);
Thanks for testing the release and providing the fix for the remoting bug! I will fix the remoting code before the 18.104.22.168 final is released.
I just checked that. The change of the parameters was intentional as we cleaned the API, there were some inconsistencies in the parameter order of functions that we fixed with 3.0.3 release. The bug was that all functions that need a client_id use the client_id as first parameter except of the client_update function, so we decided to fix that for future versions by making the client_id the first parameter in all functions.
I'am sorry for the inconvenience. We try to kep the api stable but this was a bug that we wnated to fix to make the api clearer. The change was described in the 3.0.3 release notes if I remember correctly.
Please adjust your code so that it uses the new order of parameters.
client_update($session_id, $client_id, $reseller_id, $params)
The 22.214.171.124 version has been released today. Closing the RC thread now.
|All times are GMT +2. The time now is 04:46.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.