View Single Post
Old 05-19-2016, 06:05 PM   #1223
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
You are, probably, not doing much wrong.

What is not yet correct is either:

1 - the path to the Calibre database file metadata.db is not correct. Therefore it cannot be found.

To test this:
a - make a directory in your home folder named "e-book". So the path will be:
/Users/peter/e-book
b - change the line in the COPS config file config_local.php to:
$config['calibre_directory'] = '/Users/peter/e-book/';
c - then try to connect to cops in a browser again

2 - the file metadata.db (and folder it is in) cannot be read by COPS because it has the wrong access rights.

You should change the access rights to 755 = drwxr-xr-x (directory) and -rwxr-xr-x (files). This can easily be done in the terminal. with the command
Code:
chmod -R 755 /Users/peter/e-book
But first try 1
mariosipad is offline   Reply With Quote