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)


Log in to reply
 

499
Online

39003
Users

10720
Topics

101771
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.