View Single Post
Old 07-16-2022, 09:27 AM   #1862
jajaX
Junior Member
jajaX began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2022
Device: samsung galaxy Z fold 2 5G
Unhappy downloading problem

hello,

j'utilise Cops depuis des années avec succès mais depuis quelques temps, quand je veux télécharger un epub, via ebook reader sur mon smartphone ou directement sur l'interface web, le fichier est à 0kb !!

config :

pc1 (où est installé Calibre) =>
Asus X93SM-YZ065V sous KDE Neon avec Calibre 6.1

synchronisé via le client de Nextcloud

pc2 (où est installé COPS) =>
ASUS N53SN sous Kubuntu 20.04 Focal Fossa (64 bits)

- apache2
- Cops version 1.1.3
- php 7.4.3

donc, quand je veux télécharger un epub, à partir de COPS, via ebook reader ou l'interface web, le fichier pèse 0kb ! pourtant, le fichier synchronisé de pc1 vers pc2 ne fait pas 0kb.

j'ai déjà modifier mes 2 fichiers "config_default.php" et "config_local.php" pour mettre cette ligne à "1" et relancer apache 2.
Code:
$config['cops_use_url_rewriting'] = "1";
j'utilise un nom de domaine avec un certificat let's encrypt. j'ai avec l'adresse ip et sans htpps. ça ne donne rien.

une idée ?
merci

-----------------------------------------------

google translatte =>

Hello,

I have been using Cops successfully for years but for some time, when I want to download an epub, via ebook reader on my smartphone or directly on the web interface, the file is at 0kb!!

config:

pc1 (where Calibre is installed) =>
Asus X93SM-YZ065V running KDE Neon with Calibre 6.1

synchronized via the Nextcloud client

pc2 (where COPS is installed) =>
ASUS N53SN running Kubuntu 20.04 Focal Fossa (64-bit)

-apache2
-Cops version 1.1.3
-php 7.4.3

so, when I want to download an epub, from COPS, via ebook reader or the web interface, the file weighs 0kb! however, the synced file from pc1 to pc2 is not 0kb.

I have already modified my 2 files "config_default.php" and "config_local.php" to set this line to "1" and restart apache 2.
Code:
$config['cops_use_url_rewriting'] = "1";
I use a domain name with a let's encrypt certificate. I have with the ip address and without htpps. it gives nothing.

an idea ?
thank you

------------------------------------------------
Spoiler:

configcheckfull =>


Check if PHP version is correct
OK (7.4.3)
Check if GD is properly installed and loaded
OK
Check if Sqlite is properly installed and loaded
OK
Check if libxml is properly installed and loaded
OK
Check if Json is properly installed and loaded
OK
Check if mbstring is properly installed and loaded
OK
Check if intl is properly installed and loaded
OK
Check if Normalizer class is properly installed and loaded
OK
Check if the rendering will be done on client side or server side
Client side rendering
Check if Calibre database path is not an URL
Romans Star Wars Legends OK
Check if Calibre database file exists and is readable
Romans Star Wars Legends OK
Check if Calibre database file can be opened with PHP
Romans Star Wars Legends OK
Check if Calibre database file contains at least some of the needed tables
Romans Star Wars Legends OK
Check if all Calibre books are found

/home/server/nextcloud/jaja/files/Librairie/Bibliothèques_xxxx_xxxxx_(xxx)/xxx/xxxx/xxx.pdf
Check if Calibre database path is not an URL
Romans Star Wars Officiel OK
Check if Calibre database file exists and is readable
Romans Star Wars Officiel OK
Check if Calibre database file can be opened with PHP
Romans Star Wars Officiel OK
Check if Calibre database file contains at least some of the needed tables
Romans Star Wars Officiel OK
Check if all Calibre books are found
Check if Calibre database path is not an URL
Bibliothèque de livres OK
Check if Calibre database file exists and is readable
Bibliothèque de livres OK
Check if Calibre database file can be opened with PHP
Bibliothèque de livres OK
Check if Calibre database file contains at least some of the needed tables
Bibliothèque de livres OK
Check if all Calibre books are found
Check if Calibre database path is not an URL
Bibliothèque enfants OK
Check if Calibre database file exists and is readable
Bibliothèque enfants OK
Check if Calibre database file can be opened with PHP
Bibliothèque enfants OK
Check if Calibre database file contains at least some of the needed tables
Bibliothèque enfants OK
Check if all Calibre books are found

google translatte =>

Check if PHP version is correct
OK (7.4.3)
Check if GD is properly installed and loaded
OK
Check if Sqlite is properly installed and loaded
OK
Check if libxml is properly installed and loaded
OK
Check if Json is properly installed and loaded
OK
Check if mbstring is properly installed and loaded
OK
Check if intl is properly installed and loaded
OK
Check if Normalizer class is properly installed and loaded
OK
Check if the rendering will be done on client side or server side
Client side rendering
Check if Calibre database path is not an URL
Romans Star Wars Legends OK
Check if Calibre database file exists and is readable
Romans Star Wars Legends OK
Check if Calibre database file can be opened with PHP
Romans Star Wars Legends OK
Check if Calibre database file contains at least some of the needed tables
Romans Star Wars Legends OK
Check if all Calibre books are found

/home/server/nextcloud/jaja/files/Librairie/Bibliothèques_xxxx_xxxxx_(xxx)/xxx/xxxx/xxx.pdf
Check if Calibre database path is not an URL
Romans Star Wars Officiel OK
Check if Calibre database file exists and is readable
Romans Star Wars Officiel OK
Check if Calibre database file can be opened with PHP
Romans Star Wars Officiel OK
Check if Calibre database file contains at least some of the needed tables
Romans Star Wars Officiel OK
Check if all Calibre books are found
Check if Calibre database path is not an URL
Bibliothèque de livres OK
Check if Calibre database file exists and is readable
Bibliothèque de livres OK
Check if Calibre database file can be opened with PHP
Bibliothèque de livres OK
Check if Calibre database file contains at least some of the needed tables
Bibliothèque de livres OK
Check if all Calibre books are found
Check if Calibre database path is not an URL
Bibliothèque enfants OK
Check if Calibre database file exists and is readable
Bibliothèque enfants OK
Check if Calibre database file can be opened with PHP
Bibliothèque enfants OK
Check if Calibre database file contains at least some of the needed tables
Bibliothèque enfants OK
Check if all Calibre books are found

Last edited by theducks; 07-16-2022 at 11:36 AM. Reason: add configcheck
jajaX is offline   Reply With Quote