I haven't been able to figure it out yet, I still get the error with .azw3 files.
This is my config_local.php file, so far:
Code:
<?php
if (!isset($config))
$config = array();
/*
* 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'] = '../../var/oc_data/tbyCalibre/files/';
/*
* Full URL prefix (with trailing /)
* useful especially for Opensearch where a full URL is often required
* For example Mantano, Aldiko and Marvin require it.
*/
$config['cops_full_url'] = 'tamiby.cl/cops/';
/*
* Catalog's author name
*/
$config['cops_author_name'] = "tamiby";
/*
* Catalog's title
*/
$config['cops_title_default'] = "tamiby's COPS";
/*
* Prefered format for HTML catalog
* The two first will be displayed in book entries
* The other only appear in book detail
*/
$config['cops_prefered_format'] = array ("AZW3", "AZW", "EPUB", "MOBI", "PDF", "CBR", "CBZ");
/*
* 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";
/*
* split authors by first letter
* 1 : Yes
* 0 : No
*/
$config['cops_author_split_first_letter'] = "1";
/*
* split titles by first letter
* 1 : Yes
* 0 : No
*/
$config['cops_titles_split_first_letter'] = "1";
/*
* Enable the Lightboxes (for popups)
* 1 : Yes (enable)
* 0 : No
*/
$config['cops_use_fancyapps'] = "0";
/*
* Update Epub metadata before download
* 1 : Yes (enable)
* 0 : No
*/
$config['cops_update_epub-metadata'] = "1";
/*
* Directory to keep resized thumbnails: allow to resize thumbnails only on first access, then use this cache.
* $config['cops_thumbnail_handling'] must be ""
* "" : don't cache thumbnail
* "/tmp/cache/" (example) : will generate thumbnails in /tmp/cache/
* BEWARE : it has to end with a /
*/
$config['cops_thumbnail_cache_directory'] = "/tmp/cache/";
/*
* Enable PHP password protection (You can use if htpasswd is not possible for you)
* If possible prefer htpasswd !
* array( "username" => "xxx", "password" => "secret") : Enable PHP password protection
* NULL : Disable PHP password protection (You can still use htpasswd)
*/
$config['cops_basic_authentication'] = array( "username" => "XXXX", "password" => "XXXX");
/*
* Which template is used by default :
* 'default'
* 'bootstrap'
*/
$config['cops_template'] = 'default';
/*
* Which style is used by default :
* 'base'
* 'default'
* 'eink' (only available for the 'default' template)
* 'iphone' (only available for the 'default' template)
* 'iphone7' (only available for the 'default' template)
*/
$config['cops_style'] = 'eink';
I haven't configured htpasswd yet, so I took out the user and password, and I want to configure the email feature, but have never done that before so I was waiting to solve the problem with the .azw3 files before tackling that one...
Thanks!