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

    Plugins menu leads to http 500 error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    5
    1.3k
    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.
    • E
      eVal
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

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

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

        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 2
        • Tom ElliottT
          Tom Elliott
          last edited by

          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/

          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 0
          • Tom ElliottT
            Tom Elliott
            last edited by

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

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

            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 2
            • E
              eVal
              last edited by

              Excellent, that fixed it 😄

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                Thanks for that!

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

                269

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project