HX3 Foren  

  HX3 Foren > Konstruktiv > Software- und Webentwicklung

Software- und Webentwicklung Planung, Programmierung und Administration
UML, JavaScript/DOM, ASP, JSP, PHP, Apache, MySQL, Python, Perl (...)

Antwort
 
Themen-Optionen Ansicht
Alt 06.09.2004, 19:05   #41 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Das ist weil du registriert bist - bei mir erscheint das:

Authentification

You need to be authentified to be able to download the PHPEdit-stable-1.0.4.82-2004-08-31-de.exe file.


Zitat:

Ja existiert die libraries/grab_globals-lib.php nun oder existiert sie nicht?

Ja
____________________________________________

Ich hab die exe die du meinst gefunden und gestartet aber diese kleine Ampel erscheint nicht ._.
__________________
Kompost ist offline   Mit Zitat antworten
Alt 06.09.2004, 20:23   #42 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Was passiert, denn dann?
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 06.09.2004, 20:25   #43 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Es öffnet sich ganz kurz diese Schwarze Eingabeaufforderung aber dann verschwindet sie auch schon wieder ohne irgendeine Fehlermeldung.
__________________
Kompost ist offline   Mit Zitat antworten
Alt 07.09.2004, 18:34   #44 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

winmysqladmin.exe ist ein Win32-Anwendung - keine Konsolenanwendung.


===


Zurück zu den Fehlerchen:

Öffne die php.ini suche "include_path" und setz ein ";" vor die Zeile, damit PHP denkt es sei ein Kommentar und somit den (falschen) Befehl überliest.
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 08.09.2004, 15:03   #45 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Da is schon ein ; vor:

Code:
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
__________________
Kompost ist offline   Mit Zitat antworten
Alt 08.09.2004, 19:28   #46 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Was zeigt er jetzt noch konkred für Fehler an wenn du phpMyAdmin startest?
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 08.09.2004, 19:57   #47 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Also ich geh immer http://localhost/phpmyadmin/index.php

Fehler:

Warning: main(libraries/grab_globals-lib.php) [function.main]: failed to open stream: No such file or directory in D:\Apache Group\Apache2\htdocs\phpmyadmin\index.php on line 9

Warning: main() [function.include]: Failed opening 'libraries/grab_globals-lib.php' for inclusion (include_path='.;C:\php5\pear') in D:\Apache Group\Apache2\htdocs\phpmyadmin\index.php on line 9



Welcome to phpMyAdmin 2.5.6


phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

Error

MySQL said:

#2003 - Can't connect to MySQL server on 'localhost' (10061)

[Documentation]

._.
__________________
Kompost ist offline   Mit Zitat antworten
Alt 10.09.2004, 05:44   #48 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Such mal nach "winmysqladmin".
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 10.09.2004, 13:17   #49 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Sorry, wirklich dumm von mir... Ich hab immer die Falsche .exe Datei geöffnet

Trotzdem kommt immernoch ne Fehlermeldung:

Code:
Warning: main(libraries/grab_globals-lib.php) [function.main]: failed to open stream: No such file or directory in D:\Apache Group\Apache2\htdocs\phpmyadmin\index.php on line 9

Warning: main() [function.include]: Failed opening 'libraries/grab_globals-lib.php' for inclusion (include_path='.;C:\php5\pear') in D:\Apache Group\Apache2\htdocs\phpmyadmin\index.php on line 9
__________________
Kompost ist offline   Mit Zitat antworten
Alt 10.09.2004, 18:58   #50 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Jetzt such noch nach "grab_globals-lib.php".
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 10.09.2004, 23:06   #51 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Wo soll das denn sein? Ich habs mit der Windows Suche gesucht und nichts gefunden ._. In welchem Ordner soll die Datei denn sein?
__________________
Kompost ist offline   Mit Zitat antworten
Alt 11.09.2004, 07:07   #52 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

D:/Apache Group/Apache2/htdocs/phpmyadmin/libraries/

Zeig mir bitte den kompletten Ordnerinhalt.

===

Wenigstens macht jetzt der PHP-Error wieder Sinn
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 12.09.2004, 13:39   #53 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

__________________
Kompost ist offline   Mit Zitat antworten
Alt 12.09.2004, 15:23   #54 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

So musst du das umschreiben:

Zitat:

include("libraries/grab_globals.lib.php");

Die Dateiendungen werden bei dir übrigends immer noch nicht angezeigt.
So könnte ich nicht arbeiten.
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 12.09.2004, 21:16   #55 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Was muss ich so umschreiben?
__________________
Kompost ist offline   Mit Zitat antworten
Alt 15.09.2004, 17:40   #56 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Du hast die betreffende Zeile schon einmal umgeschrieben:

http://foren.hx3.de/index.php?showtopic=23...indpost&p=25038

Jetzt musst du sie wieder umschreiben.
Was sich geändert hat ist der Punkt.
(Ich hab ihn damit du ihn besser siehst rot gefärbt.)
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 15.09.2004, 18:26   #57 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

Code:
<?php
/* $Id: grab_globals.lib.php,v 2.4 2003/11/26 22:52:23 rabus Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
 * This library grabs the names and values of the variables sent or posted to a
 * script in the $_* arrays and sets simple globals variables from them. It does
 * the same work for the $PHP_SELF, $HTTP_ACCEPT_LANGUAGE and
 * $HTTP_AUTHORIZATION variables.
 *
 * loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
 */

function PMA_gpc_extract($array, &$target) {
 &nbsp; &nbsp;if (!is_array($array)) {
 &nbsp; &nbsp; &nbsp; &nbsp;return FALSE;
 &nbsp; &nbsp;}
 &nbsp; &nbsp;$is_magic_quotes = get_magic_quotes_gpc();
 &nbsp; &nbsp;foreach($array AS $key => $value) {
 &nbsp; &nbsp; &nbsp; &nbsp;if (is_array($value)) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// there could be a variable coming from a cookie of
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// another application, with the same name as this array
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;unset($target[$key]);

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PMA_gpc_extract($value, $target[$key]);
 &nbsp; &nbsp; &nbsp; &nbsp;} else if ($is_magic_quotes) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$target[$key] = stripslashes($value);
 &nbsp; &nbsp; &nbsp; &nbsp;} else {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$target[$key] = $value;
 &nbsp; &nbsp; &nbsp; &nbsp;}
 &nbsp; &nbsp;}
 &nbsp; &nbsp;return TRUE;
}

if (!empty($_GET)) {
 &nbsp; &nbsp;PMA_gpc_extract($_GET, $GLOBALS);
} // end if

if (!empty($_POST)) {
 &nbsp; &nbsp;PMA_gpc_extract($_POST, $GLOBALS);
} // end if

if (!empty($_FILES)) {
 &nbsp; &nbsp;foreach($_FILES AS $name => $value) {
 &nbsp; &nbsp; &nbsp; &nbsp;$$name = $value['tmp_name'];
 &nbsp; &nbsp; &nbsp; &nbsp;${$name . '_name'} = $value['name'];
 &nbsp; &nbsp;}
} // end if

if (!empty($_SERVER)) {
 &nbsp; &nbsp;$server_vars = array('PHP_SELF', 'HTTP_ACCEPT_LANGUAGE', 'HTTP_AUTHORIZATION');
 &nbsp; &nbsp;foreach ($server_vars as $current) {
 &nbsp; &nbsp; &nbsp; &nbsp;if (isset($_SERVER[$current])) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$$current = $_SERVER[$current];
 &nbsp; &nbsp; &nbsp; &nbsp;} elseif (!isset($$current)) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$$current = '';
 &nbsp; &nbsp; &nbsp; &nbsp;}
 &nbsp; &nbsp;}
 &nbsp; &nbsp;unset($server_vars, $current);
} // end if

// Security fix: disallow accessing serious server files via "?goto="
if (isset($goto) && strpos(' ' . $goto, '/') > 0 && substr($goto, 0, 2) != './') {
 &nbsp; &nbsp;unset($goto);
} // end if

?>
Hm, ich finde die Stelle nicht. Bei Zeile neun steht das hier:

* the same work for the $PHP_SELF, $HTTP_ACCEPT_LANGUAGE and
__________________
Kompost ist offline   Mit Zitat antworten
Alt 15.09.2004, 21:03   #58 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Aua!

index.php!!

htdocs/phpmyadmin/index.php

Wir wollen schlieslich von der index.php aus die grab_globals einbinden und nicht von grab_globals aus die grab_globals,.. was folglich absolut keinen Sinn machen würde.

Du hast die betroffene Zeile doch schon mal editiert?
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Alt 15.09.2004, 21:07   #59 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard

ok, sry hab ich jetzt gemacht.

Fehlermeldung ist jetzt immer:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\Apache Group\Apache2\htdocs\phpmyadmin\index.php on line 9

Ich start PC nochmal neu und guck ob dann vielleicht noch was anderes kommt.
__________________
Kompost ist offline   Mit Zitat antworten
Alt 16.09.2004, 05:05   #60 (permalink)
Administrator 10 Jahre hx3
5000 Beiträge
 
Benutzerbild von Atomic
 
Registriert seit: 21.02.2003
Ort: Köln
Alter: 38
Beiträge: 5.162
Atomic eine Nachricht über Skype™ schicken
Standard

Gib mir mal die ersten 20 Zeilen.
__________________
https://savetheinternet.info/
Atomic ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus


Kontakt - HX3.de - Archiv - Nach oben

Angetrieben durch vBulletin, Entwicklung von Philipp Dörner & Tobias



SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119