Fatal PHP Error when viewing Image Management page
-
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]
-
Going to guess, you don’t have a Master storage node?
-
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!