Moving SQLite-D7 Installation to other Server throws Uncaught exception in shutdown function When I move my Drupal7-Website (with SQLite Database) from my XAMP to another Computer also running XAMP I got the following error message. 


  Uncaught exception thrown in shutdown function.
  
  PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a
  readonly database: DELETE FROM {semaphore} WHERE (value =
  :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0]
  =&gt; 192200923514edf6a15a484.46864520 ) in lock_release_all() (line 269 of
  /Applications/XAMPP/xamppfiles/htdocs/myd7site/includes/lock.inc).


How comes? And how to fix?
Thnx!
It seems that the PDO SQLite driver requires that if you are going to do a write operation (INSERT,UPDATE,DELETE,DROP, etc), then the folder the database resides in must have write permissions, as well as the actual database file.

The above information is taken from another answer: https://stackoverflow.com/a/3330616/2171489

I don't use SQLite, but given the error from the PDO driver and the fact that you moved to a different server, it does seem like it could be a file permission problem.