Ich steh vor der Verzweiflung! (phpMyAdmin)

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Ich steh vor der Verzweiflung! (phpMyAdmin)

    Hallo Forum,

    ich weiß das dies wieder eine typische Newbie-Frage ist, aber ich komm einfach nicht weiter. Habe jetzt schon über drei Stunden im Web nach einer Antwort gesucht, leider ohne Erfolg.

    Fehler: Kann mich nicht bei phpMyAdmin, einloggen.

    Beschreibung:
    Fangen wir mal an, da ich nicht weiß, ob es von Relevanz ist, schreibe ich hier kurz die Installationspfade der einzelnen Programme nieder:

    - OmniHTTPd Prof.2.0 - C:\Programmieren\Php\OmniHTTPd Prof.2.0
    (das HTDOCS-Verzeichnis verweist auf C:\Homepage)

    - mySQL 4.0.12 - C:\Programmieren\mySQL

    - phpMyAdmin 2.5.0 - C:\Homepage\phpmyadmin

    Gut, der Parser (OmniHTTPd) funktioniert einwandfrei, PHP-Seiten werden korrekt ausgeführt.

    mySQL funktioniert auch. Kann über WinMySQLAdmin die Datenbank starten ohne Fehlermeldung.

    So sieht meine 'my.ini' für mySQL aus:

    <--START-->

    #This File was made using the WinMySQLAdmin 1.4 Tool
    #14.5.2003 10:40:25

    #Uncomment or Add only the keys that you know how works.
    #Read the MySQL Manual for instructions

    [mysqld]
    basedir=C:/Programmieren/mysql
    #bind-address=192.168.0.4
    datadir=C:/Programmieren/mysql/data
    #language=C:/Programmieren/mysql/share/your language directory
    #slow query log#=
    #tmpdir#=
    #port=3306
    #set-variable=key_buffer=16M
    [WinMySQLadmin]
    Server=C:/Programmieren/mysql/bin/mysqld-max-nt.exe
    user=root
    password=test

    <--ENDE-->


    Soweit so gut, meine 'phpMyAdmin/config.inc.php' sieht (auszugsweise) folgend aus:

    <--START-->
    $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
    $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
    $cfg['PmaNoRelation_DisableWarning'] = FALSE;

    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['port'] = '';
    $cfg['Servers'][$i]['socket'] = '';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['compress'] = FALSE;
    $cfg['Servers'][$i]['controluser'] = '';
    $cfg['Servers']]'controlpass'] = '';
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = 'test';
    <--ENDE-->

    Habe nun schon zum hundersten mal die richtige Schreibweise des Wortes 'root' bzw. 'test' (für das Paßwort) überprüft.

    Jedoch, bring mir phpMySQL folgende Fehlerbeschreibung:

    <--START-->

    Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\auth\config.auth.lib.php on line 96


    Willkommen bei phpMyAdmin 2.5.0


    Fehler

    MySQL meldet:

    Access denied for user: 'root@127.0.0.1' (Using password: YES)

    <--ENDE-->


    Ein weiteres Indiz dafür das die Datenbank läuft ist, daß wenn ich sie abschalte, bekomm ich die Fehlermeldung:
    "Can't connect to MySQL server on 'localhost' (10061)"

    Habe auch schon versucht in die phpMyAdmin Config kein Paßwort einzugeben, dann bekomme ich folgende Fehlermeldung:

    <--START-->
    Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\index.php on line 43
    <--ENDE-->

    Gleiche Fehlermeldung erscheint wenn ich anstatt localhost meine Rechner-IP eingebe.

    Kann mir bitte irgendjemand Tips oder Vorschläge geben. Bin für alles sehr dankbar.

    Danke und auf bald,

    Christian Stauß


    PS: Fast vergessen --> Benutze WinXP-Prof. mit aktuellen SP (Falls das überhaupt relevant ist)

  • #2
    Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\index.php on line 43
    Dies bedeutet nur, dass bevor die headerinformationen eine Ausgabe gemacht wird.
    mfg
    Günni


    Praxis: Jeder kann´s, aber keiner weiß wie´s geht...
    Theorie: Jeder weiß wie´s geht, aber keiner kann´s ...
    Microsoft vereint Praxis und Theorie: Nix geht und keiner weiß warum
    City-Tiger - Online durch die Straßen tigern...

    Kommentar


    • #3
      was steht denn in der C:\Homepage\phpmyadmin\config.inc.php in zeile 643

      gibt auch mal drei - fünf zeilen drüber und drunter.
      INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


      Kommentar


      • #4
        Re: Ich steh vor der Verzweiflung! (phpMyAdmin)

        Original geschrieben von Tallus
        Soweit so gut, meine 'phpMyAdmin/config.inc.php' sieht (auszugsweise) folgend aus:

        <--START-->
        $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
        $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
        $cfg['PmaNoRelation_DisableWarning'] = FALSE;

        $cfg['Servers'][$i]['host'] = 'localhost';
        $cfg['Servers'][$i]['port'] = '';
        $cfg['Servers'][$i]['socket'] = '';
        $cfg['Servers'][$i]['connect_type'] = 'tcp';
        $cfg['Servers'][$i]['compress'] = FALSE;
        $cfg['Servers'][$i]['controluser'] = ''; // Hier noch mal Root
        $cfg['Servers']]'controlpass'] = ''; // Hier noch mal Passwort

        $cfg['Servers'][$i]['auth_type'] = 'config';
        $cfg['Servers'][$i]['user'] = 'root';
        $cfg['Servers'][$i]['password'] = 'test';
        <--ENDE-->
        *winks*
        Gilbert
        ------------------------------------------------
        Hilfe für eine Vielzahl von Problemen!!!
        http://www.1st-rootserver.de/

        Kommentar


        • #5
          wieso fehlt hier

          $cfg['Servers']]'controlpass'] = '';

          das $i ?

          ->
          $cfg['Servers'][$i]['controlpass'] = '';
          INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


          Kommentar


          • #6
            Leider hat alles nix geholfen

            Hallo,

            also, wenn ich bei:

            $cfg['Servers'][$i]['controluser'] = 'root';
            $cfg['Servers'][$i]['controlpass'] = 'test';
            $cfg['Servers'][$i]['user'] = 'root';
            $cfg['Servers'][$i]['password']= 'test';

            eingebe, erscheint folgende Fehlermeldung:


            <--START-->

            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\ob.lib.php on line 65

            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\header_http.inc.php on line 14

            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\header_http.inc.php on line 15

            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\header_http.inc.php on line 16

            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\header_http.inc.php on line 17

            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\header_http.inc.php on line 20

            Server localhost
            Fehler

            MySQL meldet:


            Access denied for user: 'root@127.0.0.1' (Using password: YES)

            <--ENDE-->

            Habe es auch schon versucht ohne 'user'/'password' und nur mit 'controluser'. Da erscheint die gleiche Fehlermeldung.

            Wenn ich das Paßwort in der phpMyAdmin config lösche (egal ob nun mit oder controluser) erscheint die übliche Fehlermeldung:

            <--START-->
            Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\index.php on line 43
            <--ENDE-->


            Dann war noch die Frage, nach den lezten Zeilen der phpMyAdmin config.
            Hier eine kopie ab Zeile 587:

            <--START-->

            // Map above defined groups to any function
            $cfg['RestrictFunctions'] = array(
            'FUNC_CHAR' => array(
            'ASCII',
            'CHAR',
            'SOUNDEX',
            'LCASE',
            'UCASE',
            'PASSWORD',
            'MD5',
            'ENCRYPT',
            'LAST_INSERT_ID',
            'USER',
            'CONCAT'
            ),

            'FUNC_DATE' => array(
            'NOW',
            'CURDATE',
            'CURTIME',
            'FROM_DAYS',
            'FROM_UNIXTIME',
            'PERIOD_ADD',
            'PERIOD_DIFF',
            'TO_DAYS',
            'UNIX_TIMESTAMP',
            'WEEKDAY'
            ),

            'FUNC_NUMBER' => array(
            'ASCII',
            'CHAR',
            'MD5',
            'ENCRYPT',
            'RAND',
            'LAST_INSERT_ID',
            'COUNT',
            'AVG',
            'SUM'
            )
            );

            } // end if


            /**
            * Unset magic_quotes_runtime - do not change!
            */
            set_magic_quotes_runtime(0);

            /**
            * File Revision - do not change either!
            */
            $cfg['FileRevision'] = '$Revision: 1.175 $';
            ?>

            <--ENDE-->

            Vielen Dank für Euere Hilfe!

            Kommentar


            • #7
              hierauf hatte ich noch keine antwort erhalten.
              da muss der wurm begraben sein.
              Original geschrieben von Abraxax
              was steht denn in der C:\Homepage\phpmyadmin\config.inc.php in zeile 643
              INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


              Kommentar


              • #8
                probier mal folgendes:

                Code:
                $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/'; 
                $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE; 
                $cfg['PmaNoRelation_DisableWarning'] = FALSE; 
                
                $cfg['Servers'][$i]['host'] = 'localhost'; 
                $cfg['Servers'][$i]['port'] = ''; 
                $cfg['Servers'][$i]['socket'] = ''; 
                $cfg['Servers'][$i]['connect_type'] = 'tcp'; 
                $cfg['Servers'][$i]['compress'] = FALSE; 
                $cfg['Servers'][$i]['controluser'] = '';
                $cfg['Servers'][$i]['controlpass'] = '';
                $cfg['Servers'][$i]['auth_type'] = 'http';  // <<<----
                $cfg['Servers'][$i]['user'] = 'root'; 
                $cfg['Servers'][$i]['password'] = 'test';
                solltest dann ein dialogfeld bekommen mit abfrage, wie .htaccess ..
                find ich feiner .. besonders weil ich sonst immer das pw anpassen müsst
                mfg,
                [color=#0080c0]Coragon[/color]

                Kommentar


                • #9
                  Immer noch nicht

                  Hallo, danke für die schnellen Antworten:

                  @Abraxax:
                  Ich habe in meinem vorletzen Post den letzten Abschnitt der phpMyAdmin config beigefügt. Falls Du die ganze File benötigen solltest, stelle ich Sie ins Netz oder schicke Sie Dir per Mail oder ICQ.

                  @Coragon Rivito:
                  Wenn ich anstatt config, http einsetze erscheint folgende Fehlermedlung:

                  <--START-->
                  Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\auth\http.auth.lib.php on line 29

                  Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\auth\http.auth.lib.php on line 30

                  Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\auth\http.auth.lib.php on line 31

                  Warning: Cannot add header information - headers already sent by (output started at C:\Homepage\phpmyadmin\config.inc.php:643) in C:\Homepage\phpmyadmin\libraries\auth\http.auth.lib.php on line 34



                  Willkommen bei phpMyAdmin 2.5.0


                  Falscher Benutzername/Kennwort. Zugriff verweigert.
                  <--ENDE-->

                  Danke!

                  Kommentar


                  • #10
                    Re: Immer noch nicht

                    Original geschrieben von Tallus
                    @Abraxax:
                    Ich habe in meinem vorletzen Post den letzten Abschnitt der phpMyAdmin config beigefügt. Falls Du die ganze File benötigen solltest, stelle ich Sie ins Netz oder schicke Sie Dir per Mail oder ICQ.
                    ich brauche das file nicht.... ich wollte dich nur darauf hinweisen, dass dort etwas ausgegeben wird, was der header() nicht mag. also leerzeichen oder zeilenumbrüche vor <?php und nach ?> sind eben nunmal auch ausgaben.
                    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                    Kommentar

                    Lädt...
                    X