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

Snapin crashes when added

Scheduled Pinned Locked Moved Solved
Bug Reports
3
6
1.4k
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.
  • T
    tprice
    last edited by tprice May 11, 2016, 8:50 PM May 12, 2016, 12:46 AM

    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”

    0_1463013509776_SNAPIN.PNG :

    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?nod

    PHP 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 -y

    MariaDB 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 |
    ±------------------------±--------------------+

    T 1 Reply Last reply May 12, 2016, 2:56 AM Reply Quote 0
    • T
      tprice @tprice
      last edited by May 12, 2016, 2:56 AM

      @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: 0_1463021554777_eset.PNG

      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.

      W T 2 Replies Last reply May 12, 2016, 4:23 AM Reply Quote 0
      • W
        Wayne Workman @tprice
        last edited by Wayne Workman May 11, 2016, 10:24 PM May 12, 2016, 4:23 AM

        @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.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott @tprice
          last edited by May 12, 2016, 9:59 AM

          @tprice what version of fog is running? This was an issue yesterday and it was fixed with multiple people reporting it was indeed working.

          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

          T 1 Reply Last reply May 12, 2016, 10:44 PM Reply Quote 0
          • T
            tprice @Tom Elliott
            last edited by May 12, 2016, 10:44 PM

            @Tom-Elliott Hi Tom, I am running 7575

            T 1 Reply Last reply May 12, 2016, 10:59 PM Reply Quote 0
            • T
              Tom Elliott @tprice
              last edited by May 12, 2016, 10:59 PM

              @tprice Can you please update?

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

              264

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project