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

PDF Report Blank

Scheduled Pinned Locked Moved Solved
Bug Reports
5
19
4.7k
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.
  • A
    Albertus
    last edited by Dec 12, 2016, 7:53 AM

    Server
    • FOG Version: 1.3.0 RC33
    • OS: UBUNTU 16.04
    Client
    • Service Version:
    • OS:
    Description

    When using report management i can export pdf document, but it always blank.
    Any idea why?

    Thank You
    Albertus

    01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
    That's me in a nutshell!!

    1 Reply Last reply Reply Quote 0
    • X
      x23piracy
      last edited by x23piracy Dec 12, 2016, 2:09 AM Dec 12, 2016, 8:08 AM

      @Tom-Elliott confirmed, seems to be a bug 🙂 For me the pdf is broken not empty (E/A error)

      alt text

      Excel export is working fine.

      ║▌║█║▌│║▌║▌█

      1 Reply Last reply Reply Quote 0
      • A
        Albertus
        last edited by Dec 12, 2016, 8:12 AM

        Good Day

        Thank You.

        01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
        That's me in a nutshell!!

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator
          last edited by Quazz Dec 12, 2016, 3:47 AM Dec 12, 2016, 9:44 AM

          PDF export is working for me (tested with imaging log)

          Which reports are you trying to export to PDF and is there anything in the Apache error logs?

          EDIT: I personally did get the following apache error, but it did not prevent successful PDF export

          [Mon Dec 12 10:43:14.903261 2016] [:error] [pid 13411] [client 192.168.1.152:56164] PHP Warning: array_pop() expects parameter 1 to be array, null given in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 341, referer: http://192.168.1.154/fog/management/index.php?node=report&sub=imaginglog
          
          X 1 Reply Last reply Dec 12, 2016, 12:35 PM Reply Quote 0
          • X
            x23piracy @Quazz
            last edited by x23piracy Dec 12, 2016, 6:40 AM Dec 12, 2016, 12:35 PM

            @Quazz Full Inventory Report is bringing me a broken pdf, imaging log produces a working but empty pdf. no entrys in apache error log.

            Is it maybe OS related? I am under Ubuntu 14 the op is under 16 what do you use?

            i made a server reboot and i can see this in error logs before trying to export to pdf, when i try to make a export again file is still broken and no additional log lines in error log.

            [Mon Dec 12 13:36:24.896317 2016] [php7:warn] [pid 20706] [client 172.19.102.88:62688] PHP Warning:  PDOStatement::execute(): MySQL server has gone away in /var/www/fog/lib/db/pdodb.class.php on line 551
            [Mon Dec 12 13:36:24.896393 2016] [php7:warn] [pid 20706] [client 172.19.102.88:62688] PHP Warning:  PDOStatement::execute(): Error reading result set's header in /var/www/fog/lib/db/pdodb.class.php on line 551
            [Mon Dec 12 13:36:28.477282 2016] [mpm_prefork:notice] [pid 32405] AH00169: caught SIGTERM, shutting down
            [Mon Dec 12 13:37:03.960928 2016] [mpm_prefork:notice] [pid 1392] AH00163: Apache/2.4.23 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
            

            Regards X23

            ║▌║█║▌│║▌║▌█

            Q 1 Reply Last reply Dec 12, 2016, 1:10 PM Reply Quote 0
            • Q
              Quazz Moderator @x23piracy
              last edited by Dec 12, 2016, 1:10 PM

              @x23piracy It’s possible, I’m using Centos 7.

              W 1 Reply Last reply Dec 12, 2016, 2:10 PM Reply Quote 0
              • X
                x23piracy
                last edited by Dec 12, 2016, 1:20 PM

                Can someone else under ubuntu test the pdf export feature too please?

                ║▌║█║▌│║▌║▌█

                T 1 Reply Last reply Dec 12, 2016, 1:28 PM Reply Quote 0
                • T
                  Tom Elliott @x23piracy
                  last edited by Dec 12, 2016, 1:28 PM

                  @x23piracy Don’t forget, you might need to install htmldoc (if it’s not already installed).

                  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

                  X 1 Reply Last reply Dec 12, 2016, 2:34 PM Reply Quote 1
                  • W
                    Wayne Workman @Quazz
                    last edited by Wayne Workman Dec 12, 2016, 8:12 AM Dec 12, 2016, 2:10 PM

                    @Quazz I’m running CentOS 7, RC-30 and I have the same blank report described here.

                    Report Management -> Inventory -> PDF

                    Gives me a file called InventoryReport.pdf that is 0 bytes in size.

                    Moved to bugs.

                    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/

                    Q 1 Reply Last reply Dec 12, 2016, 2:12 PM Reply Quote 0
                    • Q
                      Quazz Moderator @Wayne Workman
                      last edited by Quazz Dec 12, 2016, 8:14 AM Dec 12, 2016, 2:12 PM

                      @Wayne-Workman They all work fine on my end. Not sure what else I can say about it, maybe your inventory is far larger causing it to fail?

                      Also, I’m on RC33

                      Do you have the same apache errors as x23piracy?

                      W 1 Reply Last reply Dec 12, 2016, 2:14 PM Reply Quote 0
                      • W
                        Wayne Workman @Quazz
                        last edited by Dec 12, 2016, 2:14 PM

                        @Quazz Nah, I tested on my home fog server. It has about 6 machines in inventory.

                        I got a new job that starts a little later in the day, so I’m able to prowl the forums just in the mornings and after work for now.

                        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/

                        Q 1 Reply Last reply Dec 12, 2016, 2:15 PM Reply Quote 0
                        • Q
                          Quazz Moderator @Wayne Workman
                          last edited by Dec 12, 2016, 2:15 PM

                          @Wayne-Workman Only thing I can think of that might be different (aside from RC version) is that I at one point installed the yumgroup for development tools.

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wayne Workman
                            last edited by Dec 12, 2016, 2:16 PM

                            Found this in my error log, which is pretty obvious:

                            sh: htmldoc: command not found
                            sh: htmldoc: command not found
                            

                            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 2
                            • X
                              x23piracy @Tom Elliott
                              last edited by Dec 12, 2016, 2:34 PM

                              @Tom-Elliott said in PDF Report Blank:

                              @x23piracy Don’t forget, you might need to install htmldoc (if it’s not already installed).

                              root@fog:~# apt-get install htmldoc
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.
                              Statusinformationen werden eingelesen.... Fertig
                              htmldoc ist schon die neueste Version.
                              Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                                dbconfig-common javascript-common libjs-codemirror libjs-jquery
                                libjs-jquery-cookie libjs-jquery-event-drag libjs-jquery-metadata
                                libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-jquery-ui
                                libjs-underscore libonig2 libqdbm14
                              Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
                              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.```

                              ║▌║█║▌│║▌║▌█

                              Q 1 Reply Last reply Dec 12, 2016, 4:31 PM Reply Quote 0
                              • Q
                                Quazz Moderator @x23piracy
                                last edited by Quazz Dec 12, 2016, 10:38 AM Dec 12, 2016, 4:31 PM

                                @x23piracy Probably want to run apt-get auto-remove to clean that stuff up.

                                Curious how this problem seems to limit itself to Ubuntu (so far as we know), though.

                                edit: changed to apt-get for ubuntu 14

                                T W 2 Replies Last reply Dec 12, 2016, 4:33 PM Reply Quote 0
                                • T
                                  Tom Elliott @Quazz
                                  last edited by Dec 12, 2016, 4:33 PM

                                  @Quazz I was able to replicate the problem.

                                  Should be fixed in RC-34.

                                  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

                                  A 1 Reply Last reply Dec 13, 2016, 8:58 AM Reply Quote 1
                                  • T
                                    Tom Elliott
                                    last edited by Dec 12, 2016, 8:37 PM

                                    In the latest, the banner logo is now a part of the header of the HTML documents too, YAY!

                                    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
                                    • W
                                      Wayne Workman @Quazz
                                      last edited by Dec 13, 2016, 12:27 AM

                                      @Quazz said in PDF Report Blank:

                                      Curious how this problem seems to limit itself to Ubuntu (so far as we know), though.

                                      My home-production server I tested on is running CentOS 7.

                                      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
                                      • A
                                        Albertus @Tom Elliott
                                        last edited by Dec 13, 2016, 8:58 AM

                                        @Tom-Elliott

                                        Problem was fixed in RC-34/35

                                        Thank You

                                        01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                                        That's me in a nutshell!!

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

                                        180

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project