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

    Error in creating host

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    1 Posts 1 Posters 6 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 !

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

      78

      Online

      12.7k

      Users

      17.6k

      Topics

      156.6k

      Posts
      Copyright © 2012-2026 FOG Project