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

PHP Fatal error in User.class.php on line 61? Build 4910

Scheduled Pinned Locked Moved Solved
Bug Reports
5
13
3.9k
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.
  • T
    Trevelyan
    last edited by Oct 12, 2015, 8:27 AM

    Maybe my FOG installation is broken, but I get a blank screen when navigating to the FOG web interface after updating to 4910.

    From apache2/error.log;

    [Mon Oct 12 09:22:11.650668 2015] [:error] [pid 2947] [client 10.1.21.170:18594] PHP Fatal error:  Call to a member function getSetting() on null in /var/www/html/fog/lib/fog/User.class.php on line 61, referer: (our fog URL)
    

    Line 61 is:

    $this->inactivitySessionTimeout = $this->FOGCore->getSetting('FOG_INACTIVITY_TIMEOUT');
    

    Problem with the version or problem with me?

    Thanks!

    C 1 Reply Last reply Oct 12, 2015, 9:15 AM Reply Quote 0
    • C
      ch3i Moderator @Trevelyan
      last edited by Oct 12, 2015, 9:15 AM

      @Trevelyan said:

      FOG_INACTIVITY_TIMEOUT

      Hi, in your Fog System Settings > Login Settings what’s the value of FOG_INACTIVITY_TIMEOUT ?

      1 Reply Last reply Reply Quote 0
      • M
        Matthieu Jacquart
        last edited by Oct 12, 2015, 9:26 AM

        Hi,

        For me, with 4910 I can’t login, nothing happens, stays on index.php page.
        With 4906 no problem

        Fog 1.5.9.138
        Debian 11
        Vmware ESXi

        1 Reply Last reply Reply Quote 0
        • A
          Andy Nicolson
          last edited by Oct 12, 2015, 9:27 AM

          I’m with Matthieu, updated from 48** to 4910 this morning can’t login.

          M 1 Reply Last reply Oct 12, 2015, 9:53 AM Reply Quote 0
          • T
            Trevelyan
            last edited by Oct 12, 2015, 9:31 AM

            @ch3i said:

            FOG_INACTIVITY_TIMEOUT

            Its set to 12 in the database but I can’t actually get to any FOG page - which is the problem…

            C 1 Reply Last reply Oct 12, 2015, 9:40 AM Reply Quote 0
            • C
              ch3i Moderator @Trevelyan
              last edited by Oct 12, 2015, 9:40 AM

              @Trevelyan said:

              @ch3i said:

              FOG_INACTIVITY_TIMEOUT

              Its set to 12 in the database but I can’t actually get to any FOG page - which is the problem…

              OK, problem with the version

              1 Reply Last reply Reply Quote 0
              • M
                Matthieu Jacquart @Andy Nicolson
                last edited by Oct 12, 2015, 9:53 AM

                @Andy-Nicolson For those who wants to return to previous version, you can do a

                svn up -r 4132
                

                and then make install to return to git 4906 version.
                Or wait for Tom resolve bug 😉

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

                1 Reply Last reply Reply Quote 0
                • A
                  Andy Nicolson
                  last edited by Oct 12, 2015, 9:57 AM

                  Mathieu,

                  Thank you.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Oct 12, 2015, 11:02 AM

                    Should be fixed in latest. Thanks for reporting. I am just trying to ensure safer/secure session handling.

                    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 0
                    • A
                      Andy Nicolson
                      last edited by Oct 12, 2015, 1:18 PM

                      Hey Tom,

                      All fixed here on 4914.

                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Trevelyan
                        last edited by Oct 12, 2015, 2:39 PM

                        Has it broken snapins too now? Clients on the desktop say “Unknown reponse”; an exerpt is below:

                        12/10/2015 15:22 Middleware::Communication Unknown Response: Unity de-license#!okJOBTASKID=1760JOBCREATION=2015-10-12 15:21:17SNAPINNAME=Unity de-licenseSNAP… and so on

                        T 2 Replies Last reply Oct 12, 2015, 3:41 PM Reply Quote 0
                        • T
                          Tom Elliott @Trevelyan
                          last edited by Oct 12, 2015, 3:41 PM

                          @Trevelyan I am unable to replicate the issue. It looks like, based on your system, the messages returned all as one big line. What happens if you go to: http://your.fog.ip.addr/fog/service/snapins.checkin.php?mac=MACOFHOST&newService

                          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 0
                          • T
                            Tom Elliott @Trevelyan
                            last edited by Oct 12, 2015, 4:09 PM

                            @Trevelyan Figured out the problem. There was an old debugging line added unintentionally. It has been fixed in the latest.

                            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 0
                            • 1 / 1
                            1 / 1
                            • First post
                              9/13
                              Last post

                            171

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project