Page 1 of 1

Object not found

PostPosted: 04. November 2015 00:00
by senija_rob
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____

Re: Object not found

PostPosted: 04. November 2015 00:40
by Altrea
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