title: SQLSTATE[HY000]: General error: 14 unable to open database file - Laravel
body: <p>Running a Laravel Homestead Vagrant box which is using PHP 5.6. The database is an sqlite file. I am getting this error:</p>
  
  <pre><code>SQLSTATE[HY000]: General error: 14 unable to open database file
  </code></pre>
  
  <p>This occurs when attempting to insert login data in the database. </p>
  
  <p>Both the database file and the containing folder are set to 777 permissions so I don't think this is a permissions issue, I have tried removing the containing folder and recreating the database to no avail.</p>