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

    Prevents the image id being saved to the database during the host file upload process

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    3
    1.7k
    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.
    • falkoF
      falko Moderator
      last edited by

      found this in the below guide and thought i should add it here in case this hasn’t been picked up on
      [url]http://wiki.rscwmsystems.org.uk/images/4/47/Using_Fog.pdf[/url]

      There appears to be a bug on Fog v0.32 which prevents the image id being saved to the
      database during the host file upload process. I was able to correct this by editing
      [CODE]/var/www/fog/management /includes/hosts.upload.include.php, and inserting:

      $host->setImage($img);[/CODE]
      before
      [CODE]if ( $core->getHostManager()->addHost( $host, $currentUser ) )[/CODE]
      which is near line 55

      1 Reply Last reply Reply Quote 0
      • B
        Blackout Developer
        last edited by

        Not relevant anymore. Code was rewritten in 0.33.

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

          Is all working properly I’m assuming. Just trying to gain closure on the bugs if at all possible.

          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

          138

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project