[UBUNTU 6.06] phpmyadmin Fehler left.php< fehlt
am 29.09.2006 10:10:34 von Robert MeyerHallo NG,
ich habe mir vor ein paar Tagen mal phpmyadmin installiert und ich bekomme
es einfach nicht zum laufen.
Wenn ich 127.0.0.1/phpmyadmin aufrufe erzählt mir der Häuptling immer
wieder folgendes:
The requested URL /phpmyadmin/left.php< was not found on this server.
Kann es sein, dass da ein Syntaxfehler in der index.php vorliegt.
Ich habe das Paket von den Quellen von Ubuntu via apt-get installiert und
weder im Ubuntu-Forum geschweige denn in anderen Foren bzw Google was
entsprechendes gefunden.
Ich bitte um Hilfe, da ich bis dato Neuling im Bereich PHP bin.
Danke im voraus (Quellcode der index.php im Anschluß)
===========================================================
/* $Id: index.php,v 2.33 2006/01/17 17:02:28 cybot_tm Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* forms frameset
*
* @uses libraries/common.lib.php global fnctions
* @uses libraries/relation.lib.php table relations
* @uses $GLOBALS['strNoFrames']
* @uses $GLOBALS['cfg']['QueryHistoryDB']
* @uses $GLOBALS['cfg']['Server']['user']
* @uses $GLOBALS['cfg']['DefaultTabServer'] as src for the mainframe
* @uses $GLOBALS['cfg']['DefaultTabDatabase'] as src for the mainframe
* @uses $GLOBALS['cfg']['LeftWidth'] for left frame width
* @uses $GLOBALS['collation_connection'] from $_REQUEST (grab_globals.lib.php)
* or common.lib.php
* @uses $GLOBALS['available_languages'] from common.lib.php (select_lang.lib.php)
* @uses $GLOBALS['db']
* @uses $GLOBALS['charset']
* @uses $GLOBALS['lang']
* @uses $GLOBALS['text_dir']
* @uses $_ENV['HTTP_HOST']
* @uses PMA_getRelationsParam()
* @uses PMA_purgeHistory()
* @uses PMA_generate_common_url()
* @uses PMA_VERSION
* @uses session_write_close()
* @uses time()
* @uses getenv()
* @uses header() to send charset
*/
/**
* Gets core libraries and defines some variables
*/
require_once('./libraries/common.lib.php');
/**
* Includes the ThemeManager if it hasn't been included yet
*/
require_once('./libraries/relation.lib.php');
// free the session file, for the other frames to be loaded
session_write_close();
// Gets the host name
// loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
if (empty($HTTP_HOST)) {
if (!empty($_ENV) && isset($_ENV['HTTP_HOST'])) {
$HTTP_HOST = $_ENV['HTTP_HOST'];
} elseif (@getenv('HTTP_HOST')) {
$HTTP_HOST = getenv('HTTP_HOST');
} else {
$HTTP_HOST = '';
}
}
// purge querywindow history
$cfgRelation = PMA_getRelationsParam();
if ( $GLOBALS['cfg']['QueryHistoryDB'] && $cfgRelation['historywork'] ) {
PMA_purgeHistory( $GLOBALS['cfg']['Server']['user'] );
}
unset( $cfgRelation );
/**
* pass variables to child pages
*/
$drops = array( 'lang', 'server', 'convcharset', 'collation_connection',
'db', 'table' );
foreach ( $drops as $each_drop ) {
if ( ! array_key_exists( $each_drop, $_GET ) ) {
unset( $_GET[$each_drop] );
}
}
unset( $drops, $each_drop );
if ( ! isset($GLOBALS['db']) || ! strlen($GLOBALS['db']) ) {
$main_target = $GLOBALS['cfg']['DefaultTabServer'];
} elseif ( ! isset($GLOBALS['table']) || ! strlen($GLOBALS['table']) ) {
$_GET['db'] = $GLOBALS['db'];
$main_target = $GLOBALS['cfg']['DefaultTabDatabase'];
} else {
$_GET['db'] = $GLOBALS['db'];
$_GET['table'] = $GLOBALS['table'];
$main_target = $GLOBALS['cfg']['DefaultTabTable'];
}
$url_query = PMA_generate_common_url( $_GET );
if ( ! empty( $GLOBALS['target'] )
&& preg_match( '@[a-z_]+\.php@', $GLOBALS['target'] )
&& $GLOBALS['target'] != 'index.php' ) {
$main_target = $GLOBALS['target'];
}
$main_target .= $url_query;
$lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][2];
// start output
header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
?>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
lang=""
dir="">
content="text/html; charset=" />
============================================================ ========