PHP errors in Ubuntu 16.04 when logging in to roundcube and phpmyadmin

4 posts / 0 new
Last post
#1 Sat, 06/04/2016 - 08:20
hostile

PHP errors in Ubuntu 16.04 when logging in to roundcube and phpmyadmin

Fresh install, did some fix for php conf, from other thread, that was downloading php files then i got log in page but after entering log and pass I get this errors

For phpmyadmin page not displays at all

Thanks

[Sat Jun 04 20:13:12.084420 2016] [:error] [pid 20996] [client 101.109.157.3:56020] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /home/vodeoo/public_html/mail/program/include/rcmail.php:584\nStack trace:\n#0 /home/vodeoo/public_html/mail/index.php(109): rcmail->login('vodeoo', 'bZukfhGuammxTQM...', 'localhost', true)\n#1 {main}\n thrown in /home/vodeoo/public_html/mail/program/include/rcmail.php on line 584, referer: http://vodeoo.com/mail/

[Sat Jun 04 20:18:17.479210 2016] [:error] [pid 21970] [client 101.109.157.3:56088] PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/gettext.inc:177\nStack trace:\n#0 /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/gettext.inc(282): _encode('The %s extensio...')\n#1 /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/gettext.inc(289): _gettext('The %s extensio...')\n#2 /home/vodeoo/public_html/phpmyadmin/libraries/core.lib.php(306): __('The %s extensio...')\n#3 /home/vodeoo/public_html/phpmyadmin/libraries/core.lib.php(959): PMA_warnMissingExtension('mbstring', true)\n#4 /home/vodeoo/public_html/phpmyadmin/libraries/common.inc.php(102): PMA_checkExtensions()\n#5 /home/vodeoo/public_html/phpmyadmin/index.php(13): require_once('/home/vodeoo/pu...')\n#6 {main}\n thrown in /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/gettext.inc on line 177

Sat, 06/04/2016 - 13:54
andreychek

Howdy,

Can you try some of the fixes mentioned here and see if any of these help... it sounds like you may be missing a package or two:

http://askubuntu.com/questions/755383/phpmyadmin-not-working-due-to-miss...

Sat, 06/04/2016 - 22:01 (Reply to #2)
hostile

Thanks, looks like it fixed the problem, now I can log in to phpmyadmin and roundcube, I did not test it extensively, but log in works :)

There is another problem, it works through http:// but https:// php files still being downloaded not executed

cheers

Sat, 04/22/2017 - 18:49
SkaFan

I just had the very same problem.
Fresh Ubuntu 16.04, Virtualmin and Roundcube.
"sudo apt-get install php-mbstring php7.0-mbstring php-gettext" fixed it!
Will you include php-mbstring php7.0-mbstring php-gettext to be installed with Virtulmin in a upcomming verion?

Topic locked