I've stuck a try...catch loop on
PHP Code:
try {
$db = new CalDatabase($config['library_dir']);
}
catch (Exception $e) {
var_dump($e->getMessage());
echo $config['library_dir'];
}
Which pumps out
Code:
"Unable to open database: unable to open database file"
/data/Dropbox/eBooks/Calibre Library
There's certainly a metadata.db file in that directory.
I'm utterly stumped. Any help?