Problem in Basic Flask Website tutorial

by: kevin951107, 8 years ago


I have followed teacher's instruction. However, when I open the domain that I created, it show 500 Internal Server Error. What i can do ? Thanks



You must be logged in to post. Please login or register an account.



When you get a 500 error, the first thing to check is if it's on a single page, or the entire site.

If the entire site, then, via the terminal, run python __init__.py, and then you will see the error in the script. If it's a single page, encase that entire page in try/except, where the except returns the str(e) of the error. Fairly certain that was covered in the course, but then you can see the error and fix it accordingly.

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.


Thank you very much. I  resolved this problem from your instruction!!!

-kevin951107 8 years ago

You must be logged in to post. Please login or register an account.