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

    Snapin Error in PHP

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    8
    2.0k
    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.
    • A
      apollo40
      last edited by

      After Updating my Fog to 7522 i cant edit my Snapins.

      Everything else is working.

      [Mon May 09 11:45:15.942659 2016] [:error] [pid 5157] [client 10.63.0.182:55616] PHP Fatal error: Call to a member function get() on null in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 298, referer: http://10.128.0.128/fog/management/index.php?node=snapin&sub=edit&id=7

      [Mon May 09 13:06:44.025730 2016] [:error] [pid 5130] [client 10.63.0.182:60565] PHP Fatal error: Call to a member function get() on null in /var/www/html/fog/lib/pages/snapinmanagementpage.class.php on line 298, referer: http://10.128.0.128/fog/management/index.php?node=snapin&sub=edit&id=7
      root@fogserver:~/fogproject/bin#

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

        Please update and see if this issue still exists? I’m unable to replicate the problem on 7535.

        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

        N 1 Reply Last reply Reply Quote 0
        • M
          michael_f
          last edited by

          Hello,

          i have got a similar problem. When I try to add a new snapin i get the following PHP-Error:
          Fatal error: Call to a member function save() on null in /var/www/fog/lib/pages/snapinmanagementpage.class.php on line 161.

          As i am moving to a new server, i did a fresh installation from svn on ubuntu server 14.04, FOG version ist 7575.
          Importing clients and pushing / pulling an image is working.

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

            @michael_f What version of php are you running? php -v

            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
            • N
              networkguy @Tom Elliott
              last edited by networkguy

              @Tom-Elliott
              I’m also seeing this from a new install via git yesterday. I don’t recall the version but I just updated and still see it at version 7577.

              [Wed May 11 08:49:25 2016] [error] [client X.X.X.X] 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://myfogserver/fog/management/index.php?node=snapin&sub=add

              PHP 5.6.21 (cli) (built: Apr 28 2016 07:47:46)
              Copyright © 1997-2016 The PHP Group
              Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
              [root@fog2 bin]#

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

                @networkguy Found the issue and was able to replicate.

                Issue is now fixed. Thanks all for reporting.

                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

                N M 2 Replies Last reply Reply Quote 1
                • N
                  networkguy @Tom Elliott
                  last edited by

                  @Tom-Elliott
                  Updated and works like a charm. Thank you very much.

                  I’ve been away from the FOG project a long time(0.29) and happy to be back; you and the community have made some awesome improvements. Support is top notch. Thanks again for your efforts!

                  1 Reply Last reply Reply Quote 0
                  • M
                    michael_f @Tom Elliott
                    last edited by

                    @Tom-Elliott Thank you!

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    209

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project