Error at Login
Posted: Mon Nov 24, 2014 10:46 am
hello, i have a problem when login to Vesta CP
error message said invalid user name password
and nginx-error.log :
2014/11/24 05:25:12 [error] 2231#0: *89 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: xxx.xxx.xx.xxx, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "domain.com:8083"
i look at index.php, and seems that it run cmd v-list-sys-config json, i try to run it at command line and the result is :
"config": {
"WEB_SYSTEM": "apache2",
"WEB_RGROUPS": "www-data",
"WEB_PORT": "8080",
"WEB_SSL": "mod_ssl",
"WEB_SSL_PORT": "8443",
"PROXY_SYSTEM": "nginx",
"PROXY_PORT": "80",
"PROXY_SSL_PORT": "443",
"FTP_SYSTEM": "vsftpd",
"MAIL_SYSTEM": "exim4",
"IMAP_SYSTEM": "dovecot",
"ANTIVIRUS_SYSTEM": "",
"ANTISPAM_SYSTEM": "",
"DB_SYSTEM": "mysql",
"DNS_SYSTEM": "bind9",
"STATS_SYSTEM": "webalizer,awstats",
"BACKUP_SYSTEM": "local",
"CRON_SYSTEM": "cron",
"DISK_QUOTA": "no",
"FIREWALL_SYSTEM": "iptables",
"FIREWALL_EXTENSION": "fail2ban",
"REPOSITORY": "cmmnt",
"VERSION": "0.9.8",
"LANGUAGE": "en"
}
i have no idea what to do now,
please help
error message said invalid user name password
and nginx-error.log :
2014/11/24 05:25:12 [error] 2231#0: *89 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: xxx.xxx.xx.xxx, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "domain.com:8083"
i look at index.php, and seems that it run cmd v-list-sys-config json, i try to run it at command line and the result is :
"config": {
"WEB_SYSTEM": "apache2",
"WEB_RGROUPS": "www-data",
"WEB_PORT": "8080",
"WEB_SSL": "mod_ssl",
"WEB_SSL_PORT": "8443",
"PROXY_SYSTEM": "nginx",
"PROXY_PORT": "80",
"PROXY_SSL_PORT": "443",
"FTP_SYSTEM": "vsftpd",
"MAIL_SYSTEM": "exim4",
"IMAP_SYSTEM": "dovecot",
"ANTIVIRUS_SYSTEM": "",
"ANTISPAM_SYSTEM": "",
"DB_SYSTEM": "mysql",
"DNS_SYSTEM": "bind9",
"STATS_SYSTEM": "webalizer,awstats",
"BACKUP_SYSTEM": "local",
"CRON_SYSTEM": "cron",
"DISK_QUOTA": "no",
"FIREWALL_SYSTEM": "iptables",
"FIREWALL_EXTENSION": "fail2ban",
"REPOSITORY": "cmmnt",
"VERSION": "0.9.8",
"LANGUAGE": "en"
}
i have no idea what to do now,
please help