Mobile app version of vmapp.org
Login or Join
Sent6035632

: Debian phpmyadmin - Call to undefined function __() I recently upgraded my debian installation from wheezy to jessie. Now I get only blank pages when accessing phpmyadmin. The apache log says:

@Sent6035632

Posted in: #Apache2 #Debian #Php #Phpmyadmin

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Chiappetta492

What solved this issue for me was to search and purge every php-related package (now also including php-gettext and so on). After reinstalling the packets libapache2-mod-php5 php5 php5-mysql php-gettext php5-mcrypt php5-readline php5-gd php5-json and finally phpmyadmin, I could access phpmyadmin again, restore my website configurations and everything seems to run fine so far...

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme