Object not found

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

Object not found

Postby senija_rob » 04. November 2015 00:00

On my old Win 7 laptop localhost/filename.php correctly opened the file in C/xampp/htdocs/subdirectory/filename.php

Now have a new Win 10 laptop. Have installed same version of xampp and copied all the files into C/xampp/htdocs/subdirectory/

Now localhost/filename.php returns an object not found error. However localhost/subdirectory/filename.php works.

How can I correct this so that localhost/filename.php will work on my Win 10 laptop____
senija_rob
 
Posts: 1
Joined: 03. November 2015 22:51
Operating System: Win 10

Re: Object not found

Postby Altrea » 04. November 2015 00:40

senija_rob wrote:On my old Win 7 laptop localhost/filename.php correctly opened the file in C/xampp/htdocs/subdirectory/filename.php

Now have a new Win 10 laptop. Have installed same version of xampp and copied all the files into C/xampp/htdocs/subdirectory/

Now localhost/filename.php returns an object not found error. However localhost/subdirectory/filename.php works.

How can I correct this so that localhost/filename.php will work on my Win 10 laptop____

Either you reconfigured DocumentRoot or defined a virtualHost for localhost with this DocumentRoot
Or your URL has included that subdirectory too like so: http://localhost/subdirectory/filename.php
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8297
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 58 guests