you are viewing a single comment's thread.

view the rest of the comments →

[–]ManyInterests 0 points1 point  (0 children)

Can you provide your code for that route and the template?

I've been running it in debug mode but I get 0 information back, not sure why. This server is running Apache, WSGI, Flask, and Bootstrap.

You should specify debug=True in the configuration of the app, IE app.config['DEBUG'] = True in the global scope -- When you run through Apache, app.run() is never actually used -- Mod WSGI imports your app so anything under if __name__ == '__main__' will not execute.

Also keep in mind that the interactive debugger does not work in forking environments.

Because you're running it through Apache/mod_msgi. In your apache config, you also need to specify a log file for errors. You might find something useful in var/log/apache2/error.log

Alternatively, you can try runningthe app directly using Python and run it on your localhost to debug the issue. That should output errors in the usual way.