phpmyadmin getting HTTP 500 error

Posted May 17, 2018 3k views
PHPUbuntu 16.04


Yesterday phpmyadmin was working fine in my server, but today it’s getting a 500 error.

[Thu May 17 20:15:17.277309 2018] [:error] [pid 27295] [client] PHP Fatal error:  Uncaught Error: Call to undefined function __() in /usr/share/phpmyadmin/libraries/core.lib.php:245\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/ PMA_fatalError('Error during se...')\n#1 /usr/share/phpmyadmin/libraries/ require('/usr/share/phpm...')\n#2 /usr/share/phpmyadmin/index.php(12): require_once('/usr/share/phpm...')\n#3 {main}\n  thrown in /usr/share/phpmyadmin/libraries/core.lib.php on line 245
[Thu May 17 20:16:34.564414 2018] [auth_basic:error] [pid 27288] [client] AH01618: user  not found: /phpmyadmin/

Not sure what happened or what I did!

Using Apache2 and Ubuntu 16.04

Any help is appreciated! Thank you!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Check if your session directory is writable by the webserver

You can do that by adding a php info file in your phpmyadmin directory: