Error 404 : Object not found

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

Error 404 : Object not found

Postby Aysel » 08. May 2013 10:53

Hello,

I have just started learning PHP and have installed XAMPP 1.8.0
I was able to execute codes in starting. The problem occurred a few days after installation, for all the pages I had created, local host started giving error 404. Tried to restore computer, was able to execute code again, but after 1 hour again same error (404) is coming, for all the files which were being executed earlier or the new one.

The only page which is executed now is index, which is in htdocs since installation(by default). But, if I try to create a new page with same code, again 404 error is coming. Have tried to run as administrator and change MySql password, nothing works.

Kindly provide resolution at the earliest.
Aysel
 
Posts: 4
Joined: 08. May 2013 05:51
Operating System: Windows7

Re: Error 404 : Object not found

Postby Altrea » 08. May 2013 10:58

Hi Aysel,

Where are the files saved (full path)?
What address does your browsers address bar show?

best wishes,
Altrea
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error 404 : Object not found

Postby Aysel » 08. May 2013 11:01

Thanks for your quick reply.

URL : http:/localhost/xampp/filename.php
Aysel
 
Posts: 4
Joined: 08. May 2013 05:51
Operating System: Windows7

Re: Error 404 : Object not found

Postby Aysel » 08. May 2013 11:02

files are saved in htdocs directly within Xampp folder in C drive
Aysel
 
Posts: 4
Joined: 08. May 2013 05:51
Operating System: Windows7

Re: Error 404 : Object not found

Postby Altrea » 08. May 2013 12:23

Aysel wrote:files are saved in htdocs directly within Xampp folder in C drive

So your files are saved in C:\xampp\htdocs\ ?
Then the "xampp" in your url is wrong.

http://localhost/xampp/ routes to C:\xampp\htdocs\xampp\
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error 404 : Object not found

Postby Aysel » 09. May 2013 09:27

Thanks Altrea, that did the trick.
...was such a silly thing to ignore on my part.
Aysel
 
Posts: 4
Joined: 08. May 2013 05:51
Operating System: Windows7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 73 guests