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

    Location plugin error

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    2
    269
    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.
    • K
      kamburta
      last edited by

      Good morning guys

      Firstly excuse my english.

      I searched here on the forum and elsewhere on the internet and I didn’t find anything regarding the problem I faced yesterday. When I tried to apply the location plugin it stopped the FOG server or the HTTPD service.
      The problem was in a plugin location comma on line 170.

      [15-Jun-2023 21:56:20 UTC] PHP Parse error: syntax error, unexpected ‘)’ in /var/www/html/fog/lib/plugins/location/pages/locationmanagementpage.class.php on line 170

      );
      $sgbuild = self::getClass(‘StorageGroupManager’)->buildSelectBox(
      $storagegroup
      );
      $snbuild = self::getClass(‘StorageNodeManager’)->buildSelectBox(
      $storagenode
      );
      $snprotocol = self::getClass(‘LocationManager’)->buildProtocolSelectBox(
      $protocol,
      );
      $tftp = isset($_POST[‘tftp’]) ? ’ checked’ : ‘’;
      $fields = array(

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

        @kamburta Pretty sure this is known and fixed in the dev-branch versions of the FOG repository.

        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
        • 1 / 1
        • First post
          Last post

        225

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project