Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Blank page in phpmyadmin

General questions about VestaCP
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Blank page in phpmyadmin

Post by Felix » Sun Dec 20, 2015 12:28 pm

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

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:
open_basedir setting in /etc/apache2/conf.d/phpmyadmin.conf

Code: Select all

php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext
open_basedir setting in /usr/local/vesta/data/templates/web/apache2/hosting.stpl & hosting.tpl

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
Location(s) of file jquery.cookie.js

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
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:

Code: Select all

php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext:/usr/share
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?
Top

ttcttctw
Posts: 26
Joined: Thu May 28, 2015 2:49 am
Contact:
Contact ttcttctw
Website

Re: Blank page in phpmyadmin

Post by ttcttctw » Fri Dec 25, 2015 5:26 pm

I had that problem before.
I solve it by set php.ini

Code: Select all

display_errors = off
And another cause might be Google Pagespeed, that will make login screen disappear.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Blank page in phpmyadmin

Post by skurudo » Fri Apr 29, 2016 1:23 pm

I have suggestionm, add /usr/share/javascript/ to php_admin_value open_basedir (/etc/apache2/conf.d/phpmyadmin.conf)

Code: Select all

php_admin_value open_basedir /usr/share/phpmyadmin/:/usr/share/javascript/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext
And check rights on folder /var/lib/php/session/
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password