View Single Post
Old 01-20-2011, 12:53 PM   #92
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by coyo View Post
I'm now at 0.7.40.
Everything seems to work fine.
Downloading epubs is ok, when I try to download a pdf, I get the following error:
Fatal error: Call to undefined function finfo_open() in /public_html/calibre/modules/book_format.php on line 57.
Could it be that something is missing from my php config?
No, you aren't missing anything. PDF is not in the mimetypes table (it should be). I don't see the exception because finfo_open is in PHP 5.3. PHP5.2 doesn't have it.

I have added PDF to the mimetypes table, and it will be in the next release. However, as I don't know when that release will happen, the file is attached. Replace the existing mimetypes.php with this one.
Attached Files
File Type: zip mimetypes.zip (576 Bytes, 461 views)
chaley is offline   Reply With Quote