Page 1 of 1

[solved]Xampp error 404 doesn't work

PostPosted: 26. September 2012 19:16
by icecube
Hi, everybody i'm new in this forum, first of all i have to ask sorry for my english, it's not good but i hope you'll understand :oops:
i'm from italy, i've visited this forum several times but i have never registered....

anyway, i have a problem :?
2 days ago i decided to turn back to work with php, but my xampp stopped working, i had installed the 1.6 version, it worked perfectly when i installed it (i also installed joomla with virtuemart), when i saw that wasn't working i decided to delete it and install the newest version, so i downloaded the zip version and extract it in C:, but it still didn't work, so i deleted it agan and downloaded the .exe version, but it had the same problem....

the problem is...when i open a php file for example localhost/xampp/htdocs/index.php, i have this page error:
Oggetto non trovato!

L'URL richiesto non esiste su questo server. Se hai scritto l'URL a mano, per favore controlla che non ci siano errori.

Se pensi che questo sia un errore del server, per favore contatta il webmaster.

Error 404

localhost
Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

("oggetto non trovato" means object not found)

i tried a lot of time to remove it and reinstall it but nothig, i don't understand where's the problem, what i have to do, it's 2 days i'm blocked, please help :( :(

if it can be useful, i use chrome (i've also tried with firefox but nothing)

Re: Xampp error 404 doesn't work

PostPosted: 26. September 2012 19:42
by Altrea
Hi icecube,

icecube wrote:the problem is...when i open a php file for example localhost/xampp/htdocs/index.php, i have this page error:
Oggetto non trovato!

L'URL richiesto non esiste su questo server. Se hai scritto l'URL a mano, per favore controlla che non ci siano errori.

Se pensi che questo sia un errore del server, per favore contatta il webmaster.

Error 404

localhost
Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

("oggetto non trovato" means object not found)

Thats not an XAMPP problem but an user understanding problem. You simply don't use the correct url.
Try: http://localhost/index.php (which will request the file \xampp\htdocs\index.php)

best wishes,
Altrea

Re: Xampp error 404 doesn't work

PostPosted: 26. September 2012 20:04
by icecube
i tried your link, and it takes me to the localhost page...
i can see the default page, the problem happen when i try to see my php pages...
i also tried with http://localhost/xampp/htdocs/Joomla15/index.php i have the same problem... :(

i just tried to create a new file named test.php and i put it in htdocs

Code: Select all
<html>
<title>PHP Check File</title>
<body>
<?php
print "<h1>Congratulations, your server can process PHP!</h1>";
print "<h3>Here you can view the PHP configuration on your server</h3>";
phpinfo( );
exit();
?>
<h1>Sorry, PHP is not enabled on this server.</h1><br /><br />
<h3>Check your host provider documentation or contact
your host provider to ask them how to enable PHP.</h3>
</body>
</html>


then i used http://localhost/xampp/htdocs/test.php but i have the same message... i'm really desperate :( :( :(

Re: Xampp error 404 doesn't work

PostPosted: 26. September 2012 22:39
by Altrea

Re: Xampp error 404 doesn't work

PostPosted: 27. September 2012 15:41
by icecube
Thanks for the reply... :)
i don't have the same problem, i don't write C:.... i use localhost adress, as i wrote up, my problem is that i have 404 error if it can be helpful i can also do a screenshot...

Re: Xampp error 404 doesn't work

PostPosted: 27. September 2012 16:06
by Altrea
icecube wrote:i don't have the same problem, i don't write C:.... i use localhost adress, as i wrote up, my problem is that i have 404 error

You have the same problem. You don't write the correct url. So my last try:
Where in my whole explanation do you read a \xampp\htdocs\ in the url?

Re: Xampp error 404 doesn't work

PostPosted: 27. September 2012 16:40
by icecube
aaaahhhh sorry, you're right, i only tried to remove htdocs from my url and not also xampp.....
you're right, sorry for my ignorance :oops: :oops:

and thanks a lot to be soo patient... :) :)

Re: Xampp error 404 doesn't work

PostPosted: 27. September 2012 18:01
by Altrea
Never mind.
I'm glad your problem could be solved :)

Have fun with XAMPP and all that stuff.