Hmm, do you use different database connections for different models? If yes, is the permission appropriately set for user model's connection?
Jun 28, 2016
5
Level 2
Remember me function not working
I have deployed my Laravel application to my server and have come across a problem when checking Remember Me on login, the following error is displayed:
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 only receive this error when checking the 'Remember Me' checkbox on login and when logging out, I am able to run all other CRUD actions via the app to my SQLite database fine which leads me to believe maybe this is not a database file permission issue.
Any ideas why I am getting these errors?
Level 122
Please or to participate in this conversation.