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

    SVN 3582 - Hosts and Users Report Doesn't Load

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    17
    5.6k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Whenever you get a “blank page” as you describe, it usually means there’s an error being thrown.

      My guess, is either the reports were copied back from older revisions, and/or your memory limits have been met and it’s failing to display properly because it’s all used.

      Please don’t be afraid to get a copy of the apache error logs as it will help us all out.

      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

      ch3iC MRCURM Wayne WorkmanW 3 Replies Last reply Reply Quote 1
      • ch3iC
        ch3i Moderator @Tom Elliott
        last edited by

        @Tom-Elliott

        [Mon Jun 22 14:43:09 2015] [error] [client 192.168.101.252] File does not exist: /var/www/fog/management/images/csv.png, referer: http://myfogserver/fog/management/index.php?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:09 2015] [error] [client 192.168.101.252] File does not exist: /var/www/fog/management/images/pdf.png, referer: http://myfogserver/fog/management/index.php?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:09 2015] [error] [client 192.168.101.252] File does not exist: /var/www/favicon.ico, referer: http://myfogserver/fog/management/index.php?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:12 2015] [error] [client 192.168.101.252] PHP Fatal error:  Undefined class constant 'FOG_REPORT_HTML' in /var/www/fog/management/reports/Hosts and Users.php on line 61
        [Mon Jun 22 14:43:13 2015] [error] [client 192.168.101.252] File does not exist: /var/www/fog/management/images/csv.png, referer: http://myfogserver/fog/management/index.php?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:13 2015] [error] [client 192.168.101.252] File does not exist: /var/www/fog/management/images/pdf.png, referer: http://myfogserver/fog/management/index.php?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:25 2015] [error] [client 192.168.101.252] PHP Fatal error:  Undefined class constant 'FOG_REPORT_HTML' in /var/www/fog/management/reports/Hosts and Users.php on line 61, referer: http://myfogserver/fog/management/?node=report
        [Mon Jun 22 14:43:25 2015] [error] [client 192.168.101.252] File does not exist: /var/www/fog/management/images/csv.png, referer: http://myfogserver/fog/management/?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:25 2015] [error] [client 192.168.101.252] File does not exist: /var/www/fog/management/images/pdf.png, referer: http://myfogserver/fog/management/?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        [Mon Jun 22 14:43:42 2015] [error] [client 192.168.101.252] PHP Fatal error:  Call to a member function outputReport() on a non-object in /var/www/fog/management/export.php on line 4, referer: http://myfogserver/fog/management/?node=report&sub=file&f=SG9zdHMgYW5kIFVzZXJzLnBocA==
        
        1 Reply Last reply Reply Quote 0
        • MRCURM
          MRCUR Testers @Tom Elliott
          last edited by

          @Tom-Elliott [Mon Jun 22 09:07:40.448670 2015] [:error] [pid 20057] [client 172.16.236.118:50604] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 279, referer: http://fogserver.readingsd.org/fog/management/index.php?node=host

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

            @MRCUR Please adjust your memory limit from FOG Configuration->FOG Settings->General Settings->FOG_MEMORY_LIMIT

            It defaults to a minimum of 128M, so adjust to 256, 512, etc… as necessary.

            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

            MRCURM 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Tom Elliott
              last edited by

              @Tom-Elliott said:

              Whenever you get a “blank page” as you describe, it usually means there’s an error being thrown.

              My guess, is either the reports were copied back from older revisions, and/or your memory limits have been met and it’s failing to display properly because it’s all used.

              Please don’t be afraid to get a copy of the apache error logs as it will help us all out.

              What causes “Allowed memory size exhausted” ? Are we talking about RAM or partition space?

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • MRCURM
                MRCUR Testers @Tom Elliott
                last edited by

                @Tom-Elliott I set it to 512 and was able to get the “List All Hosts” page to load. I’ve gone the whole way up to 3072 and the Hosts and Users report still won’t load. At this point I can’t allocate anymore without killing my host’s RAM. Any tricks to make this not use so much memory, or am I stuck?

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

                  @MRCUR The whole idea of the Hosts and Users report is to print All hosts, and all users that have signed into every Host.

                  So, my guess is this report is much more than what you’re wanting for right now.

                  Am I correct on this?

                  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

                  MRCURM 1 Reply Last reply Reply Quote 0
                  • MRCURM
                    MRCUR Testers @Tom Elliott
                    last edited by MRCUR

                    @Tom-Elliott You’re right. What I really wanted is the “Host List”. When I run that, the page loads but the export (for CSV or PDF) does not work. Apache error log below.

                    [Mon Jun 22 10:24:00.490124 2015] [:error] [pid 28258] [client 172.16.61.10:53025] PHP Fatal error:  Call to a member function outputReport() on a non-object in /var/www/fog/management/export.php on line 4, referer: http://fogserver.readingsd.org/fog/management/index.php?node=report&sub=host-list
                    [Mon Jun 22 10:24:03.048453 2015] [:error] [pid 28455] [client 172.16.61.10:53026] PHP Fatal error:  Call to a member function outputReport() on a non-object in /var/www/fog/management/export.php on line 4, referer: http://fogserver.readingsd.org/fog/management/index.php?node=report&sub=host-list
                    [Mon Jun 22 10:24:05.591325 2015] [:error] [pid 28486] [client 172.16.61.10:53027] PHP Fatal error:  Call to a member function outputReport() on a non-object in /var/www/fog/management/export.php on line 4, referer: http://fogserver.readingsd.org/fog/management/index.php?node=report&sub=host-list
                    
                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @MRCUR
                      last edited by

                      @MRCUR Please update if you can. I just fixed a problem and it seems to be exporting the pdf’s properly now.

                      Thank you,

                      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

                      MRCURM 2 Replies Last reply Reply Quote 0
                      • MRCURM
                        MRCUR Testers @Tom Elliott
                        last edited by

                        @Tom-Elliott Thanks Tom! I’ll update as soon as I can and report back.

                        1 Reply Last reply Reply Quote 0
                        • MRCURM
                          MRCUR Testers @Tom Elliott
                          last edited by

                          @Tom-Elliott Updated to 3591. While I can get a CSV or PDF to download, the files are blank.

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

                          138

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project