can,t find files

Problems with the Windows version of XAMPP, questions, comments, and anything related.

can,t find files

Postby boombaxx » 17. July 2009 18:30

When i, trying to access files on my local computer it always comes up not found. I,m using the latest version of xampp and have checked the ports are working as they should be. Apache says it,s working.
boombaxx
 
Posts: 4
Joined: 17. July 2009 17:03

Re: can,t find files

Postby Wiedmann » 17. July 2009 18:57

So you are using a wrong URI for your files.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: can,t find files

Postby boombaxx » 17. July 2009 19:01

boombaxx
 
Posts: 4
Joined: 17. July 2009 17:03

Re: can,t find files

Postby Wiedmann » 17. July 2009 20:00

"http://localhost/xampp/htdocs/php_mysandbox/my_phpinfo.php"

So you have this file?
C:\xampp\htdocs\xampp\htdocs\php_mysandbox\my_phpinfo.php
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: can,t find files

Postby boombaxx » 17. July 2009 20:53

Yes i made this file to test php it,s not happening
boombaxx
 
Posts: 4
Joined: 17. July 2009 17:03

Re: can,t find files

Postby Wiedmann » 17. July 2009 21:26

What can you read in the "error.log"?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: can,t find files

Postby boombaxx » 18. July 2009 17:10

there is nothing in the error log. Apache is working i get this message. If this works, we did it!. It won,t let me access any files
boombaxx
 
Posts: 4
Joined: 17. July 2009 17:03

Re: can,t find files

Postby Wiedmann » 18. July 2009 17:22

there is nothing in the error log.

Then your Apache never started.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: can,t find files

Postby Izzy » 19. July 2009 00:44

boombaxx wrote:http://localhost/xampp/htdocs/php_mysandbox/my_phpinfo.php this is the one i,m trying
Are you sure you have the file my_phpinfo.php in:
C:\xampp\htdocs\xampp\htdocs\php_mysandbox\
http://localhost/xampp/htdocs/php_mysandbox/my_phpinfo.php

Or is it in the default location:
C:\xampp\htdocs\php_mysandbox\my_phpinfo.php
http://localhost/php_mysandbox/my_phpinfo.php

Please double check the location of the file and the URI you are using to access the file.

BTW the error log file is located in the default installation location of C:\xampp\apache\logs\error.log and if you have Apache running then you should see a 404 page not found error in this log file at the date and time you tried to access it (drag the file into your opened text editor to read it).

If your error is from the web browser only then it is possible that Apache is not running so check using the XAMPP Control Panel that both Apache and MySQL have a green running next to them.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 115 guests