not found or unable to stat [Solved]

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

not found or unable to stat [Solved]

Postby ChristianChristian » 29. January 2013 21:14

by ChristianChristian » 28. January 2013 22:25

Hi all, I'm a newbie in need of your help who has:

1. Downloaded xampp as a ZIP to C:\
2. Unzipped xampp to C:\
3. Deleted the ZIP
5. Gone into xampp and gave myself a MySQL password
5. Changed the port from 80 to 8080 in the httpd.conf document that is in the conf folder in the apache folder in the xampp folder
4. Created and added a php document called lesson2a to a folder called php24 that I created and put in the htdocs forlder in the xampp folder (so the path is C:\XAMPP/htdocs/php34/lesson2a)

When I run xampp as an Administrator and start apache and MySQL and go to...

localhost:8080

...I can the apache start screen but when I go to...

localhost:8080/lesson2a.php

I get...

Error 4040

...and this is what this generates in the error.log document in the log folder in the apache folder...

[Mon Jan 28 21:02:04.883399 2013] [:error] [pid 3324:tid 1636] [client ::1:63526] script 'C:/xampp/htdocs/xampp/lessson2a.php' not found or unable to stat

Any ideas??? All help very much appreciated as I really am a newbie (it's taken me a week to just get this far ).

Thanks,


Christian

P.S. here is the code from the lesson2a.php file:

<html>
<head>
<title>Lesson 2a</title>
</head>
<body>
<h1>Welcome</h1>
<p>Today is Sep 27, 2011</p>
</body>
</html>

P.S.S. My OS is Windows 8 and I've used view to show file extension to make sure that the lesson2a document is a php file
ChristianChristian
 
Posts: 4
Joined: 26. January 2013 12:04
XAMPP Version: 5.6.3
Operating System: Windows 8

Re: not found or unable to stat

Postby hackattack142 » 29. January 2013 23:49

Hello,

C:\XAMPP/htdocs/php34/lesson2a

If that is the location of your file, you need to specify all subfolders from your htdocs in the URL also: http://localhost:8080/php34/lesson2a.php
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: not found or unable to stat

Postby ChristianChristian » 31. January 2013 21:04

Thanks, it appears to be working now ;)
ChristianChristian
 
Posts: 4
Joined: 26. January 2013 12:04
XAMPP Version: 5.6.3
Operating System: Windows 8


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 39 guests