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

[1.3.0-RC-5] Login history report shows blank page

Scheduled Pinned Locked Moved Solved
Bug Reports
2
8
2.4k
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.
  • B
    Brian David
    last edited by Aug 1, 2016, 7:17 PM

    I am getting a blank page whenever I run the Login History report. Steps to reproduce:

    1. Go to ‘Report Management’ and select ‘Login History’.
    2. Choose any value from the username and hostname select lists.
    3. Click ‘Search’.

    After doing this, the page turns blank (i.e. completely white) and nothing happens. I see no errors on the page or in the browser console. I am using Firefox 47 on Ubuntu 14.04.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Aug 1, 2016, 7:56 PM

      What’s in your Apache error logs?

      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
      • B
        Brian David
        last edited by Aug 1, 2016, 10:21 PM

        This is the relevant log entry:

        [Mon Aug 01 17:17:35.354209 2016] [:error] [pid 1741] [client xxx.xxx.xxx.xxx:42719] PHP Fatal error: Call to a member function get() on null in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 737, referer: http://fog/fog/management/index.php?node=report&sub=user-track

        On a side note, my error log is also getting spammed with this message:

        [Mon Aug 01 17:20:12.018555 2016] [:error] [pid 5562] [client xxx.xxx.xxx.xxx:52967] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23

        T 1 Reply Last reply Aug 1, 2016, 10:23 PM Reply Quote 0
        • T
          Tom Elliott @Brian David
          last edited by Aug 1, 2016, 10:23 PM

          @Brian-David Awesome. I found it and fixed it. Sorry it won’t be ready right away, as we’re on RC cycles, I only push to a working branch.

          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
            last edited by Aug 1, 2016, 11:51 PM

            I’ll add that the line 23 error has already been addressed from earlier report today.

            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

            B 1 Reply Last reply Aug 4, 2016, 2:56 PM Reply Quote 0
            • B
              Brian David @Tom Elliott
              last edited by Aug 4, 2016, 2:56 PM

              @Tom-Elliott Did this make it into rc-6? I upgraded today, and while the line 23 error seems to be gone, the login history report still does not work. I’m getting the exact same error in the Apache logs.

              T 1 Reply Last reply Aug 7, 2016, 12:05 AM Reply Quote 0
              • T
                Tom Elliott @Brian David
                last edited by Aug 7, 2016, 12:05 AM

                @Brian-David Apparently no, it didn’t make it. It probably got missed due to trying to fix other issues. I have re-fixed this and will be in RC-7 which I expect to be pushed out this weekend.

                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

                B 1 Reply Last reply Sep 1, 2016, 3:47 PM Reply Quote 0
                • B
                  Brian David @Tom Elliott
                  last edited by Sep 1, 2016, 3:47 PM

                  @Tom-Elliott Apologies for taking so long to make this reply.

                  The login history report now runs, but it is not giving any useful information. Steps to replicate (this is using rc8):

                  1. Go to Report Manager > Login History
                  2. Enter username and hostname, then click ‘Search’.
                  3. Things start to get weird here. A table appears with two columns: one labeled ‘Host/User name’; the second labeled ‘Username’. The first column is filled with the hostname entered in step 2, while the second column is empty.
                  4. Click on the first instance of the hostname in the ‘Host/User name’ column.
                  5. Enter a date range and click ‘Search’.
                  6. At this point I get a message saying ‘No results found’. I get this regardless of what date range I choose.

                  Now, if I go to Host Management > List all hosts > hostname > Login History, then the report DOES show the correct history for any date I choose.

                  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