Verzweiflung -_-

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Verzweiflung -_-

Postby AllesFalsch » 25. November 2010 16:08

Hallo liebe Community

Ich habe mir den Apache Server Xampp runtergeladen und unter C:// installiert. Meine PHP Files habe ich alle im Verzeichnis C:\Xampp\xampp\htdocs abgespeichert (zum Beispiel try.php)
Quellcode von try.php:
Code: Select all
<?php
echo "jetzt sollte gleich hier etwas stehen";
echo $_POST["vorname"];
?>


Doch natürlich muss ich ja jetzt meine PHP Scripts über den Server öffnen, also gebe ich im FF Browser http://localhost/ ein (bzw. http://localhost/try.php doch dann kommt Error 404) und gelange zu folgender Seite: http://www.materialordner.de/mfqfUwtMovcQbRIG16rMtJHKmzWhpftB.html. Das verwirrt mich, denn bevor ich ein Passwort für den XAMPP VERZEICHNIS SCHUTZ (.htaccess) gemacht habe, ging das. Ist ja auch irgendwie logisch dass es jetzt nimmer geht.
Das htaccess File sieht folgendermassen aus:
Code: Select all
AuthName "xampp user"
AuthType Basic
AuthUserFile "C:\Xampp\xampp\security\xampp.users"
require valid-user


Benötigt gültigen User. Soso. Bin ich doch! Beweisbild: http://www.materialordner.de/EipUEhDMWxGmIi1JljRRMO3EcR5R3C6w.html Oder ist das ein anderer User, "root" ist doch Alles! Die Wurzel alles Bösen ;)


Ich muss mich doch irgendwo anmelden können (denn ich habe in der Tat einen "Account" für den Verzeichnis Schutz gemacht und habe mir die Daten natürlich auch gemerkt) um meine Scripts ausführen zu können. Nur wie? Wenn ich auf http://localhost/xampp/ sehe ich alles, ins admin Tool kann ich mich auch einloggen. DIe Xampp Control Panle Application zeigt mir auch dass Apache und MySql laufen. Ports sind sowieso frei.

Welches File muss ich editieren?

Danke Leute für eure Hilfe

Edit: error Log:
Code: Select all
[Thu Nov 25 00:24:27 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/phpinfo.php' not found or unable to stat
[Thu Nov 25 00:24:32 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 12:31:29 2010] [warn] pid file C:/Xampp/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Nov 25 12:31:32 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 12:31:32 2010] [notice] Digest: done
[Thu Nov 25 12:31:32 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu Nov 25 12:31:32 2010] [notice] Server built: Nov 11 2009 14:29:03
[Thu Nov 25 12:31:32 2010] [notice] Parent: Created child process 2164
[Thu Nov 25 12:31:33 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 12:31:33 2010] [notice] Digest: done
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Child process is running
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Acquired the start mutex.
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Starting 150 worker threads.
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Starting thread to listen on port 443.
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Starting thread to listen on port 443.
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Starting thread to listen on port 80.
[Thu Nov 25 12:31:33 2010] [notice] Child 2164: Starting thread to listen on port 80.
[Thu Nov 25 12:32:40 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 12:32:40 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 12:32:43 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 12:32:45 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 12:32:51 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/xampp/
[Thu Nov 25 12:32:52 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/xampp/?C=N;O=D
[Thu Nov 25 12:34:57 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 12:35:00 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 12:35:14 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 12:35:45 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 12:35:47 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 12:35:51 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 12:39:05 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 12:40:34 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here
[Thu Nov 25 12:48:59 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 12:53:59 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here
[Thu Nov 25 12:55:35 2010] [alert] [client ::1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://localhost/
[Thu Nov 25 13:03:03 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:03:03 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:03:05 2010] [alert] [client 127.0.0.1] C:/Xampp/xampp/htdocs/xampp/sqlite/.htaccess: order not allowed here, referer: http://127.0.0.1/
[Thu Nov 25 13:03:06 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:03:06 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:05:39 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 13:05:47 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 13:05:51 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/files
[Thu Nov 25 13:07:20 2010] [error] [client 127.0.0.1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 13:09:27 2010] [error] APR does not understand this error code at C:/Xampp/xampp/perl/site/lib//HTML/Perlinfo/Base.pm line 106.\n
[Thu Nov 25 13:09:27 2010] [error] [client ::1] Handler for type-map returned invalid result code 620018, referer: http://localhost/xampp/perlinfo.pl
Adding password for user Nikolai
[Thu Nov 25 13:14:52 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 13:15:21 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 13:15:47 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:15:47 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:15:50 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/favicon.ico
[Thu Nov 25 13:26:48 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Nov 25 13:26:48 2010] [notice] Child 2164: Exit event signaled. Child process is ending.
[Thu Nov 25 13:26:49 2010] [notice] Child 2164: Released the start mutex
[Thu Nov 25 13:26:50 2010] [notice] Child 2164: All worker threads have exited.
[Thu Nov 25 13:26:50 2010] [notice] Child 2164: Child process is exiting
[Thu Nov 25 13:26:50 2010] [notice] Parent: Child process exited successfully.
[Thu Nov 25 13:27:14 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 13:27:14 2010] [notice] Digest: done
[Thu Nov 25 13:27:14 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu Nov 25 13:27:14 2010] [notice] Server built: Nov 11 2009 14:29:03
[Thu Nov 25 13:27:14 2010] [notice] Parent: Created child process 3308
[Thu Nov 25 13:27:15 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 13:27:15 2010] [notice] Digest: done
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Child process is running
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Acquired the start mutex.
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Starting 150 worker threads.
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Starting thread to listen on port 443.
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Starting thread to listen on port 443.
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Starting thread to listen on port 80.
[Thu Nov 25 13:27:15 2010] [notice] Child 3308: Starting thread to listen on port 80.
[Thu Nov 25 13:27:46 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 13:27:53 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 13:28:24 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/phpinfo.php' not found or unable to stat
[Thu Nov 25 14:28:38 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 14:29:11 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 14:29:54 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 14:35:34 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htd
[Thu Nov 25 14:35:43 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/xampp/htdocs
[Thu Nov 25 14:37:13 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 15:15:00 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 15:21:24 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 15:21:57 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/mediawiki, referer: http://meinews.niuz.biz/mediawiki-t274198.html?s=2041526136566aac04d80f24af8a7074&amp;
[Thu Nov 25 15:24:17 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/xampp/test2.htm, referer: http://community.apachefriends.org/f/viewtopic.php?t=24153
[Thu Nov 25 15:24:30 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/test2.htm, referer: http://community.apachefriends.org/f/viewtopic.php?t=24153
[Thu Nov 25 15:27:43 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Nov 25 15:27:43 2010] [notice] Child 3308: Exit event signaled. Child process is ending.
[Thu Nov 25 15:27:44 2010] [notice] Child 3308: Released the start mutex
[Thu Nov 25 15:27:45 2010] [notice] Child 3308: All worker threads have exited.
[Thu Nov 25 15:27:45 2010] [notice] Child 3308: Child process is exiting
[Thu Nov 25 15:27:45 2010] [notice] Parent: Child process exited successfully.
[Thu Nov 25 15:27:52 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 15:27:52 2010] [notice] Digest: done
[Thu Nov 25 15:27:53 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu Nov 25 15:27:53 2010] [notice] Server built: Nov 11 2009 14:29:03
[Thu Nov 25 15:27:53 2010] [notice] Parent: Created child process 4864
[Thu Nov 25 15:27:54 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 15:27:54 2010] [notice] Digest: done
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Child process is running
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Acquired the start mutex.
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Starting 150 worker threads.
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Starting thread to listen on port 443.
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Starting thread to listen on port 443.
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Starting thread to listen on port 80.
[Thu Nov 25 15:27:54 2010] [notice] Child 4864: Starting thread to listen on port 80.
[Thu Nov 25 15:28:38 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 15:28:45 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/htdocs
[Thu Nov 25 15:28:51 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 15:29:12 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/Index Of
[Thu Nov 25 15:29:14 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/Index
[Thu Nov 25 15:29:18 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/Index
[Thu Nov 25 15:31:37 2010] [error] [client 127.0.0.1] File does not exist: C:/Xampp/xampp/htdocs/hahn
[Thu Nov 25 15:33:36 2010] [error] [client ::1] File does not exist: C:/Xampp/xampp/htdocs/phptest, referer: http://community.apachefriends.org/f/viewtopic.php?f=4&t=20254&p=84718&hilit=Index+of+leer
[Thu Nov 25 15:33:44 2010] [error] [client 127.0.0.1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 15:49:11 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 16:04:00 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat
[Thu Nov 25 16:05:09 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Nov 25 16:05:09 2010] [notice] Child 4864: Exit event signaled. Child process is ending.
[Thu Nov 25 16:05:10 2010] [notice] Child 4864: Released the start mutex
[Thu Nov 25 16:05:11 2010] [notice] Child 4864: All worker threads have exited.
[Thu Nov 25 16:05:11 2010] [notice] Child 4864: Child process is exiting
[Thu Nov 25 16:05:11 2010] [notice] Parent: Child process exited successfully.
[Thu Nov 25 16:05:19 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 16:05:19 2010] [notice] Digest: done
[Thu Nov 25 16:05:19 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu Nov 25 16:05:19 2010] [notice] Server built: Nov 11 2009 14:29:03
[Thu Nov 25 16:05:19 2010] [notice] Parent: Created child process 4768
[Thu Nov 25 16:05:20 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 25 16:05:20 2010] [notice] Digest: done
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Child process is running
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Acquired the start mutex.
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Starting 150 worker threads.
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Starting thread to listen on port 443.
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Starting thread to listen on port 443.
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Starting thread to listen on port 80.
[Thu Nov 25 16:05:20 2010] [notice] Child 4768: Starting thread to listen on port 80.
[Thu Nov 25 16:09:26 2010] [error] [client ::1] script 'C:/Xampp/xampp/htdocs/try.php' not found or unable to stat, referer: http://community.apachefriends.org/f/viewtopic.php?f=4&t=42808
AllesFalsch
 
Posts: 2
Joined: 25. November 2010 15:44

Re: Verzweiflung -_-

Postby AllesFalsch » 25. November 2010 16:22

Ich habe jetzt eine Lösung gefunden meine Files auszuführen:

gebe ich folgenden URL ein https://localhost/xampp/try.php läuft alles ohne Probleme. Vorher war das nicht so. Weiss der Geier.
Ich lasse dass mal auf, denn Probleme werde ich noch massenweise haben :)
AllesFalsch
 
Posts: 2
Joined: 25. November 2010 15:44

Re: Verzweiflung -_-

Postby Nobbie » 26. November 2010 12:23

AllesFalsch wrote:Ich habe mir den Apache Server Xampp runtergeladen und unter C:// installiert. Meine PHP Files habe ich alle im Verzeichnis C:\Xampp\xampp\htdocs abgespeichert (zum Beispiel try.php)


Das ist bereits "alles falsch". Irgendetwas stimmt nicht, wenn Du Xampp wirklich unter C:/ installiert hättest, würde nicht zwei mal "Xampp" im Pfadnamen stehen. Ich vermute, Du hast Xampp ggf. mehrfach installiert, mal hier mal da, und jetzt stimmen die Pfadnamen und Ordner in diversen Konfigurationsdateien o.ä. nicht mehr. Auf alle Fälle fangen hier schon die Probleme an, denn das ist so "alles falsch".
Nobbie
 
Posts: 8775
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 15 guests