Cannot edit Snapins



  • Trunk version 8267. All snapins will list, but when I go to edit the gui times out. The apache error log has

    [Mon Jun 27 14:11:44.186567 2016] [:error] [pid 9252] [client 10.130.150.41:16943] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 210, referer: http://fog/fog/management/index.php?node=snapin&sub=list
    [Mon Jun 27 14:11:44.186667 2016] [:error] [pid 9252] [client 10.130.150.41:16943] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Type: 8, File: /var/www/html/fog/lib/fog/fogmanagercontroller.class.php, Line: 80, Message: Undefined variable: whereArray, Host: 10.82.017, Username: fog’ in /var/www/html/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(83): FOGFTP->connect()\n#1 /var/www/html/fog/lib/fog/fogcontroller.class.php(245): StorageNode->loadSnapinfiles()\n#2 /var/www/html/fog/lib/fog/fogcontroller.class.php(48): FOGController->loadItem(‘snapinfiles’)\n#3 /var/www/html/fog/lib/fog/storagenode.class.php(41): FOGController->get(‘snapinfiles’)\n#4 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(208): StorageNode->get(‘snapinfiles’)\n#5 [internal function]: SnapinManagementPage->{closure}(Object(StorageNode))\n#6 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(210): array_map(Object(Closure), Array)\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(72): SnapinManagementPage->edit()\n#8 /var/www/html/fog/management/index.php(2 in /var/www/html/fog/lib/fog/fogftp.class.php on line 51, referer: http://fog/fog/management/index.php?node=snapin&sub=list
    [Mon Jun 27 14:11:46.950245 2016] [:error] [pid 10062] [client 10.88.1.70:60552] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 55



  • Upgraded from v1.12 and not all storage nodes were up or had the correct id/password combination. Removing old storage and fixing credentials fixed this. In the previous version snapins did not validate the fog user.


Log in to reply
 

423
Online

38724
Users

10553
Topics

99872
Posts

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