phpmyadmin getting HTTP 500 error

May 17, 2018 437 views
PHP Ubuntu 16.04

Hey!

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 77.54.126.86:6883] 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/session.inc.php(100): PMA_fatalError('Error during se...')\n#1 /usr/share/phpmyadmin/libraries/common.inc.php(357): 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 151.60.23.104:54216] 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:

<?php
phpinfo();
?>
  • 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.