I have been trying to upload files in my django project. It works fine
with smaller files but when they get a little bit bigger it stalls my
server. I have looked at ticket 2070 and I have tried to apply the
patches but I can't quite get it to work. My set up seems to be
different than most. I am running Apache 1.3 with fastcgi (not my
choice). I can't seem to get an updated version of django running on
my server, am I not installing properly (just copying the django
folder to the site-packages folder), am I supposed to uninstall
completely? I get the following errors when I try to run my site with
the new django:

[Mon Nov 26 22:04:37 2007] [error] [client 63.230.21.25] FastCGI:
incomplete headers (0 bytes) received from server "/usr/home/builder/
public_html/mysite.fcgi"
[Mon Nov 26 22:04:37 2007] [error] [client 63.230.21.25] FastCGI: comm
with (dynamic) server "/usr/home/builder/public_html/mysite.fcgi"
aborted: (first read) idle timeout (30 sec)

I get these consistently. Also I get these errors when I try to use
django-admin.py :

Traceback (most recent call last):
  File "/usr/local/bin/django-admin.py", line 5, in ?
    management.execute_from_command_line()
  File "/usr/local/lib/python2.4/site-packages/django/core/management/
__init__.py", line 268, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.4/site-packages/django/core/management/
__init__.py", line 225, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.4/site-packages/django/core/management/
base.py", line 70, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.4/site-packages/django/core/management/
base.py", line 79, in execute
    translation.activate('en-us')
  File "/usr/local/lib/python2.4/site-packages/django/utils/
translation/__init__.py", line 73, in activate
    return real_activate(language)
  File "/usr/local/lib/python2.4/site-packages/django/utils/
translation/__init__.py", line 32, in delayed_loader
    if settings.USE_I18N:
  File "/usr/local/lib/python2.4/site-packages/django/conf/
__init__.py", line 28, in __getattr__
    self._import_settings()
  File "/usr/local/lib/python2.4/site-packages/django/conf/
__init__.py", line 55, in _import_settings
    raise EnvironmentError, "Environment variable %s is undefined." %
ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is
undefined.

I sure could use some help. Django is so slick if it would work, but
without file uploading it is not much use.

: )

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to