phpmyadmin getting HTTP 500 error

May 17, 2018 1.6k views
PHP Ubuntu 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!

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:

  • I already tried changing permissions on the sessions directory with no luck.

    • Would you mind confirming what is the session save path and session save handler set to at the moment?

Have another answer? Share your knowledge.