We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
phpMyAdmin error on login screen - cannot login
-
- Posts: 12
- Joined: Mon May 19, 2014 6:11 am
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: phpMyAdmin error on login screen - cannot login
I had the same problem (CentOS 6.4). Everything is updated with 'yum update'.
'chmod 777 /var/lib/php/session' helps to solve this problem. But can it cause any security issues?
'chmod 777 /var/lib/php/session' helps to solve this problem. But can it cause any security issues?
Re: phpMyAdmin error on login screen - cannot login
It's all recommended method - if you still worry. try to change permissions to 775 / 770blackyangell wrote:I had the same problem (CentOS 6.4). Everything is updated with 'yum update'.
'chmod 777 /var/lib/php/session' helps to solve this problem. But can it cause any security issues?
Re: phpMyAdmin error on login screen - cannot login
I still get the blowfish_secret warning inside panel. Any ideas?
chmod 777 /var/lib/php/session/ did the trick to solve the login screen error.
chmod 777 /var/lib/php/session/ did the trick to solve the login screen error.
-
- Posts: 3
- Joined: Fri Jun 12, 2015 1:45 pm
Re: phpMyAdmin error on login screen - cannot login
I'm not sure if this information is relevant to you all, but check out Stack Overflow: http://stackoverflow.com/questions/3694 ... phpmyadmin
If that bug sounds like you, then read on:
EDIT: Read my next comment, which is a better fix (& fixes a slew of other problems on a blank vestacp install): viewtopic.php?f=14&t=7500&p=28169#p28169
If that bug sounds like you, then read on:
EDIT: Read my next comment, which is a better fix (& fixes a slew of other problems on a blank vestacp install): viewtopic.php?f=14&t=7500&p=28169#p28169
Last edited by cmroanirgo on Sat Jun 13, 2015 2:51 am, edited 1 time in total.
-
- Posts: 3
- Joined: Fri Jun 12, 2015 1:45 pm
Re: phpMyAdmin error on login screen - cannot login
If, like me you are running Ubuntu 14.04 (& probably others), and having DB issues with "can't login", then the problem seems to be due to the mysql config missing a "bind-address" setting.
Edit /etc/mysql/my.cnf and add the missing "bind-address" line to the [mysqld] section:
After making the change, don't forget to restart mysql:
This fixes 3 issues in one go:
1. can't login to myphpadmin
2. roundcube "DATABASE ERROR"
3. can't create a DB from the vestacp
PS: This bug appears when you install vestacp on a blank ubuntu machine (ie nothing installed, but maybe openssh).
Edit /etc/mysql/my.cnf and add the missing "bind-address" line to the [mysqld] section:
Code: Select all
[mysqld]
...
bind-address = 127.0.0.1
...
Code: Select all
sudo service mysql restart
1. can't login to myphpadmin
2. roundcube "DATABASE ERROR"
3. can't create a DB from the vestacp
PS: This bug appears when you install vestacp on a blank ubuntu machine (ie nothing installed, but maybe openssh).
Re: phpMyAdmin error on login screen - cannot login
I have exactly the same problem with the session. And after fix the issue I found this post with the same fix. I lose an hour because I don't do a search here in this forum :/
Re: phpMyAdmin error on login screen - cannot login
I solved this problem without chmod the sesion folder to 777. Please correct me if I'm wrong here:
I think during installation of VestaCP, some of the configuration files were set to belong to admin owner. So, I changed the session folder to owner 'admin' and it works.
This method works for the blowfish part too. The configuration file, /etc/phpMyAdmin/config.inc.php need to be admin owner from the folder phpMyAdmin.
I think during installation of VestaCP, some of the configuration files were set to belong to admin owner. So, I changed the session folder to owner 'admin' and it works.
This method works for the blowfish part too. The configuration file, /etc/phpMyAdmin/config.inc.php need to be admin owner from the folder phpMyAdmin.
Last edited by arafatx on Wed Aug 12, 2015 4:05 am, edited 1 time in total.
Re: phpMyAdmin error on login screen - cannot login
Something like this. With installation/upgrade latest phpmyadmin from repo appear this bug (in centos/rhel only). Debian/Ubuntu not have this bug.arafatx wrote:I solved this problem without chmod the sesion folder to 777. Please correct me if I'm wrong here:
I think during installation of VestaCP, some of the configuration files were set to belong to admin owner. So, I changed the session folder to owner 'admin' and it works.
Re: phpMyAdmin error on login screen - cannot login
When this bug will be fixed? I love VestaCP a lot.skurudo wrote:Something like this. With installation/upgrade latest phpmyadmin from repo appear this bug (in centos/rhel only). Debian/Ubuntu not have this bug.arafatx wrote:I solved this problem without chmod the sesion folder to 777. Please correct me if I'm wrong here:
I think during installation of VestaCP, some of the configuration files were set to belong to admin owner. So, I changed the session folder to owner 'admin' and it works.
Re: phpMyAdmin error on login screen - cannot login
Dunno, may be with new update phpmyadmin.arafatx wrote: When this bug will be fixed? I love VestaCP a lot.