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

    Version: 7214 , Couple issues

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    682
    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
      svalding
      last edited by

      Seeing this in the Web UI when looking at all images:

      Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 106, Message: ftp_login(): Login incorrect.
      

      This is the bit of code being snarky it seems:

      public function login($username = null,$password = null) {
          try {
              self::$currentLoginHash = password_hash(serialize(self::$link),PASSWORD_BCRYPT,['cost'=>11]);
              if (self::$currentLoginHash == self::$lastLoginHash) return $this;
              if (!$username) $username = $this->get('username');
              if (!$password) $password = $this->get('password');
              if (@ftp_login(self::$link,$username,$password) === false) self::ftperror();
          } catch (Exception $e) {
              throw new Exception($e->getMessage());
          }
          self::$lastLoginHash = self::$currentLoginHash;
          return $this;
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @svalding said:

        ... ftp_login(): Login incorrect.
        

        Well, the error message seems obvious, doesn’t it? Check your FTP credentials! https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP (and make sure you have it right in your .fogsettings file as well before running the installer again)

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

        261

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project