Seems like it was a path issue. I put in the full path to the sqlite3 database file in my database settings, and it works now. For future reference - how is ./manage.py's path set up, and how apache's wsgi path is set up?
Thanks, Brian On Saturday, June 8, 2013 3:10:26 PM UTC-4, Jason Arnst-Goodrich wrote: > > Does apache have write permissions on the DB folder(s). > > I know you'll get errors if you don't have permission for the db file > itself AND the folder containing it. > > On Saturday, June 8, 2013 10:16:46 AM UTC-7, Brian Lee wrote: >> >> Very good guess... but I looked and in both manage.py and >> mysite/wsgi.py, they both contain the line: >> os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") >> >> (I was disappointed too - seemed like the right answer!) >> >> If it helps at all, I am using sqlite3, and I cloned the database file >> along with the rest of the project from github at the start. (this process >> has worked for me before on other machines.) >> >> Thanks, >> Brian >> >> On Saturday, June 8, 2013 11:12:21 AM UTC-4, Sergiy Khohlov wrote: >>> >>> looks like you are using other settings.py for .wsgi connection >>> >>> Many thanks, >>> >>> Serge >>> >>> >>> +380 636150445 >>> skype: skhohlov >>> >>> >>> On Sat, Jun 8, 2013 at 7:44 AM, Brian Lee <brian.ki...@gmail.com> wrote: >>> >>>> I'm trying to set up an existing project on a new hosting provider >>>> (webfaction). The site is up and running, except for any pages which >>>> require a database query - those pages fail to load and the backend shows >>>> various kinds of DatabaseError: no such table, depending on which database >>>> query the page needed. However, when I do ./manage.py dbshell, all of my >>>> tables are there! >>>> >>>> Does anybody know why this sort of error might be happening? >>>> >>>> Thanks, >>>> Brian >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to django-users...@googlegroups.com. >>>> To post to this group, send email to django...@googlegroups.com. >>>> Visit this group at http://groups.google.com/group/django-users?hl=en. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.