View Single Post
Old 06-25-2013, 11:41 PM   #484
cr45h
Junior Member
cr45h began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2013
Device: Android Phone
Hi I have a problem. I installed the Synocommunity version of COPS through the package manager but I get a database error.

-----------------------------------------
You've been redirected because COPS is not configured properly
Database error
Check if GD is properly installed and loaded
OK
Check if Sqlite is properly installed and loaded
OK
Check if libxml is properly installed and loaded
OK
Check if Calibre database file exists and is readable
File /volume1/books/metadata.db not found, Please check
Value of $config['calibre_directory'] in config_local.php
Value of open_basedir in your php.ini
The access rights of the Calibre Database
Synology users please read this
Check if Calibre database file can be opened with PHP
If the file is readable, check your php configuration. Exception detail : exception 'PDOException' with message 'safe_mode/open_basedir prohibits opening /volume1/books/metadata.db' in /volume1/web/cops/checkconfig.php:117 Stack trace: #0 /volume1/web/cops/checkconfig.php(117): PDO->__construct('sqlite:/volume1...') #1 {main}
Check if Calibre database file contains at least some of the needed tables
If the file is readable, check your php configuration. Exception detail : exception 'PDOException' with message 'safe_mode/open_basedir prohibits opening /volume1/books/metadata.db' in /volume1/web/cops/checkconfig.php:130 Stack trace: #0 /volume1/web/cops/checkconfig.php(130): PDO->__construct('sqlite:/volume1...') #1 {main}
-----------------------------------------

I'm not sure what to do. The database file is located in /volume1/books/ so COPS should be able to find it. Can anyone help? Thanks!
cr45h is offline   Reply With Quote