Menu

Can not run phpvirtualbox due to language.php error...

Help
Mark
2016-04-13
2020-09-15
  • Mark

    Mark - 2016-04-13

    phpvirtualbox 5.05
    Virtualbox 5.16
    Ubuntu 15.10
    PHP 7.0.6
    Nginx 1.9.13

    Any ideas on how to fix the php error below?

    Tried stock config and got the same error. Can run the recovery.php and it displays and works.

    0 /var/www/php-vbox/endpoints/language.php(15): vbox_language->construct()

    1 {main}

    thrown in /var/www/php-vbox/endpoints/lib/language.php on line 73" while reading response header from upstream, client:
    xxx.xxx.xxx.xxx, server: xxx.xxxx.com, request: "GET /php-vbox/endpoints/language.php?_=1460488117938 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "xxx.xxxx.com", referrer: "https://xxx.xxxx.com/php-vbox/"

     
  • Mark

    Mark - 2016-04-13

    Found the issue. Installed php7.0-xml
    apt-get install php7.0-xml
    The key was another error further up the nginx.log

    2016/04/12 12:05:38 [error] 905#905: *650 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /var/www/php-vbox/endpoints/lib/language.php:73

    simplexxml is an xml function so installing php7.0-xml solved the problem.

    This is from a server that has been running phpvirtualbox for years. So I was
    surprised that any module was missing.

    Thank you Ian for writing such an awesome virtual management tool !!!

     
  • Cameron Southall

    Thank you for sharing.. Just had the same issue and this fixed it :)

     

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.