Location plugin error
-
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( -
@kamburta Pretty sure this is known and fixed in the dev-branch versions of the FOG repository.