Plugins menu leads to http 500 error



  • Server
    • FOG Version: 1.3.0
    • OS: Ubuntu 16.04 LTS
    Description

    I enabled plugins under Fog Configuration -> Fog Settings Plugin System with the default directory FOG_PLUGINSYS_DIR = ./plugins

    When I go to the menu item Plugins I get a http 500 error. In the apache error log I see the following.

    [Tue Dec 27 14:24:00.569531 2016] [php7:error] [pid 1788] [client 192.168.2.104:53382] PHP Fatal error: Uncaught Error: Call to a member function set() on null in /var/www/fog/lib/fog/plugin.class.php:153\nStack trace:\n#0 /var/www/fog/lib/fog/plugin.class.php(195): Plugin->_getDirs()\n#1 /var/www/fog/lib/pages/pluginmanagementpage.class.php(47): Plugin->getPlugins()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(394): PluginManagementPage->__construct()\n#3 [internal function]: FOGPageManager->{closure}(’/var/www/html/f…’)\n#4 /var/www/fog/lib/fog/fogpagemanager.class.php(399): array_map(Object(Closure), Array)\n#5 /var/www/fog/lib/fog/fogpagemanager.class.php(182): FOGPageManager->_loadPageClasses()\n#6 /var/www/fog/management/index.php(49): FOGPageManager->render()\n#7 {main}\n thrown in /var/www/fog/lib/fog/plugin.class.php on line 153, referer: http://192.168.2.126/fog/management/index.php?node=about&sub=logviewer

    Sadly I don’t know how to troubleshoot this.



  • Thanks for that!



  • Excellent, that fixed it :-D


  • Senior Developer

    https://github.com/FOGProject/fogproject/issues/149

    Fixed in development. The post earlier is still valid to get things operational more immediately.

    mastacontrola created this issue in FOGProject/fogproject

    closed Plugin path setting #149


  • Senior Developer

    Apparently that was one thing I missed.

    Not the end of the world though.

    Please goto FOG Configuration Page->FOG Settings->Plugin System->FOG_PLUGINSYS_DIR

    Change to read as:
    ../lib/plugins/


Log in to reply
 

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