Saturday, October 3, 2015

The Problem with the Opening in phpMyAdmin VestaCP.

Problem with the Opening in phpMyAdmin VestaCP

vestacp database error connection failed
Then I put yourself on a regular droplet cloud hosting DigitalOcean (at Refco give $ 10 credit to your account that will be enough for 1-2 months of tests) are not quite socket VestaCP (of which later), and a problem with phpMyAdmin, which is why white opened blank page the transition from VestaCP, droplet at: http: // SERVER_IP / phpmyadmin /

Errors talked about it some problems with the function call


/var/log/httpd/domains/default.domain.error.log Tail Quatnities #
[Wed Apr 08 15:39:02 2015] [error] [client 46.138.XXX.XXX] PHP Fatal error: Call to undefined function __ ( ) in/usr/share/phpMyAdmin/libraries/core.lib.php on line 245
[Wed Apr 08 15:39:07 2015] [error] [client 46.138.XXX.XXX] PHP Fatal error: Call to undefined function __ () in/usr/share/phpMyAdmin/libraries/core.lib.php on line 245

Look at all that there is written in this file # /usr/share/phpMyAdmin/libraries/core.lib.php head -245 | -10 tail Quatnities} else {include_once './libraries/php-gettext/gettext.inc';}} these variables are // used in the included file libraries / error.inc.php // first check if php-mbstring is available if (function_exists ('mb_detect_encoding')) {// If present use gettext $ error_header = __ ('Error ');

Just in case I checked php-mbstring, and gettext, but they are present in the # php -m | grep gettext gettext # php -m | grep mbstring mbstring

Merrymaking with the rights to the config /etc/phpMyAdmin/config.inc.php exhibited in the 755 and other things does not give, but the work toward picking Nginx, which is supplied, just a very, because it The php -fpm writes in / var / lib / php / session / and for that he needs permission to write.
Once I put right 777 # chmod -R 777 / var / lib / php / session Import Import phpMyAdmin zafurychil as expected.

Rue password to the muscles of the installation VestaCP, if that is in the files and /usr/local/vesta/conf/mysql.conf /root/.my.cnf # cat /usr/local/vesta/conf/mysql.conf HOST = 'localhost' USER = 'root' PASSWORD = 'XXXXXX' CHARSETS = 'UTF8 ... .. # cat /root/.my.cnf [client] password =' XXXXX '

You Might Be Interested in: DirectAdmin