Home » Topic » how to fix this error SQLITE_READONLY?

how to fix this error SQLITE_READONLY?

Andrew Jackson ~ Modified: October 8th, 2015 ~ ~ 1 Minute Reading

Home Forums how to fix this error SQLITE_READONLY?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #818 Score: 0
    Andrew Jackson
    Moderator
    1 pt

    while working on my app i am getting this error message on update statement:

    attempt to write a readonly database.

    It doesn’t allow me to write on my SQLite database.

    any suggestion?

    #841 Score: 0
    Stephen West
    Moderator
    4 pts

    have you checked the permissions to do it?

    #848 Score: 0
    Andrew Jackson
    Moderator
    1 pt

    yes, I have permission to do it.

    #849 Score: 0
    Lincoln Burrows
    Moderator
    16 pts

    Try this Code:
    chown www-data /database location

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.