View Single Post
Old 10-22-2012, 02:21 PM   #148
zeroday
Junior Member
zeroday began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2012
Device: ipad-2
@vlad59,
finally found it ..
I remembered that the 0.2.1 was installed with the help of some config found at http://www.tonido.com/forum
I removed my previous git cloned it again and started over ..
in the end I still got an error 404
File does not exist: /var/www/home, referer: http://nblinux.local/cops2/index.php?page=3&id=4425
indeed cops is totally outside /var/ww/ cause it is in /usr/local/src/cops2 and there is an alias in the httpd.conf

than I remembered that I needed to have a change in fetch.php to have the content actually downloaded

this line:
// header ($config['cops_x_accel_redirect'] . ": " . $config['calibre_internal_directory'] . $file);

was changed into:
readfile($config['calibre_internal_directory'] . $file);

And than .. I have the ability to download and read the epub stuff..

maybe this is usefull
zeroday is offline   Reply With Quote