• Resolved maxveneziano

    (@maxveneziano)


    Hi.
    for a Intranet site using WP i need to manage some new tables in WP MySQL DB

    I’m unable to login into the DB because I receive the following error.
    Http page:http://192.168.100.243/wordpress/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/index.php
    The IP address corresponds to my WP localhost

    Fatal error: Uncaught Error: Call to undefined function PhpMyAdmin\mb_internal_encoding() in /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Core.php:1178 Stack trace: #0 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/common.inc.php(173): PhpMyAdmin\Core::configure() #1 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/index.php(26): require_once(‘/var/www/html/w…’) #2 {main} thrown in /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Core.php on line 1178

    There is no way to access the PhpMyAdmin page also with the support of the IT administrator.
    Other MySQL WP plugin works perfectly. I prefer to use PhpMyAdmin because better known respect other MySQL tools.
    WP is updated to the last version (4.9.6) and mySQL version is 5.7.21 on a ubuntu.16.04.1. OS. All the pluging are updadated, WP_phpMyAdmin included.

    I can access other DB through PhpMyAdmin.
    Any suggestion to solve this problem ?
    I’ve already read other support request but any solution solved the problem.

    Thanks in Advance
    Massimo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi.
    It is the error because your server’s PHP engine (for some unknown reasons??) cant execute that function. Normally, it should have done that. You can send that message to your server’s tech support.

    for as temporary fix (but I don’t know if UTF8 will be still supported), you can use this solution:

    open (in ftp or file-browser) wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Core.php
    file in any text editor, find this string mb_internal_encoding('utf-8');

    and instead of that, place this:

    if(function_exists('mb_internal_encoding')) mb_internal_encoding('utf-8');

    then save, and check if it works.

    • This reply was modified 5 years, 11 months ago by tazotodua.
    Thread Starter maxveneziano

    (@maxveneziano)

    Hi
    thanks for your fast reply.
    Following your instruction I’ve modified the Core.php but I still receive a Fatal error also if different (may be in config.php this time ?):

    Fatal error: Uncaught Error: Call to undefined function PhpMyAdmin\mb_strstr() in /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Config.php:163 Stack trace: #0 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Config.php(195): PhpMyAdmin\Config->_setClientPlatform(‘Mozilla/5.0 (Wi…’) #1 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Config.php(129): PhpMyAdmin\Config->checkClient() #2 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Config.php(105): PhpMyAdmin\Config->checkSystem() #3 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/common.inc.php(188): PhpMyAdmin\Config->__construct(‘config.inc.php’) #4 /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOB in /var/www/html/wp-content/plugins/wp-phpmyadmin-extension/lib/phpMyAdmin_pma_TbYNxOBzs9DjICVrL5G8cEF/libraries/classes/Config.php on line 163

    Any additional suggestion ?
    Thanks
    Massimo

    Hi.
    I’ve forgot this topic, if the problem was ever solved.
    You might try the latest plugin version and send feedbacks. thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to log into the DB’ is closed to new replies.