View Single Post
Old 02-25-2012, 09:16 PM   #204
CyberMike
Junior Member
CyberMike began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2012
Location: Germany
Device: Sony PRS-T1
Error

Hi

I have been reading some time with you very interested in the forum. When I now want to use my eBook available on the web on my books, I've been looking for a way. Here I found the Calibre PHP content server that meets all my needs.

I installed everything exactly as directed and adapted the paths. When you call the index.php I get the following error message from the server.


Quote:
Fatal error: Uncaught exception 'Exception' with message 'Unable to open database: unable to open database file' in /www/htdocs/-------/calibre/db.php:160 Stack trace:
#0 /www/htdocs/-------/calibre/db.php(160): SQLite3->__construct('/metadata.db', 1)
#1 /www/htdocs/-----/calibre/db.php(195): MySQLite->open('/metadata.db')
#2 /www/htdocs/-----/calibre/index.php(53): CalDatabase->__construct(NULL)
#3 {main} thrown in /www/htdocs/------/calibre/db.php on line 160

I hope you can help in solving my problem.

The PHP server-info is located here and the page is here.

Thanks in advance

MIKE

Last edited by CyberMike; 02-26-2012 at 02:40 PM.
CyberMike is offline   Reply With Quote