hello, i remember i got this error when i tried to save a file because my database's auto field sequences were not set up correctly. i am using postgresql and i use fixtures to populate the database. so there were a bug in fixtures that did not set sequences in postgresql correctly (i think it might be fixed now), so i was getting this error.
hope this helps konstantin On Jun 26, 12:50 pm, john-f <[EMAIL PROTECTED]> wrote: > HI Thanks for the reply - I really appreciate it. The problem however > still occurs: > > Here's whats happening: > 1. user "apache" is added to group "lighttpd" > 2. when I chmod 777 it seems to work > 3. when I change the file permissions back and save using the django > admin the 500 errror occurs. but i think the image IS saved there. > > Here is what i see in the apache logs: > -------- > [Mon Jun 25 18:17:31 2007] [error] [client 206.191.88.168] > (111)Connection refused: FastCGI: failed to connect to server "/var/ > www/www.canadianfamily.ca/mysite.fcgi": connect() failed > [Mon Jun 25 18:17:31 2007] [error] [client 206.191.88.168] FastCGI: > incomplete headers (0 bytes) received from server > "/var/www/www.canadianfamily.ca/mysite.fcgi" > [Mon Jun 25 18:17:31 2007] [error] [client 206.191.88.168] > (111)Connection refused: FastCGI: failed to connect to server "/var/ > www/www.canadianfamily.ca/mysite.fcgi": connect() failed > [Mon Jun 25 18:17:31 2007] [error] [client 206.191.88.168] FastCGI: > incomplete headers (0 bytes) received from server > "/var/www/www.canadianfamily.ca/mysite.fcgi" > [Mon Jun 25 18:17:32 2007] [error] [client 206.191.88.168] > (111)Connection refused: FastCGI: failed to connect to server "/var/ > www/www.canadianfamily.ca/mysite.fcgi": connect() failed > [Mon Jun 25 18:17:32 2007] [error] [client 206.191.88.168] FastCGI: > incomplete headers (0 bytes) received from server > "/var/www/www.canadianfamily.ca/mysite.fcgi" > [Mon Jun 25 18:17:32 2007] [error] [client 206.191.88.168] > (111)Connection refused: FastCGI: failed to connect to server "/var/ > www/www.canadianfamily.ca/mysite.fcgi": connect() failed > [Mon Jun 25 18:17:32 2007] [error] [client 206.191.88.168] FastCGI: > incomplete headers (0 bytes) received from server > "/var/www/www.canadianfamily.ca/mysite.fcgi" > [Mon Jun 25 18:31:18 2007] [error] [client 142.167.136.101] > (104)Connection reset by peer: FastCGI: comm with server > "/var/www/www.canadianfamily.ca/mysite.fcgi" aborted: read failed, > referer:http://www.canadianfamily.ca/contests/18/entered/ > [Mon Jun 25 18:31:18 2007] [error] [client 142.167.136.101] FastCGI: > incomplete headers (0 bytes) received from server > "/var/www/www.canadianfamily.ca/mysite.fcgi", > referer:http://www.canadianfamily.ca/contests/18/entered/ > -------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---