empty phpmyadmin page
-
- Posts: 10
- Joined: Thu Feb 25, 2016 1:00 pm
empty phpmyadmin page
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):
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):
Can someone advise me what is going wrong here?[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/
-
- Posts: 10
- Joined: Thu Feb 25, 2016 1:00 pm
Re: empty phpmyadmin page
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.
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.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: empty phpmyadmin page
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.
Deleting the .htaccess can break PHPMyAdmin. If it wasn't needed, it wasn't there.
-
- Posts: 10
- Joined: Thu Feb 25, 2016 1:00 pm
Re: empty phpmyadmin page
Some further investigation delivered that this white page is caused by the following code in the header:
However, searching on this delivers a bug from 2014. So I am puzzled why I am experiencing this problem in 2016.
Code: Select all
<style id="cfs-style">html{display: none;}</style>
Re: empty phpmyadmin page
I got the same problem after changing display_errors to On in php.ini .
Change back to "off" and solved.
Why? I don't know.
(Sorry for my english)
Change back to "off" and solved.
Code: Select all
display_errors=On //Phpmyadmin blank
display_errors=Off //Phpmyadmin ok
(Sorry for my english)