• 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.
    • TrevelyanT
      Trevelyan
      last edited by

      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!

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @Trevelyan
        last edited by

        @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
        • Matthieu JacquartM
          Matthieu Jacquart
          last edited by

          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

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

            Matthieu JacquartM 1 Reply Last reply Reply Quote 0
            • TrevelyanT
              Trevelyan
              last edited by

              @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…

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @Trevelyan
                last edited by

                @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
                • Matthieu JacquartM
                  Matthieu Jacquart @Andy Nicolson
                  last edited by

                  @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

                    Mathieu,

                    Thank you.

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      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

                        Hey Tom,

                        All fixed here on 4914.

                        Thanks.

                        1 Reply Last reply Reply Quote 0
                        • TrevelyanT
                          Trevelyan
                          last edited by

                          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

                          Tom ElliottT 2 Replies Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @Trevelyan
                            last edited by

                            @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
                            • Tom ElliottT
                              Tom Elliott @Trevelyan
                              last edited by

                              @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
                              • First post
                                Last post

                              235

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project