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.
-
https://github.com/FOGProject/fogproject/issues/149
Fixed in development. The post earlier is still valid to get things operational more immediately.
-
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/
-
https://github.com/FOGProject/fogproject/issues/149
Fixed in development. The post earlier is still valid to get things operational more immediately.
-
Excellent, that fixed it
-
Thanks for that!