Welcome Guest, Not a member yet? Register   Sign In
sqlite readonly error
#1

[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?
#2

[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.




Theme © iAndrew 2016 - Forum software by © MyBB