On Oct 29, 10:21 am, Christophe Pettus <x...@thebuild.com> wrote:
> On Oct 28, 2009, at 4:01 PM, Piotr Górski wrote:
>
> > [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] File "/
> > usr/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py",
> > line 193, in execute
> > [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] return
> > Database.Cursor.execute(self, query, params)
> > [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]
> > OperationalError: attempt to write a readonly database
>
> Are you sure the Apache user has write permission to the sqlite3
> database?
It also must have write permission to directory as well if it is
sqlite. It is the directory permission which trips most people up, not
the database file itself.
Graham
--~--~---------~--~----~------------~-------~--~----~
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
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---