WebFaction
Community site: login faq

I've installed Django properly and set DEBUG = True on my settings.py. The problem is that even with the DEBUG true Django is not displaying the errors. I'm getting the following 500 message:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Also in my logs I found some strange stuffs like:

192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:24:35 -0500] "GET /favicon.ico HTTP/1.0" 404 5761 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:27:48 -0500] "GET / HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:27:48 -0500] "GET /favicon.ico HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:39:23 -0500] "GET / HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:39:24 -0500] "GET /favicon.ico HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:39:24 -0500] "GET /favicon.ico HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:48:33 -0500] "GET / HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:48:33 -0500] "GET /favicon.ico HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:50:11 -0500] "GET / HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1"
192.168.0.115, 177.0.213.82 - - [28/Jun/2012:20:51:29 -0500] "GET / HTTP/1.0" 500 538 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1"

asked 28 Jun '12, 21:36

Mauricio Junior
111
accept rate: 0%


Sometimes Apache can fail before Django is loaded into memory. Django's debug mechanics have not loaded yet and so wont show.

Check the Apache error logs, the above only appear to be the access log. Typically errors which cause Django itself to fail are found in the wsgi file, the settings.py file, or path conflicts.

If you submit a support ticket we would be happy to look directly.

permanent link

answered 29 Jun '12, 00:32

johns
5.4k312
accept rate: 23%

Tank you johs. I've already found the problem with the Webfaction support team. It was only a syntax error at my settings.py. The error was at 24 line, so that moment Django hasn't loaded some models.

permanent link

answered 29 Jun '12, 06:33

Mauricio Junior
111
accept rate: 0%

Your answer
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
×337
×13

question asked: 28 Jun '12, 21:36

question was seen: 6,535 times

last updated: 29 Jun '12, 06:33

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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