when I go to localhost/phpmyadmin I have a white page and there is an error in the apache2 log's:
PHP Fatal error: Uncaught Error: Call to undefined function __() in /usr/share/phpmyadmin/libraries/core.lib.php:245 Stack trace: #0 /usr/share/phpmyadmin/libraries/core.lib.php(321): PMA_fatalError('The [a@./url.ph...') #1 /usr/share/phpmyadmin/libraries/common.inc.php(298): PMA_warnMissingExtension('json', true) #2 /usr/share/phpmyadmin/index.php(12): require_once('/usr/share/phpm...') #3 {main} thrown in /usr/share/phpmyadmin/libraries/core.lib.php on line 245
I search on the web and I see there is a problem with the php-mbstring, so I installed it but not fix the problem. I have also reinstall completely php, mysql and phpmyadmin...
1) open the file : /usr/share/phpmyadmin/libraries/core.lib.php
2) Add the below lines instead of 224-229
if (!function_exists('__')) {
include_once GETTEXT_INC;
if (defined(GETTEXT_INC)) {
include_once GETTEXT_INC;
} else {
include_once './libraries/php-gettext/gettext.inc';
}
}