Page 1 of 1

empty phpmyadmin page

Posted: Thu Feb 25, 2016 1:17 pm
by musicmouse
I am setting up my first VPS at DigitalOcean and chose for Ubuntu 15.10 and VestaCP.
Installing Vesta I made a mistake by installing Vesta as root user and then switching to a sudo user. That gave rights problems in FTP that I solved with the chown -R command for the /var /etc and /home directories.

I have no problem accessing Vesta. However, when I access phpmyadmin (either with the ip address or the domain name) I get an empty screen.

Looking in the error log I found the following (every screen refresh gives these three messages with my ip address and domain name):
[Thu Feb 25 07:54:15.014290 2016] [core:alert] [pid 2962] [client 12.34.56.78:45506] /var/www/html/.htaccess: <IfModule not allowed here
[Thu Feb 25 07:54:15.025205 2016] [core:alert] [pid 16296] [client 12.34.56.78:45508] /var/www/html/.htaccess: <IfModule not allowed here
[Thu Feb 25 07:54:15.412808 2016] [core:alert] [pid 16304] [client 12.34.56.78:45510] /var/www/html/.htaccess: <IfModule not allowed here, referer: http://www.mydomain.com/
Can someone advise me what is going wrong here?

Re: empty phpmyadmin page

Posted: Thu Feb 25, 2016 2:30 pm
by musicmouse
Update: I removed the .htaccess file and that ended the error messages.

However, the phpmyadmin page stays empty.

Edit: I looked in the source code of the empty page and there is a lot of code - including a login form.

Re: empty phpmyadmin page

Posted: Thu Feb 25, 2016 4:28 pm
by tjebbeke
If you really have permission problems due the user switch, I think it's better to re-install your server again.

Deleting the .htaccess can break PHPMyAdmin. If it wasn't needed, it wasn't there.

Re: empty phpmyadmin page

Posted: Fri Feb 26, 2016 3:22 pm
by musicmouse
Some further investigation delivered that this white page is caused by the following code in the header:

Code: Select all

<style id="cfs-style">html{display: none;}</style>
However, searching on this delivers a bug from 2014. So I am puzzled why I am experiencing this problem in 2016.

Re: empty phpmyadmin page

Posted: Tue Mar 01, 2016 2:27 pm
by sfks
I got the same problem after changing display_errors to On in php.ini .

Change back to "off" and solved.

Code: Select all

display_errors=On //Phpmyadmin blank
display_errors=Off //Phpmyadmin ok
Why? I don't know.

(Sorry for my english)