Page 1 of 1

PHPMyAdmin error file_exists(): open_basedir restriction in effect.

Posted: Sat Nov 21, 2015 6:38 pm
by kerfiseining
Can someone please explain why I am getting this error on a newly installed vestacp server.

I am using Ubuntu 15.10

Code: Select all

Warning in ./libraries/Util.class.php#516
 file_exists(): open_basedir restriction in effect. File(doc/html/index.html) is not within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext)

Backtrace

./libraries/Util.class.php#516: file_exists(string 'doc/html/index.html')
./libraries/Util.class.php#540: PMA_Util::getDocuLink(
string 'index',
string '',
)
./libraries/plugins/auth/AuthenticationCookie.class.php#171: PMA_Util::showDocu(string 'index')
./libraries/common.inc.php#872: AuthenticationCookie->auth()
./index.php#12: require_once(./libraries/common.inc.php)
And after I login to phpmyadmin I have many erros

Best regards.

Re: PHPMyAdmin error file_exists(): open_basedir restriction in effect.

Posted: Thu Jan 07, 2016 7:25 am
by BBuchanan1013
This sums it up for you:

Code: Select all

File(doc/html/index.html) is not within the allowed path