sqlite readonly error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: sqlite readonly error (/showthread.php?tid=2333) |
sqlite readonly error - El Forum - 07-30-2007 [eluser]zapada[/eluser] I am using the sqlite database driver on a sqlite 2.8.17 database file that has been chmodded, and I get the following error when trying to write to the database: Error Number: 8 attempt to write a readonly database I can read the database without any problems, but I cannot write to it. Any ideas? Also, another anomaly is that I only get this error when running on linux. On my slower windows machine, I don't get this error. Could it be that linux is so fast that php tries to write to the database before it closes its last read session? sqlite readonly error - El Forum - 07-30-2007 [eluser]zapada[/eluser] I just disabled the pconnect in the database config file and it works now. This is quite strange considering NTFS is horrible for locking behaviour. |