|  01-03-2019, 09:35 AM | #1681 | 
| Guru            Posts: 726 Karma: 10738 Join Date: Nov 2012 Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD | 
			
			@DouglasK You probably installed an older version of cops that does not support PHP 7. What you can do: 1 - remove (or rename to cops_old) your installed version of cops 2 - install a new version of cops in /var/www/html/cops - download cops 1.1.2 https://github.com/seblucas/cops/rel...cops-1.1.2.zip - unzip cops-1.1.2.zip to /var/www/html/cops - use your old config_local.php 3 - and it should work again! (if not report back)   | 
|   |   | 
|  01-03-2019, 09:59 AM | #1682 | |
| Member            Posts: 24 Karma: 7938 Join Date: Oct 2010 Location: Ottawa, Ontario, Canada Device: Onyx Note Air3, Kobo Aura HD, Nexus 7 (2013) |  Many thanks, it's working Quote: 
 | |
|   |   | 
| Advert | |
|  | 
|  01-03-2019, 01:31 PM | #1683 | |
| Member            Posts: 24 Karma: 7938 Join Date: Oct 2010 Location: Ottawa, Ontario, Canada Device: Onyx Note Air3, Kobo Aura HD, Nexus 7 (2013) |   Quote: 
 PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /var/www/html/cops/base.php:159\nStack trace:\n#0 /var/www/html/cops/lib/Book.php(319): html2xhtml('<div><p>As a ha...')\n#1 /var/www/html/cops/lib/Book.php(465): Book->getComment()\n#2 /var/www/html/cops/lib/Book.php(617): Book->getEntry()\n#3 /var/www/html/cops/lib/Book.php(493): Book::getEntryArray('select {0} from...', Array, '1')\n#4 /var/www/html/cops/lib/PageAuthorDetail.php(16): Book::getBooksByAuthor('512', '1')\n#5 /var/www/html/cops/lib/JSON_renderer.php(191): PageAuthorDetail->InitializeContent()\n#6 /var/www/html/cops/getJSON.php(14): JSONRenderer::getJson()\n#7 {main}\n thrown in /var/www/html/cops/base.php on line 159, referer: https://mydomain.com/cops/index.php?page=2&id=A I opened up Calibre and checked the database and also the books on disk. Calibre reported that no errors were found. Any ideas? All help greatly appreciated. We're getting there! Thank you, Douglas Last edited by DouglasK; 01-03-2019 at 04:33 PM. | |
|   |   | 
|  01-03-2019, 06:34 PM | #1684 | 
| Guru            Posts: 726 Karma: 10738 Join Date: Nov 2012 Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD | 
			
			@DouglasK I (re)tested with a new setup installed the way I suggested in a previous post, and it works flawless. - OS Debian 9 - webserver apache 2.4 - php 7.0.33-0+deb9u1 Ok, there are some slight differences with your setup, but your setup should work. What I can think of is that your calibre library has somehow become corrupt (for cops). Because some epubs work an some don't. Maybe if you reload/reopen your library in calibre and see if that works and then try again with cops? [edit: oops I seee that you already did] [edit2: can you post the results of checkconfig.php? Libraries not needed ;-) ] [edit3: possibly there is something wrong wit your php install. DOMdocument is a native php object (not something cops introduces and/or defines) that seems to be missing in your setup....... (PHP fatal error). Maybe reinstall php on your server? ] Last edited by mariosipad; 01-03-2019 at 06:52 PM. | 
|   |   | 
|  01-23-2019, 03:48 AM | #1685 | 
| Enthusiast            Posts: 29 Karma: 22200 Join Date: Nov 2017 Device: iphone, ipad, android phone, android tablet, pc, kindle | 
				
				Font size in eye online reader
			 
			
			Where do I go if I want to increase the font size in the online eye reader? I have tried clicking on the aA on the top right but its still too small. | 
|   |   | 
| Advert | |
|  | 
|  01-23-2019, 09:50 AM | #1686 | 
| Guru            Posts: 726 Karma: 10738 Join Date: Nov 2012 Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD | 
			
			I only rarely use this "feature" of cops and then only on a PC/Mac/Linux box). Never on my phone or tablet. The font size is usually (probably depends on the font size set in the epub) small or too small.  In a browser like firefox on PC/Mac/Linux it is possible to "Zoom in" (and out). This helps with readability. | 
|   |   | 
|  03-05-2019, 12:18 PM | #1687 | 
| Zealot    Posts: 106 Karma: 226 Join Date: May 2017 Device: PocketBook 912, Onyx Boox Max, Max 3 | |
|   |   | 
|  03-05-2019, 04:09 PM | #1688 | 
| Guru            Posts: 726 Karma: 10738 Join Date: Nov 2012 Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD | 
			
			For PHP 7: php7.0-xml However DougasK indicated that phpxml was installed and working. | 
|   |   | 
|  03-07-2019, 09:02 PM | #1689 | 
| Grand Sorcerer            Posts: 13,693 Karma: 79983758 Join Date: Nov 2007 Location: Toronto Device: Libra H2O, Libra Colour | 
			
			I know I'm late to the game but.... I LOVE IT Last year I'd bought a QNAP NAS for backups etc at home, installed Ubooquity and had it serving up from a replica of my Calibre library from my PC (with a file sync program on the PC ensuring the replica was current). Last week I tried installing a QPKG version of COPS, and while it basically worked, things like downloading an ePub to Moon+ Reader failed; some minor corruption seemed to happen. Yesterday I thought maybe I should try again with a Docker version, so added the linuxserver/cops package. Install went great but it kept telling me unable to read database, even though it was in the correct location  Today experimented with having the container run as a different userid (the one who owns all the files in the library). WOOT.. It works GREAT! | 
|   |   | 
|  03-08-2019, 01:08 PM | #1690 | 
| Grand Sorcerer            Posts: 13,693 Karma: 79983758 Join Date: Nov 2007 Location: Toronto Device: Libra H2O, Libra Colour | 
			
			I'm having some problems with adding COPS OPDS feed to Moon+ Reader Pro 4.5.7. On my Nexus 7 running Android 6.0.1 it works fine; I add http://192.168.2.90/feed.php and the feed works perfectly. On my Moto G6 Play running Android 8.0.0 when I add the same feed I just see the XML being displayed along with a message that the XML file has no style information associated with it. Any suggestions as to what I should try? Sent from my Nexus 7 using Tapatalk | 
|   |   | 
|  03-08-2019, 03:29 PM | #1691 | |
| hopeless n00b            Posts: 5,126 Karma: 19597086 Join Date: Jan 2009 Location: in the middle of nowhere Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9 | Quote: 
 | |
|   |   | 
|  03-08-2019, 05:05 PM | #1692 | 
| Grand Sorcerer            Posts: 13,693 Karma: 79983758 Join Date: Nov 2007 Location: Toronto Device: Libra H2O, Libra Colour | |
|   |   | 
|  03-30-2019, 01:24 PM | #1693 | 
| Addict  Posts: 224 Karma: 10 Join Date: Jul 2012 Device: Kindle |  V1.1.3 Menu Icons? 
			
			Hola to All, It's been a long while since I have posted, as COPS 1.1.1 has been running great for a very long time on my QNAP box. So thought it time to get with the program...so to speak! Went to Github and downloaded the latest, expecting 1.1.2 but got what the docs say is 1.1.3. Made a backup of current /share/Web/cops111 folder, unzipped the new version and copied in total to replace all current files. Then I copied the old config_local.php back into the cops111 folder (haven't renamed the folder yet...) and then fired it up. Everything seems to be working as normal EXCEPT the menu icons do not contain any detail. They are just outlined squares or other shapes, but no description text or graphics in them. This is the same no matter if I use Firefox or Chrome to access COPS. The icons do work, it if I click on them. I have attached some screen shots to show the details. Monty Last edited by MontyJ; 03-30-2019 at 01:26 PM. Reason: no attachments | 
|   |   | 
|  03-30-2019, 06:40 PM | #1694 | 
| Guru            Posts: 726 Karma: 10738 Join Date: Nov 2012 Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD | 
			
			Your (new) installation of cops is unable to find the new fonts (Font awesome Free) cops uses since version 1.1.2. Can you check if you have these fonts in /Share/Web/cops111/templates/default/webfonts ? Maybe you needed to clear your browser caches to make the (new) font work? | 
|   |   | 
|  03-30-2019, 07:02 PM | #1695 | |
| Addict  Posts: 224 Karma: 10 Join Date: Jul 2012 Device: Kindle | Quote: 
 I cleared the caches but that did not chang anything. Here is the list of files in the .../webfonts folder: -rw-rw-r-- 1 monty monty 133140 Mar 30 09:41 fa-solid-900.eot -rw-rw-r-- 1 monty monty 488395 Mar 30 09:41 fa-solid-900.svg -rw-rw-r-- 1 monty monty 132920 Mar 30 09:41 fa-solid-900.ttf -rw-rw-r-- 1 monty monty 63836 Mar 30 09:41 fa-solid-900.woff -rw-rw-r-- 1 monty monty 50372 Mar 30 09:41 fa-solid-900.woff2 | |
|   |   | 
|  | 
| 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 |