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

    Fatal PHP Error when viewing Image Management page

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    3
    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.
    • A
      Atomos
      last edited by

      Hi folks,

      So when I attempt to access the ‘list all images’ page from ‘Image Management,’ it shows a blank white screen. When I look in my httpd error log, I see this:

      [FONT=Menlo][SIZE=11px]PHP Fatal error: Call to a member function get() on a non-object in /var/www/html/fog/lib/pages/ImageManagementPage.class.php on line 119, referer: [url]http://myfogserver.com/fog/management/index.php?node=images[/url][/SIZE][/FONT]

      [FONT=Menlo][SIZE=11px]I fired up a clean installation of CentOS 6.5 and reinstalled FOG 1.1.0 (what the previous server was running, with no issues until today). I then imported the database from the backup and the issue remains (import was successful – I all hosts were there, etc). The fact that this issue remained across installations leads me to believe it’s an issue in the database itself.[/SIZE][/FONT]

      [FONT=Menlo][SIZE=11px]Any ideas? Or am I going to be left to export hosts and recreate my configuration from scratch? [/SIZE][/FONT]

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

        Going to guess, you don’t have a Master storage node?

        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
          Atomos
          last edited by

          Well, you led me to the solution!

          We have four different storage groups with their respective master nodes. In our ‘main’ group, we were retiring our server “fog1” and replacing it with “fog2.” Last night, I made the switch: I disabled “fog1” from master and set “fog2” to master on the ‘main’ group.

          The issue wasn’t with those settings, but “fog2” still had “max clients” set to 0. Setting this to 10 fixed the issue. I had only looked at the configuration summary – which looked fine to me! (master node set correctly).

          Thanks!

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

          168

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project