SVN 3772: New host registration failed PHP fatal error
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?
[Tue Jul 14 10:17:18.191472 2015] [:error] [pid 2691] [client 192.168.1.111:35990] 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: http://192.168.1.111/fog/management/index.php?node=host&sub=list
** edit: i had to change the apache2 webroot path from /var/www to /var/www/html" in the fog configuration of apache2 **
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
./installfog.sh -y -W /var/www/html/ -D fog/
If you intend to access with out the fog trailing:
./installfog.sh -y -W /var/www/html/fog/
This post is deleted!