Blank page in phpmyadmin
Blank page in phpmyadmin
I see a blank page when visiting the url: https://[DOMAIN]/phpmyadmin
This used to work fine until today that I noticed.
Details:
Server: Ubuntu 14.04
VestaCP 0.9.8 R15
[Domain] is using the following themplates:
Web Template: hosting
Proxy Template: hosting
Domain Error Log
open_basedir setting in /etc/apache2/conf.d/phpmyadmin.conf
open_basedir setting in /usr/local/vesta/data/templates/web/apache2/hosting.stpl & hosting.tpl
Location(s) of file jquery.cookie.js
Similar problem to this one, but the topic there is in Russian :-(
If I change open_basedir in /etc/apache2/conf.d/phpmyadmin.conf to the following:
it seems to work fine. But I have another server with the same version of VestaCP which works fine, without making this change. Moreover, it used to work fine without needing this change until today.
What is going on?
This used to work fine until today that I noticed.
Details:
Server: Ubuntu 14.04
VestaCP 0.9.8 R15
[Domain] is using the following themplates:
Web Template: hosting
Proxy Template: hosting
Domain Error Log
Code: Select all
PHP Warning: is_readable(): open_basedir restriction in effect. File(js/jquery/jquery.cookie.js) is not within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext) in /usr/share/phpmyadmin/js/get_scripts.js.php on line 31, referer:
Code: Select all
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext
Code: Select all
php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpMyAdmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcubemail:/etc/roundcube:/var/lib/roundcube:/dev/urandom
Code: Select all
lrwxrwxrwx 1 root root 54 Dec 12 2013 /usr/share/phpmyadmin/js/jquery/jquery.cookie.js -> ../../../javascript/jquery-cookie/jquery.cookie.min.js
Code: Select all
-rw-r--r-- 1 root root 644 Feb 24 2013 /usr/share/javascript/jquery-cookie/jquery.cookie.min.js
If I change open_basedir in /etc/apache2/conf.d/phpmyadmin.conf to the following:
Code: Select all
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext:/usr/share
What is going on?
Re: Blank page in phpmyadmin
I had that problem before.
I solve it by set php.ini
And another cause might be Google Pagespeed, that will make login screen disappear.
I solve it by set php.ini
Code: Select all
display_errors = off
Re: Blank page in phpmyadmin
I have suggestionm, add /usr/share/javascript/ to php_admin_value open_basedir (/etc/apache2/conf.d/phpmyadmin.conf)
And check rights on folder /var/lib/php/session/
Code: Select all
php_admin_value open_basedir /usr/share/phpmyadmin/:/usr/share/javascript/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext