I have created a new Laravel app utilising SQLite database for user login system. I am experiencing a weird issue where I receive the following error:
> SQLSTATE[HY000]: General error: 8 attempt to write a readonly database > (SQL: update "users" set "remember_token" = > HH0dtQYZ5BgoOpya1hNRUrFvIZF0dcYqdIvAjz0k6CbTKBqah7wWPdQbgzzL, > "updated_at" = 2016-06-18 12:47:43 where "id" = 1)
I initially thought there is some permission issue with my SQLite db file however the correct user has permission to access the file and I have set chmod to 755
.
The issue ONLY occurs when logging in the first time, if I refresh the page (and resent form data) the app logins in successfully. I do not experience this issue for any other DB actions within my app.