You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In theory, we also need to upgrade phpvirtualbox/endpoints/lib/vboxServiceWrappers.php which is automaticaly generated by a script from virtualbox SDK.
In theory, we also need to upgrade phpvirtualbox/endpoints/lib/vboxServiceWrappers.php which is automaticaly generated by a script from virtualbox SDK.
Looks like this should be done for the current release as well. Best that I can tell we're lucky that anything changed or added since whatever version we have that breaks functionality.
I'd assume we can just download the SDK file and plop down sdk/bindings/webservice/php/lib/vboxServiceWrappers.php to endpoints/lib/vboxServiceWrappers.php?
I can say that the missing (bool) casts are a problem.
However, this seems to be either the client's (phpvirtualbox) usage or vboxwebsrv not being able to convert a null to the proper boolean type. This was 'fixed' by 911952b.
phpvirtualbox is already using true/false so might as well do the right thing in the client code?
At that point you should just be able drop the SDK file directly as new SDKs are released.
Virtualbox doesn't make API changes between sub-point releases, so that means that phpvirtualbox only needs to release at every full point release. So 6.0.6 and 6.0.8 will work with the 6.0 release.
I have the same problem with installed virtual box v6.1.2.
I tried to update the phpVirtualBox 6.0-0 -/- VirtualBox 6.0.x compatible with latest version but I getting the same error.
What can I do to fix this?
Activity
hydrian commentedon Nov 8, 2018
I can be an early adopter once to coding is done.
h6w commentedon Nov 9, 2018
Done! Pull from the develop tree. Thanks!
hydrian commentedon Nov 9, 2018
Pulled the most recent version and at least the version error is gone. I'll continue testing for other issues.
tom077 commentedon Nov 19, 2018
In theory, we also need to upgrade phpvirtualbox/endpoints/lib/vboxServiceWrappers.php which is automaticaly generated by a script from virtualbox SDK.
e-alfred commentedon Jan 25, 2019
@h6w Any chance to get support for different graphics cards now supported by Virtualbox into phpvirtualbox?
derekschrock commentedon Apr 21, 2019
Looks like this should be done for the current release as well. Best that I can tell we're lucky that anything changed or added since whatever version we have that breaks functionality.
I'd assume we can just download the SDK file and plop down sdk/bindings/webservice/php/lib/vboxServiceWrappers.php to endpoints/lib/vboxServiceWrappers.php?
trasherdk commentedon Apr 21, 2019
Well, doing a diff between
vboxServiceWrappers.phpon thecurrent github devversion andsdk 6.0.4version, tells me it's not that simple.derekschrock commentedon Apr 21, 2019
I can say that the missing (bool) casts are a problem.
derekschrock commentedon Apr 21, 2019
However, this seems to be either the client's (phpvirtualbox) usage or vboxwebsrv not being able to convert a null to the proper boolean type. This was 'fixed' by 911952b.
Looks like these might be unfixed methods:
phpvirtualbox is already using
true/falseso might as well do the right thing in the client code?At that point you should just be able drop the SDK file directly as new SDKs are released.
Can phpvirtualbox support both 5 and 6 via a
config.phpvar and include eithervboxServiceWrappers5.phporvboxServiceWrappers6.phpvia https://github.com/phpvirtualbox/phpvirtualbox/blob/develop/endpoints/lib/vboxconnector.php#L123pasha1st commentedon Apr 29, 2019
Please use my fork: https://github.com/pasha1st/phpvirtualbox-6
jzedwards commentedon May 30, 2019
any planned release for 6.0.8? I can prob rollback to 6.0.6 to test, but if there is a 6.0.8 pending I would rather
h6w commentedon May 31, 2019
Virtualbox doesn't make API changes between sub-point releases, so that means that phpvirtualbox only needs to release at every full point release. So 6.0.6 and 6.0.8 will work with the 6.0 release.
easyyu commentedon Jan 17, 2020
I have the same problem with installed virtual box v6.1.2.
I tried to update the phpVirtualBox 6.0-0 -/- VirtualBox 6.0.x compatible with latest version but I getting the same error.
What can I do to fix this?
h6w commentedon Feb 6, 2020
Please try the current develop branch with Virtualbox 6.1. We've been focusing our efforts on getting that to a release state.
easyyu commentedon Feb 7, 2020
Yes..later I found.
Thx