Hello Django Users,

I'm building a large web application with django but running into some
trouble migrating the application to a server.
Currently the app is running perfectly on my home computer. The app
consists out of multiple forms where users can submit data
the problem that occured while putting the same code on the server is
a Time Zone Error.

The first forms i put on the server are working fine an can be
accessed by any user. Later that week i started migrating the rest of
the forms but the server gives the following error when i access the
database.

File "/var/www/vhosts/ecat.nl/httpdocs/production/ecat/ecatUrl/
coagulationFactorModule1/factor8/factor8UrlHtml.py", line 307, in
createBody
for dic in AssayAntithrombin.objects.all().values():

cursor.execute("SET TIME ZONE %s", [settings.TIME_ZONE])
ProgrammingError: ERROR:  current transaction is aborted, commands
ignored until end of transaction block

SET TIME ZONE 'America/Chicago'

I looked at the Time Zone settings and they are set on America/Chicago
so this should not give any trouble. Another weard thing is that when
i put the code that generates the error in the forms that were working
it's working like it should be accessing the database and getting the
data.

So i'm a bit lost here. Does anyone has a clue how i can solve this
issue.

thanks in advance for your help,

kind regards,

Richard Mendes


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