Menu

An unknown PHP error occurred.

Help
itnrvo
2017-04-07
2017-05-19
  • itnrvo

    itnrvo - 2017-04-07

    Need help!
    Message - An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. The most common errors are an unclosed quote or a missing semicolon in a configuration item that has been entered.
    Ubuntu server 16.04 + php7

     vboxweb-service.service
       Loaded: loaded (/usr/lib/virtualbox/vboxweb-service.sh; enabled; vendor preset: enabled)
       Active: active (running) since Птн 2017-04-07 10:49:47 EEST; 50min ago
      Process: 1101 ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start (code=exited, status=0/SUCCESS)
        Tasks: 5
       Memory: 8.7M
          CPU: 117ms
       CGroup: /system.slice/vboxweb-service.service
               └─1412 /usr/lib/virtualbox/vboxwebsrv --background -H local_ip -p 18083 -t 0 -F /var/log/vboxwebservice.log
    
    Апр 07 10:49:47 server systemd[1]: Starting vboxweb-service.service...
    Апр 07 10:49:47 server vboxweb-service.sh[1101]: vboxweb-service.sh: Starting VirtualBox web service.
    Апр 07 10:49:47 server systemd[1]: Started vboxweb-service.service.
    
     

    Last edit: itnrvo 2017-04-07
  • No You

    No You - 2017-05-19

    I'm having the same issue, with the same version of ubuntu server & php7. I've tried reverting to a previous version of virtualbox, no change. I confirmed 127.0.0.1:18083 loads the standard XML error, but can't get any information from phpvirtualbox as to where the hangup is. Confirmed my config.php page is blank, so PHP appears to be working...

     
  • No You

    No You - 2017-05-20

    FYI - I fixed this by reviewing my /var/log/apache2/error.log. I was getting the error:
    Call to undefined function simplexml_load_striong() ...
    I followed these steps to resolve it:
    http://stackoverflow.com/questions/31206186/call-to-undefined-function-simplexml-load-string-in-cron-file

    Basically the following:
    1) Go to /etc/php/7.0/fpm and edit php.ini, uncomment to following line:extension=php_xmlrpc.dll
    2) sudo apt-get install php7.0-xml
    3) sudo service php7.0-fpm restart
    4) sudo service apache2 restart

     

    Last edit: No You 2017-05-20
  • bes

    bes - 2017-08-30

    Hello to all,
    I just install a VirtualBox and I have a similar message during its startup:
    "An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. The most common errors are an unclosed quote or a missing semicolon in a configuration item that has been entered (e.g. location, username, or password)....."
    VirtualBox_x64_5.0.40-115130-1
    Synology DS216 ll - DSM 6.1.3-15152 Update 3
    PC under WINDOWS 7 pro 64
    Internet Connection by ADSL Freebox V6 and switch D-Link 1005of
    can you help me to make it work?
    Thanks in advance.

     

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.