pangzhongliang / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

VirtualBox4.1.12_Ubuntu showing not compatible with phpvirtualbox 4.2-4 #690

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Log in to phpvirtualbox

Expect to see list of virtual machines.
Instead get error message:
"This version of phpVirtualBox (4.2-4) is incompatible with VirtualBox 
4.1.12_Ubuntu. You probably need to download the latest phpVirtualBox 4.1-x."
then see VirtualBox root with no machines.

Ubuntu Server 12.04 64-bit.
phpVirtualBox 4.2-4.
VirtualBox 4.1.12.
PHP 5.3
Apache 2.2.

If I use the wizard to create a machine, the machine is created (on the host) 
but is never shown in phpvirtualbox and the final stage shows an error message:

"Validation constraint violation: data type mismatch in element 
'connectionType'"

Error message detail:

"SoapFault Object
(
    [message:protected] => Validation constraint violation: data type mismatch  in element 'connectionType'
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/phpvirtualbox/lib/vboxServiceWrappers.php
    [line:protected] => 1555
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxServiceWrappers.php
                    [line] => 1555
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IMachine_addStorageController
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_this] => e40ecff8347f4832-0000000000000066
                                            [name] =>  Controller
                                            [connectionType] => 
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 3632
                    [function] => addStorageController
                    [class] => IMachine
                    [type] => ->
                    [args] => Array
                        (
                            [0] =>  Controller
                            [1] => 
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 918
                    [function] => remote_machineCreate
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [disk] => /home/vbox/VirtualBox VMs/fdaf/fdaf.vdi
                                    [ostype] => Debian
                                    [memory] => 384
                                    [name] => fdaf
                                    [fn] => machineCreate
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/ajax.php
                    [line] => 306
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => machineCreate
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [disk] => /home/vbox/VirtualBox VMs/fdaf/fdaf.vdi
                                            [ostype] => Debian
                                            [memory] => 384
                                            [name] => fdaf
                                            [fn] => machineCreate
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [responseData] => 
                                                            [success] => 
                                                            [key] => b4863d2664764dc00ff22c83b2d23842
                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                    [messages] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/ajax.php
                    [line] => 306
                    [function] => machineCreate
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [disk] => /home/vbox/VirtualBox VMs/fdaf/fdaf.vdi
                                    [ostype] => Debian
                                    [memory] => 384
                                    [name] => fdaf
                                    [fn] => machineCreate
                                )

                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [data] => Array
                                                (
                                                    [responseData] => 
                                                    [success] => 
                                                    [key] => b4863d2664764dc00ff22c83b2d23842
                                                )

                                            [errors] => Array
                                                (
                                                )

                                            [persist] => Array
                                                (
                                                )

                                            [messages] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => Validation constraint violation: data type mismatch  in element 'connectionType'
    [faultcode] => SOAP-ENV:Client
)
"

Original issue reported on code.google.com by brian.ri...@gmail.com on 3 Jun 2013 at 5:12

GoogleCodeExporter commented 8 years ago
Sorry! Spent all day on this and only just realised they are different minor 
versions (12.1 / 12.2). Now trying to get 12.1-11 working. You can close this 
issue.

Original comment by brian.ri...@gmail.com on 3 Jun 2013 at 5:33

GoogleCodeExporter commented 8 years ago

Original comment by imooreya...@gmail.com on 11 Jul 2013 at 4:38