NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
404 Error after running a script


Joined: 10 Oct 2010
Posts: 1
Reply with quote
Hello!

I installed NuSphere PhpEd few days ago and it worked fine.

But now when I try to run scripts I get 404 error.

For example running next script:
Code:
<?php
  echo "Hello World";
?>


gives next message:
Quote:
Not found
The requested URL /file:/C:/Users/abizan/AppData/Roaming/NuSphere/PhpED/projects/noname1.php was not found on this server


my hosts file:
Code:
127.0.0.1   localhost



I'm not the only user of my PC and I can't surely say what happened. I just tried to re-install PhpEd. Please help me.



PS: sorry for my english Very Happy
View user's profileFind all posts by abizanSend private message


Joined: 11 Apr 2010
Posts: 90
Location: Prague, Czech Republic
Reply with quote
There might be many reasons. The first thing to check is if your web server is up and running. This depends on what web server you use. Go to Services and check if the service is started - it should be either Apache or Windows IIS. This is a basic thing you need to run an application on localhost. If you are unable to access http://localhost it is highly probable, that the sercvice is down.
When the service is running you need to to have your .php file in web server's root. For Apache default is [Apache dir]/htdocs, for IIS it is C:\inetpub\wwwroot.
It might be confusing, that phpEd has its own internal web server. This way you should be able to debug scripts inside phpEd, but without web server you will not be able to access your files through http://localhost.
View user's profileFind all posts by fibizaSend private message
404 Error after running a script
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic