My restaurant review project needs to work offline, but my local simple server shows 404 error - server

I am working on a project for Udacity. I am supposed to start a a simple HTTP server for my directory, but when I am trying to view the file on http://localhost:8000/ I see a different file and my terminal shows file not found error. I'm sure I must've done something, but I don't know how to fix this. Please HELP!

Related

pgAdmin does not show the message error at the Process Watcher

I've been had hard times trying to fix this problem, the message error log does not appear. I've tried to reinstall to a old version, changing configuration that I've found here, changed location, changed conf file to message and nothing helped. So I'd like to know if someone can help me.
Thank you
[enter image description here]
Same problem here, not sure what's happening. But the work around is by opening the physical log here: C:\Users<user>\AppData\Roaming\pgAdmin\sessions\process_logs
When the pop up dialog still open, a temporary folder will be created and inside the folder you will get some files, then open the "err" file, this is where you can see the detail
pgadmin error process log

Eclipse does not recognize my changes in src folder, throws the same error

I'm having a hard time using eclipse because of the following issue.
It goes like this. I'll code and try to run it. Then, it will throw some errors (of any kind). And so, after I have changed a part of the code, comment out which codes I suspect makes the error, or delete something, I then restart the websphere application server in order to republish my work. Next is to test my work using SoapUI then all of a sudden eclipse throws an error which is the same as before. I've tried to search in here answers to this questions but it involves codes which don't need in my project and also answers that I can't understand well (since I am very new to programming). However, I have found a way to resolve this but it's very inconvenient. To be able for eclipse to detect changes in the src folder, I should restart eclipse after editing my codes then remove my project in the server, start the server and then publish my work in websphere all over again. It solves my problem but I do all of these stuff every now and then even if I only comment out a single line in the code. What I want is to avoid doing this process of resolving the issue since it consumes so much of my time whenever I republish the project in the server.
Can somebody help me with this? Any suggestions would be very helpful. Thanks a lot!
It is a bit strange that you need to restart eclipse. The normal way would be to just re run your application server.
Try only he 3 second steps you mentioned (remove my project in the server, start the server and then publish my work in websphere) and if that works try again without removing the project. Just restart the servers.
And let us know if that worked!

tinymce tiny browser showing 404 error on web page upload

I'm stumped at the moment- When I open my website: www.steubencony.org- I get the following console error:
GET http://steubencony.org/includes/tinymce/plugins/tinybrowser/tb_tinymce.js.php 404 (Not Found)
Now, this past monday we migrated to a new server, new IP address, and the works- this shouldn't have affected this though as much as it has. I checked multiple times figuring it has something to do with absolute path, and I've also been attempting to upgrade/update TinyMCE, but I need to get this solved before i can do any of that.
Here is the FTP path of the php file:
ftps://steube#gall.arvixe.com/steubencony.org/wwwroot/includes/tinymce/plugins/tinybrowser/tb_tinymce.js.php
What am I not seeing between the 2- I mean obviously the ftp path has the ftps, and the wwwroot folder, but I'm really thinking I'm just too close to it to see the simple error. Any help would be most appreciated.

Zend A 404 error occurred Page not found

I am new to zend frame work. I am in the process of learning this, in fact at the very beginning of this. My problem is that I download the zend studio and try to run the zend application by following a tutorial on net but the when I run the code it said that
'A 404 error occurred
Page not found The requested URL could not be matched by routing '.
I googled man time and applied all the possible solutions on it but all in vein. Kindly help me in this regard.
To Do list:
check your server folder permission -> 777 for the development
check .htaccess file in the public folder, there is a good example .htaccess files for Zend in here stackoverflow
check your php configuration for model rewrite, unlikely sometimes it does not install
check your apache site-enable file for model rewrite and allowaccess
you need to google them out, but that is it, after you finish your first one , all other project just copy from the first one

Cannot load anything on Tomcat 7 : configuration issue

I'm currently developing a web project running on Tomcat 7 and I cannot see anything who's suppose to be on Tomcat (blank page when I do a HTTP request in my browser).
My Modus Operandi:
I launch a new instance of server in locahost (apache-tomcat-7.0.34) within Eclipse (I work with Indigo and tried with Juno as well)
Tomcat's ROOT folder has been pasted in the 'wtpwebapps' folder of all my servers in my Workspace
I add a simple web project on this server instance and try to access it from a HTTP request and I get a blank page. If I try to run a .html file of this web project on this server, I get a 'HTTP 404 Not Found' Error.
What I tried:
I tried to build the whole configuration from scratch (new Eclipse, new Apache-Tomcat) and I still get the same result. But when I do that from my personal computer at home, everything's working fine!!
I tried to put an old version of my code or a tutorial project, but nothing can be launched (therefore, it must be a configuration issue).
I checked the server.xml and web.xml files and nothing looks suspicious (I can paste them if you want but those are the same than those who worked at home)
The only thing I can think of is that I changed the internet connection (and the IP address) of the computer I'm working on, but I don't think it could make any difference when trying to reach localhost, right?
When I follow the steps of the very good tutorial, I do get a blank page on the 'Run Tomcat' topic, but I don't get the Tomcat welcome page once I copied the ROOT folder into "wtpwebapps".
Does someone have any idea where it could come from?
Ok guys, finally got the solution.
I was about to format my computer when i realize that the port 8009 was actually used by another process.
I thought that's the kind of things who are checked when you launch a Tomcat server within Eclipse but it didn't show any error.
The HTTP request went through the port 80, but as the default AJP port is already in use, Apache could not forward this request to Tomcat, therefore a blank page was returned.
At least that's my understanding of this situation...
Hopefully this may help someone who'd run into a similar situation.
Thanks for your help.