Re: Trouble on Apache: unable to open database file

2009-10-27 Thread John D Giotta
It worked, but I also discovered a relative path to the database file in the settings.py was a bad move. Changing it to absolute was the second part of the solution. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: Trouble on Apache: unable to open database file

2009-10-17 Thread John D Giotta
Thanks, Sid; I'll try it. On Oct 17, 7:57 am, Sid wrote: > I guess you're using SQLite as your database. It's a file permission > error. > >  If you're on linux try "chmod 777 test.db" to change the file > permissions. And also!!, keep in mind that the directory that the DB > file is should also

Re: Trouble on Apache: unable to open database file

2009-10-17 Thread Sid
I guess you're using SQLite as your database. It's a file permission error. If you're on linux try "chmod 777 test.db" to change the file permissions. And also!!, keep in mind that the directory that the DB file is should also be writable. So do a chmod on the dir as well to test it out. -Sid

Trouble on Apache: unable to open database file

2009-10-16 Thread John D Giotta
I'm running django with mod_python/Apache and its my first time setting up a server. Among the problems, when I navigate to the address I receive an OperationalError "unable to open database file." I can't help but think my vhosts.conf is done wrong. --~--~-~--~~~---~-