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

    [Fixed] r5766 SVN issue with MACAddress class / Inventory issue

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    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.
    • S
      Seraphin692
      last edited by Seraphin692

      Hello,

      We have an issue with the last Toshiba laptop so updated to last trunk to see if the issue was fixed.

      Sadly, I have an error when trying to register a host (either using the Web GUI, the quick inventory or the manuel inventory process) leading to that in apache logs :

      [Tue Jun 28 02:42:17.263654 2016] [:error] [pid 8128] [client 10.1.24.210:37966] PHP Fatal error: Call to a member function get() on string in /var/www/html/fog/lib/fog/host.class.php on line 373

      or

      [Tue Jun 28 02:42:39.970503 2016] [:error] [pid 8128] [client 10.1.30.29:50506] PHP Fatal error: Call to a member function get() on string in /var/www/html/fog/lib/fog/host.class.php on line 373, referer: http://fogserver/fog/management/index.php?node=host&sub=add

      It refers to the function :

      protected function loadMac() {
          if (!$this->get('id')) return;
          $this->set('mac',self::getClass('MACAddress',$this->get('primac')->get('mac')));
      }
      

      Any idea what the problem is and how to fix it ?

      Regards,

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Two questions,

        Last SVN is a moving target, what is the version (git) from about the cloud on the management page.

        Do you get this error when registering any host or just this Toshiba?

        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!

        S 1 Reply Last reply Reply Quote 0
        • S
          Seraphin692 @george1421
          last edited by

          @george1421

          Running Version 8277
          SVN Revision: 5766

          I can’t register anything at the moment (neither can I add host manually from web interface)

          Regads,

          1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator
            last edited by

            I can confirm this issue on git 8277

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

              Should now be fixed, thanks 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

              S 1 Reply Last reply Reply Quote 3
              • S
                Seraphin692 @Tom Elliott
                last edited by

                @Tom-Elliott

                Fixed in r5767. Thanks

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

                242

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project