5040 - PHP Fatal error: Call to undefined method StorageGroup::getSetting()



  • After updating, I now see this in the apache log (clients sit waiting to check in)

    [Thu Oct 22 09:42:54.973919 2015] [:error] [pid 7483] [client 10.240.11.209:43438] PHP Fatal error:  Call to undefined method StorageGroup::getSetting() in /var/www/html/fog/lib/fog/StorageGroup.class.php on line 46
    


  • Fixed
    But new issue now - maybe better for another thread - php requests are slow to load now (including /fog/service/ipxe/boot.php - which sometimes times out)


  • Senior Developer

    @g.chanaud just because you don’t see it doesn’t mean it isn’t fixed. I moved the get setting and set setting so I don’t have to call them through fogcore



  • I doesn’t see it fixed in the repo.
    So here is the quickfix if you need to deploy some images right now (i was in this case after upgrading to trunk…)

    In fogproject/packages/web/lib/fog/StorageGroup.class.php
    On line 46 :

    'typeID'=>explode(',',$this->getSetting('FOG_USED_TASKS')),
    

    Should be :

    'typeID'=>explode(',',$this->FOGCore->getSetting('FOG_USED_TASKS')),
    

  • Senior Developer

    Should be solved.


Log in to reply
 

430
Online

38940
Users

10697
Topics

101497
Posts

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