I've read here and various other links, but I cannot trace the issue... I've just installed Apache24, PHP5, Mysql, (which I've done several times before over the years) and phMyAdmin just didn't work "out of the box" this time.
My info.php reveals mysql is loaded fine. My apache server seems to be running ok and serves pages. But I cannot trace the source of the issue.
I'm on Windows 7... Would really appreciate some pointers... Many thanks.
Exact error : Fatal error: Call to undefined function __() in C:\Apache24\htdocs\phpmyadmin\libraries\core.lib.php on line 229
Call stack - not sure how to generate this...
Lines of code around the issue with line 229 labelled:
function PMA_fatalError(
$error_message, $message_args = null, $delete_session = true
) {
/* Use format string if applicable */
if (is_string($message_args)) {
$error_message = sprintf($error_message, $message_args);
} elseif (is_array($message_args)) {
$error_message = vsprintf($error_message, $message_args);
}
if ($GLOBALS['is_ajax_request']) {
$response = PMA_Response::getInstance();
$response->isSuccess(false);
$response->addJSON('message', PMA_Message::error($error_message));
} else {
$error_message = strtr($error_message, array('<br />' => '[br]'));
/* Load gettext for fatal errors */
if (!function_exists('__')) {
include_once GETTEXT_INC;
}
// these variables are used in the included file libraries/error.inc.php
$error_header = __('Error'); /* Line 229 */
$lang = $GLOBALS['available_languages'][$GLOBALS['lang']][1];
$dir = $GLOBALS['text_dir'];
// on fatal errors it cannot hurt to always delete the current session
if ($delete_session
&& isset($GLOBALS['session_name'])
&& isset($_COOKIE[$GLOBALS['session_name']])
) {
$GLOBALS['PMA_Config']->removeCookie($GLOBALS['session_name']);
}
// Displays the error message
include './libraries/error.inc.php';
}
if (! defined('TESTSUITE')) {
exit;
}
}
/**