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



  • 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



  • It 's ok now
    Thanks


  • Senior Developer

    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.



  • 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


Log in to reply
 

372
Online

38976
Users

10712
Topics

101675
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.