Using django: Django internal server error with no error messages on newest questions tagged django – Stack Overflow
Another django server error problem.
I had my site up and running for a while until I restarted my server today. Now I get an internal server error. There is nothing related in the apache log. Debug is True in settings.py and is confirmed to be True using the shell. I have no idea what is going on and I can’t get any information about the error from my system.
This is on OSX 10.7 if it matters.
import os import sys path = '/Users/dpawlows/django/zone/' if path not in sys.path: sys.path.append(path) sys.path.append('Users/dpawlows/django') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") from django.core.wsgi import get_wsgi_application application = get_wsgi_application()
LoadModule wsgi_module libexec/apache2/mod_wsgi.so #WSGIPythonHome /opt/local/bin WSGIScriptAlias /zone /Users/dpawlows/django/zone/apache/wsgi.py <Directory "/Users/dpawlows/django/zone/"> Order allow,deny Allow from all </Directory> Alias /static/ /Users/dpawlows/django/zone/register/static/ <Directory /Users/dpawlows/django/zone/register/static> Order deny,allow Allow from all </Directory>
Update: After pulling a backup copy of the site that I am 100% sure worked and testing it out, I get the exact same problem, so the issue doesn’t seem to be related to the app. It has to be something with apache that isn’t loading correctly, or with the db, but I’m not sure what, as apache and the mysql are running. Any other thoughts or suggestions are welcome.
Using django: using-django