View Single Post
Old 05-20-2016, 05:11 AM   #1226
inthemood
Zealot
inthemood began at the beginning.
 
Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
Quote:
Originally Posted by mariosipad View Post
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
I tried solution 2. That didn't make any difference either.
On top of the database error, there are also these lines in the COPS configuration check :
Check if intl is properly installed and loaded
Please install the php5-intl extension and make sure it's enabled
Check if Normalizer class is properly installed and loaded
Please make sure intl is enabled in your php.ini
Check if the rendering will be done on client side or server side
Client side rendering


Could there be something to do there ?

Thanks again for your help.
inthemood is offline   Reply With Quote