Re: Django admin saving image file - 500 error

2007-06-26 Thread john-f
Thanks again guys - you guys are awesome! On Jun 26, 1:49 pm, Christian Markwart Hoeppner <[EMAIL PROTECTED]> wrote: > > Apparently the mysite.fcgi file was not being automatically created > > when I used the fcgi startup script to start the site. So I went into > > the directory and did a `touch

Re: Django admin saving image file - 500 error

2007-06-26 Thread Christian Markwart Hoeppner
> Apparently the mysite.fcgi file was not being automatically created > when I used the fcgi startup script to start the site. So I went into > the directory and did a `touch mysite.fcgi` then a good old chown > lighttd:lightd mysite.fcgi and it a magical thing happened - it > started working.

Re: Django admin saving image file - 500 error

2007-06-26 Thread akonsu
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 mi

Re: Django admin saving image file - 500 error

2007-06-26 Thread john-f
Hey Just and update: Apparently the mysite.fcgi file was not being automatically created when I used the fcgi startup script to start the site. So I went into the directory and did a `touch mysite.fcgi` then a good old chown lighttd:lightd mysite.fcgi and it a magical thing happened - it starte

Re: Django admin saving image file - 500 error

2007-06-26 Thread john-f
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 t

Re: Django admin saving image file - 500 error

2007-06-26 Thread Christian Markwart Hoeppner
El mar, 26-06-2007 a las 08:14 -0700, john-f escribió: > Hi all, > > I'm getting 500 errors when trying to upload a image file with the > django admin. > I think this has to do with user/group permissions on the media > directory (currently they are owned by lighttpd:lighttd) > Does anyone know w

Django admin saving image file - 500 error

2007-06-26 Thread john-f
Hi all, I'm getting 500 errors when trying to upload a image file with the django admin. I think this has to do with user/group permissions on the media directory (currently they are owned by lighttpd:lighttd) Does anyone know what 'user' is being run to actually do the saves? I think it's the ap