Snapin crashes when added
-
Hi there, I can upload the SNAPIN executable to the server fine. And I can see the file in the SNAPIN exist field (see image).
However after pressing the ‘Add’ button, the web page crashes. And when doing a search for snapins, there is nothing showing.
I have checked the SNAPIN Table within the FOG database. And there is no information regarding the new uploads.
I am to sure if the issue is between
-
list item FOG application layer talking to the MariaDB. That is, it cannot update the fog database.
OR -
An array variable within the “snapinmanagementpage.class.php”
:
FOG Version: 7575 (GiT)
HTTPD-Error Lod:
[Thu May 12 23:59:04.027045 2016] [:error] [pid 2417] [client xxx.xxx.xxx.xxx:52045] PHP Fatal error: Call to a member
function save() on null in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 161, referer: http://xxx.xxx.xxx.xxx/fog/management/index.php?nodPHP Version:
[root@ahcaklfog02 /]# php -v
PHP 5.6.21 (cli) (built: Apr 28 2016 07:39:37)
Copyright 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright 1998-2016 Zend Technologies
[root@ahcaklfog02 /]# yum update -yMariaDB version:
MariaDB [(none)]> SHOW VARIABLES LIKE “%version%”;
±------------------------±--------------------+
| Variable_name | Value |
±------------------------±--------------------+
| innodb_version | 5.5.46-MariaDB-37.6 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.47-MariaDB |
| version_comment | MariaDB Server |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
±------------------------±--------------------+ -
-
@tprice Did some testing. Manually updated the FOG snapins table:
INSERT INTO snapins (sID,sName,sDesc,sFilePath,sCreateDate,sCreator)
VALUES (“23”, “Esetv5”,“Blah”,/images/snapins/Esetv5-Inst.exe, Now(), “fog”);And I can see something poping up in SNAPINS search page:
So the FOG application layer can get information from Database but the ability to ADD the information to the database from the FOG app layer is not working.
-
@tprice I’ve forked your posts to this thread as I believe they are unrelated to the thread you posted in.
As far as the issue, you’ve done a good job providing information about the issue, and we will need to wait for @Tom-Elliott to take a look at it because this particular problem is in his wheelhouse.
-
@tprice what version of fog is running? This was an issue yesterday and it was fixed with multiple people reporting it was indeed working.
-
@Tom-Elliott Hi Tom, I am running 7575
-
@tprice Can you please update?