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

REV 4932 PHP Fatal error function get() on null in ImageManagementPage.class.php

Scheduled Pinned Locked Moved Solved
Bug Reports
2
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.
  • O
    olivierl
    last edited by Oct 13, 2015, 8:10 AM

    Hello

    I have an error when i want create a image

    PHP Fatal error:  Call to a member function get() on null in /var/www/fog/lib/pages/ImageManagementPage.class.php on line 164, referer: http://10.31.28.21/fog/management/index.php?node=image
    

    And with edit a group storage too

    PHP Fatal error:  Call to a member function get() on null in /var/www/fog/lib/pages/StorageManagementPage.class.php on line 514, referer: http://10.31.28.21/fog/management/index.php?node=storage&sub=storage-group
    

    I 'am on debian jessie and update from svn

    1 Reply Last reply Reply Quote 0
    • O
      olivierl
      last edited by olivierl Oct 13, 2015, 3:46 AM Oct 13, 2015, 9:19 AM

      Ok i ve make a clean install of fog rev 4932 it’s ok for create a image but always bug for edit storage group

      After clean install (delete database and /opt/fog and var/www/fog) and install from svn (download snapshot)
      i don’t have imageNFSGroupID in my database fog table image. Is it normal?

      Thank

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Oct 13, 2015, 11:48 AM

        So much has changed. Images can belong to multiple storage groups now, so the imageNFSGroupID is no longer present. Instead there’s an imageGroupAssoc table that handles image::storageGroup associations.

        With that said, the error you were seeing on ImageManagementPage seems, to me, to be due to there not being any enabled. I’m adding some code to help validate this.

        Please update and let me know.

        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 1
        • O
          olivierl
          last edited by Oct 14, 2015, 2:33 PM

          It 's ok now
          Thanks

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

          172

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project