View Single Post
Old 11-19-2011, 12:24 PM   #145
edent
Connoisseur
edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.edent has top level security clearance to Area 51.
 
edent's Avatar
 
Posts: 51
Karma: 94224
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
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?
edent is offline   Reply With Quote