• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

SVN 3772: New host registration failed PHP fatal error

Scheduled Pinned Locked Moved Solved
Bug Reports
3
3
1.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    FritzBox360
    last edited by FritzBox360 Jul 14, 2015, 2:35 AM Jul 14, 2015, 8:33 AM

    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 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 **

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Jul 14, 2015, 9:38 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 27, 2015, 10:52 PM

        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/

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post

        229

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project