meysam meysam - 1 year ago 104
PHP Question

Call to undefined function __() error - phpMyAdmin

When i want run phpMyAdmin on my browser, that show me this error:

Fatal error: Call to undefined function __() in /usr/share/phpMyAdmin/libraries/core.lib.php on line 229
Call Stack
# Time Memory Function Location
1 0.0010 344984 {main}( ) ../index.php:0
2 0.0026 502720 require_once( '/usr/share/phpMyAdmin/libraries/' ) ../index.php:12
3 0.0285 3836408 require( '/usr/share/phpMyAdmin/libraries/' ) ../
4 0.0288 3846488 PMA_fatalError( ) ../

I use fedora 17 with PHP 5.5.7.

Any idea for solve problem?

Answer Source

Check that your session directory is writable by the webserver process.

The best way to do so is to create your own phpinfo file; in any web accessible folder create a file (you can call it test.php or phpinfo.php or whatever you'd like) with the following content:


Open that file in your browser (http://localhost/test.php or similar) and look for the line session.save_path. That's your session folder; make sure the permissions are suitable and see if that helps.

More information from a similar thread.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download