login community 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:

1
2
3
4
5
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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 Jun 28 '12 at 21:36

Mauricio%20Junior's gravatar image

Mauricio Junior
1


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.

answered Jun 29 '12 at 00:32

johns's gravatar image

johns ♦♦
340427

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.

answered Jun 29 '12 at 06:33

Mauricio%20Junior's gravatar image

Mauricio Junior
1

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×641
×228
×12

Asked: Jun 28 '12 at 21:36

Seen: 573 times

Last updated: Jun 29 '12 at 06:33

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited