Kom ihåg mig?
Home Menu

Menu


phpmyadmin strul.

 
Ämnesverktyg Visningsalternativ
Oläst 2008-03-29, 19:38 #1
xciso xciso är inte uppkopplad
Mycket flitig postare
 
Reg.datum: Jul 2006
Inlägg: 569
xciso xciso är inte uppkopplad
Mycket flitig postare
 
Reg.datum: Jul 2006
Inlägg: 569
Tja.
Jag har precis uppgraderat mysql från 4.1 till 5.
Det verkar fungera som det ska, men efter detta så strular phpmyadmin.
Jag möts av detta felmddelande:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.11.5-all-languages/lang/swedish-utf-8.inc.php:1) in /var/www/html/phpMyAdmin-2.11.5-all-languages/libraries/auth/http.auth.lib.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.11.5-all-languages/lang/swedish-utf-8.inc.php:1) in /var/www/html/phpMyAdmin-2.11.5-all-languages/libraries/auth/http.auth.lib.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.11.5-all-languages/lang/swedish-utf-8.inc.php:1) in /var/www/html/phpMyAdmin-2.11.5-all-languages/libraries/auth/http.auth.lib.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.11.5-all-languages/lang/swedish-utf-8.inc.php:1) in /var/www/html/phpMyAdmin-2.11.5-all-languages/libraries/auth/http.auth.lib.php on line 44

Jag vet inte hur jag ska få bukt med detta. Någon som vet?
Filen som det verkar kunna vara ser ut såhär:
/var/www/html/phpMyAdmin-2.11.5-all-languages/libraries/auth/http.auth.lib.php

Kod:
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Set of functions used to run http authentication.
 * NOTE: Requires PHP loaded as a Apache module.
 *
 * @version $Id: http.auth.lib.php 10893 2007-11-01 20:59:48Z lem9 $
 */


/**
 * Displays authentication form
 *
 * @global string  the font face to use in case of failure
 * @global string  the default font size to use in case of failure
 * @global string  the big font size to use in case of failure
 *
 * @return boolean  always true (no return indeed)
 *
 * @access public
 */
function PMA_auth() {

  /* Perform logout to custom URL */
  if (!empty($_REQUEST['old_usr']) && !empty($GLOBALS['cfg']['Server']['LogoutURL'])) {
    PMA_sendHeaderLocation($GLOBALS['cfg']['Server']['LogoutURL']);
    exit;
  }

  if (empty($GLOBALS['cfg']['Server']['verbose'])) {
    $server_message = $GLOBALS['cfg']['Server']['host'];
  } else {
    $server_message = $GLOBALS['cfg']['Server']['verbose'];
  }
  // remove non US-ASCII to respect RFC2616
  $server_message = preg_replace('/[^\x20-\x7e]/i', '', $server_message);
  header('WWW-Authenticate: Basic realm="phpMyAdmin ' . $server_message . '"');
  header('HTTP/1.0 401 Unauthorized');
  if (php_sapi_name() !== 'cgi-fcgi') {
  header('status: 401 Unauthorized');
  }

  // Defines the charset to be used
  header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
  /* HTML header */
  $page_title = $GLOBALS['strAccessDenied'];
  require './libraries/header_meta_style.inc.php';
  ?>
</head>
<body>
<?php if (file_exists('./config.header.inc.php')) {
     require './config.header.inc.php';
   }
 ?>

<br /><br />
<center>
  <h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1>
Tack på förhand!
xciso är inte uppkopplad   Svara med citatSvara med citat
Svara


Aktiva användare som för närvarande tittar på det här ämnet: 1 (0 medlemmar och 1 gäster)
 

Regler för att posta
Du får inte posta nya ämnen
Du får inte posta svar
Du får inte posta bifogade filer
Du får inte redigera dina inlägg

BB-kod är
Smilies är
[IMG]-kod är
HTML-kod är av

Forumhopp


Alla tider är GMT +2. Klockan är nu 06:40.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson
 
Copyright © 2017