Version: 7214 , Couple issues



  • 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;

  • Developer

    @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)


 

331
Online

41.6k
Users

12.1k
Topics

114.2k
Posts