WebFaction
Community site: login faq

Just created a Django 1.3 (mod_wsgi 3.3/Python 2.7) application, removed "myproject" and replaced it with my app, following this instruction, more or less: http://docs.webfaction.com/software/django/getting-started.html (except choosing MySQL instead of PostgreSql)

When I am trying to open the website in the browser, it gives "internal server error". I have DEBUG=True in my settings.py, but there's no verbose output of any kind, so I guess some misconfiguration error happens prior to my python code. Furthermore, if i start the local server with "python2.7 manage.py runserver" and then use "wget http://127.0.0.1:8000", it gets a correct "index.html", so at least it seems to work under django test server. The app needed django-avatar, django-registration and south, which I installed with "easy_install-2.7 django-avatar" etc.

Where do I start looking for the cause?

asked 15 Apr '11, 03:53

nuigurumi
381610
accept rate: 0%

edited 15 Apr '11, 04:00

If you're just seeing a 500 error with DEBUG=True, it's likely that the problem is in your Apache configuration.

Does your error log (~/logs/user/error_<app>.log) reveal anything?

(15 Apr '11, 03:58) David L ♦♦

Riiight, logs! It was a missing single quote in a string literal. Thanks! :)

(15 Apr '11, 04:06) nuigurumi
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×56

question asked: 15 Apr '11, 03:53

question was seen: 2,169 times

last updated: 15 Apr '11, 04:06

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM