I recently upgraded my debian installation from wheezy to jessie. Now I get only blank pages when accessing phpmyadmin.
The apache log says:
Fatal error: Call to undefined function __() in /usr/share/phpmyadmin/libraries/core.lib.php on line 235
I already tried purging (+ deleting all config in /etc/apache2 and /etc/php5 /etc/phpmyadmin) and reinstalling all related packages (phpmyadmin, php5, apache2)...
I found a similar thread that suggested to check the write permission on the php sessions directory:
ls -lah /var/lib/php5/sessions/ drwx-wx-wt 2 root root 4,0K Jan 3 19:09 .
looks ok to me, but to make sure I tried chmod +rwX on the whole thing - still no luck.
I'm a bit out of my wits... What else can I try without starting from scratch with a clean new debian installation? Did I miss any folders or config files on my cleaning efforts?
BTW: First, I got the following error:
PHP Fatal error: require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 463
The file mentioned in this message existed and was readable for all users. I then tried:
- uninstalling and reinstalling all packages with "php" in their names (including phpmyadmin)
- restoring default php configuration (delete /etc/php5/apache2/php.ini file)
- using the apache default site config (000-default.conf)
... but I still got this error. Then I purged everything and got the error I first mentioned above.
__()
is a gettext function, which your previous error also references.