https://www.youtube.com/watch?v=qZNL4Ku1UQg&list=PLQVvvaa0QuDc_owjTbIY4rbgXOFkUYOUB&index=1&spfreload=5#t=124.43258 And I get up to the very end and I get a 500 error.
Things to note: I did this twice to make sure I didnt mess up the first time (basically factory restored the vps) I followed everything correctly Others are having problems in the comments EDIT : also tried.. @app.route('/') def homepage(): try: return render_template("main.html") except Exception as e: return str(e) and it still returned the 500 page
You must be logged in to post. Please login or register an account.
So the 500 will either be on one page, or *all* pages. I'm going to guess at this point it is on all pages.
If it's on all pages, run your file in the terminal. python __init__.py.
You've probably got a syntax error, an import error, or some other global issue somewhere, and that should give you the error in the terminal.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.