06-07-2013, 02:23 AM | #466 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Goner
I tested an Epub download on my Kobo yesterday and it went perfectly fine so I guess there should be something wrong with your install. Did you enable $config['cops_use_url_rewriting'] = 1 : it's mandatory for the Kobo. |
06-07-2013, 04:09 AM | #467 |
Member Retired
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: none
|
hi!
I have some problems with the thumbnail. There is no image, only the word "couverture". I tried to change the value in config_local.php "height of thumbnail image" but it changes nothing. I don't know what's the problem. Have you any suggestions for me? P.S : Sorry for my poor english Last edited by MiracleLeon; 06-07-2013 at 04:11 AM. |
Advert | |
|
06-07-2013, 04:27 AM | #468 | |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
Could you try checkconfig.php and check if php-gd is correctly detected. Could you also check your webserver logs ? Did you install on a Nas, other server ? |
|
06-07-2013, 04:45 AM | #469 | |
Connoisseur
Posts: 55
Karma: 11628
Join Date: Jun 2011
Location: Rotterdam, Netherlands
Device: ARCHOS 80G9, Kobo Touch, Sony PRS-T1, BeBook Club S, Icarus Reader Go
|
Quote:
But I probably enabled it on one server (got 2 COPS servers running) and tested it on the other ... Anyway, it works !! Thanks ! Doesn't matter if I use $config['cops_use_url_rewriting'] = 1; or $config['cops_use_url_rewriting'] = "1"; EDIT: just noticed that the Kobo browser asks to confirm the download and the Sony downloads without asking. Last edited by Goner; 06-07-2013 at 04:52 AM. |
|
06-07-2013, 10:57 AM | #470 |
Member Retired
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: none
|
|
Advert | |
|
06-07-2013, 02:55 PM | #471 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Great
|
06-12-2013, 05:24 AM | #472 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Goner
changing style should now work with your Kobo if your replace customize.php by this file : https://raw.github.com/seblucas/cops.../customize.php |
06-13-2013, 01:53 PM | #473 |
Connoisseur
Posts: 55
Karma: 11628
Join Date: Jun 2011
Location: Rotterdam, Netherlands
Device: ARCHOS 80G9, Kobo Touch, Sony PRS-T1, BeBook Club S, Icarus Reader Go
|
Ah, nice solution
Works like a charm ! And e-ink looks nice on the Kobo too. Thanks !! |
06-20-2013, 10:34 AM | #474 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2012
Device: Sony T1
|
Hi, I am having problems getting COPS to run. I have installed it as described and now I get the error message:
Call to a member function fetchColumn() on a non-object in /xxx/htdocs/cops-0.5.0/author.php on line 40 I am not sure if I have the right directory. To what directory should it point: the Calibre program directory ( I have Calibre mobile) or the Calibre Library directory? I'm a complete newbie to all things php and owncloud and I thank you in advance for your help. Greetings from Germany Ingrid |
06-20-2013, 11:21 AM | #475 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@ingrid
Please try to go to checkconfig.php $config['calibre_directory'] should point to your Calibre directory (so the directory with metadata.db in it). |
06-20-2013, 11:47 AM | #476 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2012
Device: Sony T1
|
Hi there, thanks for the quick reply. I was pointing to the wrong directory. but it's still not working
I edited the path in configlocal.php to $config['www.mydomain/owncloud/data/user/files/clientsync/Calibre/Calibre Library/'] = './'; and in checkconfig.php to echo "{$name} File " . Base::getDbFileName ($i) . " not found, Please check <ul> <li>Value of \$config['www.mydomain/owncloud/data/user/files/clientsync/Calibre/Calibre Library/'] in config_local.php</li> Was that what you meant? But still get the same error message. I am not sure if the address is correct, because in my ftp uploader I can only see the directories down to "clientsync" and on the owncloud website it is displayed as something ... php in the address line of the browser. Sorry if this is dumb, I suppose I'm just overlooking something obvious. Thanks again and greetings Ingrid |
06-22-2013, 01:01 PM | #477 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@darkmiss
For COPS to work the way you want it to, your line in config_local.php should look something like: Code:
$config['calibre_directory'] = 'http://mydomain/owncloud/data/user/files/clientsync/Calibre/Calibre Library/'; I do not think that COPS can work with a weblink (http://mydomain). If you could change this link to your owncloud into a drive (eor directory (e:/calibre) it could (and should) work. The line in config_local.php could look something like this: Code:
$config['calibre_directory'] = 'e:/'; or $config['calibre_directory'] = 'e:/calibre/'; |
06-23-2013, 02:47 PM | #478 | |
Connoisseur
Posts: 55
Karma: 11628
Join Date: Jun 2011
Location: Rotterdam, Netherlands
Device: ARCHOS 80G9, Kobo Touch, Sony PRS-T1, BeBook Club S, Icarus Reader Go
|
Quote:
I'm using it to connect to shares on my Synology over Internet and it works like a charm. |
|
06-23-2013, 03:20 PM | #479 | |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Quote:
@Goner - thank you for mentioning WebDav and Synology. I really must update my (mostly unused) owncloud setup to version 5 and try it out! |
|
06-24-2013, 08:18 AM | #480 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Or you could do like I did.
Owncloud and COPS are installed in the same server. On my server, owncloud is installed in /var/www/owncloud. Cops is installed in /var/www/cops I've created a user called cops in owncloud and with that user I have a directory called Calibre (which is synchronized with my Calibre library). With that configuration, I just had to configure COPS's config_local.php like that : $config['calibre_directory'] = '/var/www/owncloud/data/cops/files/Calibre/'; That's really easy to handle. |
Tags |
calibre opds, dns, kobo aura, synology |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |