Sqlite database queries not working on server

If you are developing an application based on a sqlite database (with php and PDO class for example), if you want to succeed with queries like INSERT and UPDATE, make sure not only the database file is writable and executable, but also the access path to it. So give execute and write permission to the folders containing the file till the website root.

Leave a comment