SVN 3772: New host registration failed PHP fatal error

  • Hello,

    i updated fog to SVN 3772 and tried to register a new host. The new MAC is shown in the host list but if i click on it to open the edit page for that host i only see a white page. The apache2 error log shows a fatal PHP error as you see below.

    I am on Ubuntu Ubuntu 14.04.2 LTS - Any ideas about this?

    Thank you!

    [Tue Jul 14 10:17:18.191472 2015] [:error] [pid 2691] [client] PHP Fatal error:  Call to a member function get() on null in /var/www/html/fog/lib/pages/HostManagementPage.class.php on line 373, referer:

    ** edit: i had to change the apache2 webroot path from /var/www to /var/www/html" in the fog configuration of apache2 **

  • Senior Developer

    The webroot issue should be fixed in SVN/GIT so I’ve solved this thread.

    TO ALL: If you’re still having the webroot issue, and you’re on Ubuntu >= 14.??, try running the installer with:

    If you access with http://IPADDRESS/fog
    ./ -y -W /var/www/html/ -D fog/

    If you intend to access with out the fog trailing:
    ./ -y -W /var/www/html/fog/

  • This post is deleted!

Log in to reply





Looks like your connection to FOG Project was lost, please wait while we try to reconnect.