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

    Blank page in fog 1.0.1

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    1.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.
    • X
      XinKan
      last edited by

      hello,

      I have a problem on fog v 1.0.1, i upgrade since v 0.32. I have many blank page in “report management” and for wol in groups"…
      The web server and the storage isn’t on the same server
      Apache error log :

      PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/pages/HostManagementPage.class.php on line 312, referer: [url]https://zurg/fog/management/index.php?node=host[/url]
      PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 653, referer: [url]https://zurg/fog/management/index.php?node=host&sub=deploy&id=151&type=14[/url]
      PHP Warning: require_once(./lib/ReportMaker.class.php): failed to open stream: No such file or directory in /var/www/fog/management/reports/Inventory.php on line 26, referer: [url]https://zurg/fog/management/index.php?node=report&sub=imaging-log[/url]
      PHP Fatal error: require_once(): Failed opening required ‘./lib/ReportMaker.class.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/management/reports/Inventory.php on line 26, referer: [url]https://zurg/fog/management/index.php?node=report&sub=imaging-log[/url]
      ] PHP Warning: require_once(./lib/ReportMaker.class.php): failed to open stream: No such file or directory in /var/www/fog/management/reports/Equipment Loan.php on line 26, referer: [url]https://zurg/fog/management/index.php?node=report&sub=home[/url]
      PHP Fatal error: require_once(): Failed opening required ‘./lib/ReportMaker.class.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/management/reports/Equipment Loan.php on line 26, referer: [url]https://zurg/fog/management/index.php?node=report&sub=home[/url]

      ReportMaker.class.php is in /var/www/fog/lib/fog/ReportMaker.class.php

      I have same problem with WOL (group mode) :

      PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 653, referer: [url]https://zurg/fog/management/index.php?node=tasks&sub=groupadvanced&id=12[/url]

      I can deploy and capture image but deployement of my old image are very slow.

      Thanks for help if you have any idea

      1 Reply Last reply Reply Quote 0
      • Y
        yureka
        last edited by

        if you try a wake on lan without host image you have this error in apache log :

        PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 653

        it’s works if you add image to the host

        for the export :

        require_once(): Failed opening required ‘./lib/ReportMaker.class.php’

        the file ReportMaker.class.php isn’t present in :

        /var/www/fog/management/lib/

        but in :

        /var/www/fog/lib/fog/ReportMaker.class.php i try to cp the missing file i have not blank page but export do not work well.

        Thanks

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

          The “management/reports/” files should not be there.

          If you’re seeing this error it means you have files in /var/www/{fogwebdir}/management/reports/

          Remove all of those files and all should operate for 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

          1 Reply Last reply Reply Quote 0
          • Y
            yureka
            last edited by

            🙂 it works for me thank you very much !!!

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

            174

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project