Menu

Login error (api.php)

Help
2016-01-04
2018-06-04
  • Guus Lieben

    Guus Lieben - 2016-01-04

    When I login to my phpVirtualBox on XAMPP (windows) I get the following error log:
    Exception Object

    (
    [message:protected] => Error logging in to vboxwebsrv.
    [string:Exception:private] =>
    [code:protected] => 64
    [file:protected] => D:\Maverick\phpVBox\htdocs\phpvbox\endpoints\api.php
    [line:protected] => 134
    [trace:Exception:private] => Array
    (
    )

    [previous:Exception:private] =>
    

    )
    I made sure I am running VBoxWebSrv, and I can see that it processes the connection.
    I'm using Windows 10, if it helps..

    Hope you guys can help me out!

    • Guus
     
    • Guus Lieben

      Guus Lieben - 2016-01-04

      Oke, so I managed to fix it on my own.. but for anyone who has the same error..
      I set var $noAuth in config.php to true.
      After that I just had to set the correct login for the system user (I still don't know how I missed that)
      After that it worked perfectly fine!

       
    • Guus Lieben

      Guus Lieben - 2016-01-04

      Oke, so I managed to fix it on my own.. but for anyone who has the same error..
      I set var $noAuth in config.php to true.
      After that I just had to set the correct login for the system user (I still don't know how I missed that)
      After that it worked perfectly fine!

       
  • bogdan rotariu

    bogdan rotariu - 2016-01-13

    can you please tell me what I am doing wrong?..it seems I have the same problem but just setting noauth as true didn;t do the trick

    https://sourceforge.net/p/phpvirtualbox/discussion/help/thread/a7f09e42/

     
  • Bugnami Odnumi

    Bugnami Odnumi - 2016-12-20

    Hi !! This is the solution for me !!

    I was logged with STANDARD and DEFAULT user & pass: admin / admin
    Then, when I'm in the webconsole, I was changed the Default Pass with mi own from "Archive"/"Change Password" menú option.

     

    Last edit: Bugnami Odnumi 2016-12-20
  • DenZuk

    DenZuk - 2018-04-16

    This parameter in config.php must be user's login and password on that host machine that runs VBox. So, unless you always login as admin, try create non-critical user in the host..... but remember, the VBoxWebSrv need admin rights (Win server machines) to run.....

    var $username = 'user-logged-on-host';
    var $password = 'pass-logged-on-host';

    Why am I replying this topic? Because when I searched, this popup but no solution (on Win-based machine). Hopefully others who experienced difficulty like me can now move along with VM's.....

    Thank you.

     

    Last edit: DenZuk 2018-04-16
  • Smart Guide

    Smart Guide - 2018-06-04

    Please note that this site is not monitored by phpvirtualbox developers. Please report all bugs to Github here: https://github.com/phpvirtualbox/phpvirtualbox/issues

     

    Last edit: Smart Guide 2018-06-04

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.