Ok, so I created a fresh install on a different server (same config)
Site is http://slaveway.org/_ebooks
Still on Apache for Linux with PHP module
If you want the phpinfo, just goto http://slaveway.org
The files are ALL rwx 777 for USER, GROUP, WORLD and I am the own of the files.
When the link is created for the file/format it becomes something like:
Which just says "No input file specified."
That above files is physically called:
"[path to home]/_ebooks/library/Test/Unknown/ChoreSchedule (1)/ChoreSchedule - Unknown.mobi
(which does download the file if you go to it)
It seems to me (but I could be mistaken) that when the script is trying to resolve the URL : http://slaveway.org/_ebooks/index.ph...20Unknown.epub
that it should resolve to:
but instead the server is saying it can't find the .../index.php/book_format/..... part. I am curious why you don't use index.php?m=book_format&id=.... etc instead? I changed the code to do that and it did work (except it download the file name index.php, but it was the book)
I made changes to db.php line 584 to generate teh url as index.php?m=book_format&fmt=MOBI&id=1 and it downloaded the books as index.php, but it was a mobi book (changed the extension allowed me to recognize it in my ereader) I reverted my changes as I posted this. The url http://slaveway.org/_ebooks/index.ph...&fmt=MOBI&id=1
still works even now.