Menu

parser Error after logging in vmbox 5032

Help
2017-02-02
2017-02-02
  • Randy David

    Randy David - 2017-02-02

    I'm on a windows machine and installed phpvirtualbox in xampp.
    I get the error below after login....i have the virtualbox websrv running in verbose mode so I can see the communication to it.
    I assump phpvirtual box is getting back a soap request it doesnt like?

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function VBox_Enum::construct(),
    0 passed in F:\xampp\htdocs\phpvirtualbox\endpoints\lib\vboxconnector.php on line 2522 and exactly 2 expected in F:\xampp\htdocs\phpvirtualbox\endpoints\lib\vboxServiceWrappers.php:225
    Stack trace:
    0 F:\xampp\htdocs\phpvirtualbox\endpoints\lib\vboxconnector.php(2522): VBox_Enum->
    construct()
    1 F:\xampp\htdocs\phpvirtualbox\endpoints\lib\vboxconnector.php(951): vboxconnector->remote_vboxGetEnumerationMap(Array)
    2 F:\xampp\htdocs\phpvirtualbox\endpoints\api.php(316): vboxconnector->__call('vboxGetEnumerat...', Array)
    3 {main}
    thrown in F:\xampp\htdocs\phpvirtualbox\endpoints\lib\vboxServiceWrappers.php on line 225

     
  • Thomas

    Thomas - 2017-02-05

    Hi,
    Your issue is discussed in this topic https://sourceforge.net/p/phpvirtualbox/discussion/general/thread/565b7f31/

    you are probably using php version 7.1 and phpvirtualbox is not compatible with this version by now. Maybe you could try to use a previous version of php in xampp (7.0.15 works well).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.