07-03-2014, 08:00 AM | #931 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2014
Device: iPad Kindle
|
@mariosipad
Thanks, but I figured it out in the end. Just needed to create a password file with htpasswd and then point to it in the AuthUserFile line of the .htaccess file. I would second bkwrmgrl's suggestion of better documentation for COPS. |
07-03-2014, 10:53 AM | #932 | |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
I'll also second the suggestion of a better documentation but to be completely honest I've very little time to spend on it. I also personally think that a good documentation is a documentation written by users and validated by developers. On the other hand, I'd be happy to read / validate any addition to COPS's wiki (https://github.com/seblucas/cops). Be prepared for a new version of COPS in the next 2 weeks ! |
|
Advert | |
|
07-03-2014, 11:10 AM | #933 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Hi vlad59
In my experience the problem with the documentation of COPS is that because COPS can be installed on Windows, Linux, OSX, NAS-es, etc. and works with several different web servers (apache, nginx, etc.) every installation, especially when done for the first time, is almost unique. However once installed on one system it's quite easy to setup other systems. It's sometimes easier (and more fun) to answer user questions one at a time than to provide a comprehensive all incorporating tutorial (all really good documentation takes a lot of time and effort). Maybe it's an idea to expand the wiki with some beginners topics? |
07-03-2014, 01:32 PM | #934 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2014
Device: iPad Kindle
|
Hey vlad59,
First up, congratulations on COPS, it's excellent. Completely understand you don't have time yourself to write detailed documentation, and totally agree it would be better written by the many users, especially since (as mariosipad points out) there are so many possible implementations. I'd be up for contributing, but since the installation for me was really simple, the only thing I could contribute is how to set up password protection (on a Linux-based web server, in case it's not the same in every case), since I had to do a bit of digging to find out about htpasswd. But I imagine there are far more qualified people than me who could do it much better. |
07-12-2014, 04:57 AM | #935 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2014
Device: Kobo Touch
|
Hi,
I'm not sure if I'm posting this in the right place but I'm having trouble getting COPS to work on my server. checkconfig.php displays fine and says everything is ok but when I try to display the default index.php I get the following error: Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /i-data/f6f9a6d4/library/book.php on line 142 I'm not a php expert but the code in there looks fine... Is there anything I can change to get it working? I hope you can help. Server: NSA325 running FFP 0.7 ARM. PHP: 5.2.8 MySQL: 5.1.30 |
Advert | |
|
07-12-2014, 05:39 AM | #936 | |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
The problem lies with your PHP version you'll have to use PHP >= 5.3 You can't use PHP 5.2.8. |
|
07-12-2014, 06:01 AM | #937 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2014
Device: Kobo Touch
|
Hey vlad59,
Thanks for getting back to me so quickly. I thought that might be the case... I'll try to find a way of upgrading it. |
07-16-2014, 06:16 AM | #938 |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2013
Location: Italy
Device: ipad, Kobo Aura, Cybook Gen3
|
Strange issue
I use the excellent COPS on my iPad Air with Marvin.
I have a strange behavior though... since a bit, the local OPDS or WEB connection to COPS from my iPad is not working, while if I access the same server via my DDNS account, it works... So locally, not working, remotely working... what can it be ?????? Thanks! M |
07-16-2014, 05:37 PM | #939 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Are you sure your iPad is (with WifI) connected to the same network (LAN) your COPS server is in, and not connected to the network of your neighbour (or public ISP network)?
|
07-19-2014, 03:09 PM | #940 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2014
Device: android
|
Quote:
Thanks |
|
07-21-2014, 03:40 AM | #941 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@ekekakos
Please post your "config_local.php" and a screenshot of http://<IP-Synology>/cops/checkconfig.php zo that we can determine what is wrong. |
07-22-2014, 09:28 AM | #942 | |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
|
|
07-23-2014, 04:51 PM | #943 |
Enthusiast
Posts: 39
Karma: 10
Join Date: May 2012
Device: none
|
Half Star Ratings
I don't think this has been mentioned before, but half-star ratings do not display correctly. It rounds the ".5" value up and then you get a rating out of six stars instead of five i.e. ★★★★☆☆
I'm using an older version of COPS but the bug appears to be in the latest cops-1.0.0RC1 also. The culprit seems to be the getRating() function around line 250 of book.php Find this... PHP Code:
PHP Code:
I just wanted a five star rating and I don't mind if my ratings get rounded down (they could just as easily be rounded up instead) so this works for me. |
07-24-2014, 05:57 AM | #944 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@micster
I didn't know the ratings could be a float. Within Calibre you can only set it to value from 0 stars to 5 stars or did I miss a setting ? Once I find out how to have a correct testcase I'll fix it soon. |
07-24-2014, 02:22 PM | #945 |
Enthusiast
Posts: 39
Karma: 10
Join Date: May 2012
Device: none
|
My books seem to be rated from 0-10. And yes, they start off as whole numbers and not floats. But then if a book has a rating of five and then it gets divided by 2 in the function getRating () we are left with the float 2.5 which causes a problem.
|
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 |