View Single Post
Old 01-10-2023, 10:59 PM   #1
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
OPDS config_local.php

Good morning,

read for now "hundreds" of hints and recommendations but got stuck...

I created a small library (just 124 books) by calibre, edited them and store all books incl the metadata.db in a directory called "calibree".

I copied this directory to my ftp server

Then unpacked COPS on the server in a directory called "cops" - changed the file "config_local.php.example" into "config_local.php" and adressed it as follows:

<?php
if (!isset($config))
$config = array();

/*
************************************************** *
* Please read config_default.php for all possible
* configuration items
************************************************** *
*/

/*
* The directory containing calibre's metadata.db file, with sub-directories
* containing all the formats.
* BEWARE : it has to end with a /
*/
$config['calibre_directory'] = 'calibree/';

/*
* Catalog's title
*/
$config['cops_title_default'] = "COPS";

/*
* use URL rewriting for downloading of ebook in HTML catalog
* See README for more information
* 1 : enable
* 0 : disable
*/
$config['cops_use_url_rewriting'] = "0";

Opened the check.config and get the following result:



May someone please tell me what is my mistake?

Thanks very much in advance,
Peter
huber70 is offline   Reply With Quote