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

    Error in creating host

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    3 Posts 2 Posters 27 Views
    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.
    • I
      Infojoe
      last edited by Infojoe

      Hello everyone !
      There’s an error coming from packages/web/lib/fog/hostmanager.class.php at line 195.
      In apache error log, it says that strlen function is waiting for a string, but array given.
      So new host can’t be created from management page (did not try from fog pxe menu).
      If I delete "
      $macs = array_values(array_filter((array)$macs, ‘strlen’));
      if (count($macs) < 1) {
      return;
      }"
      everything works fine.
      Version : dev 1.5.10.1862
      Thant’s all !

      Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Infojoe
        last edited by

        @Infojoe I believe I pushed a fix for this already, but I’ll have to check again tomorrow morning.

        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
        • Tom ElliottT
          Tom Elliott @Infojoe
          last edited by

          @Infojoe Confirmed, I’m able to create a host without issue at least at 1.5.10.1867 it seems.

          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
          • First post
            Last post

          108

          Online

          12.7k

          Users

          17.6k

          Topics

          156.6k

          Posts
          Copyright © 2012-2026 FOG Project