Manual talk:$wgDjvuRenderer

From mediawiki.org
Latest comment: 15 years ago by Tbleher

I enable this and $wgDjvuToXML, but that don't enable djvu rendering. Someone for given a true explanation ?

Look into how to debug, especially set $wgDebugLogFile and look through the log file generated. Setting these two variables should be enough (IMVHO, but I haven't had time to test it); you will need to provide some further information so someone can help you. --Tbleher 06:15, 27 May 2008 (UTC)Reply


File::getPropsFromPath: Getting file info for /tmp/phptEMwFN
MimeMagic::__construct: loading mime types from /xxxxx/xxx/xxxxxx/xxxxx/includes/mime.types
MimeMagic::__construct: loading mime info from /xxxxx/xxx/xxxxxx/xxxxx/includes/mime.info
MimeMagic::guessMimeType: internal type detection failed for /tmp/phptEMwFN (.djvu)...
MimeMagic::detectMimeType: no magic mime detector found!
MimeMagic::detectMimeType: refusing to guess mime type for .djvu file, we should have recognized it
MimeMagic::detectMimeType: failed to guess mime type for /tmp/phptEMwFN!
MimeMagic::guessMimeType: final mime type of /tmp/phptEMwFN: unknown/unknown
MediaHandler::getHandler: no handler found for unknown/unknown.
File::getPropsFromPath: /tmp/phptEMwFN loaded, 1799502 bytes, unknown/unknown.
MacBinary::loadHeader: header bytes 0 and 74 not null
MimeMagic::guessMimeType: internal type detection failed for /tmp/phptEMwFN (.)...
MimeMagic::detectMimeType: no magic mime detector found!
MimeMagic::detectMimeType: failed to guess mime type for /tmp/phptEMwFN!
MimeMagic::guessMimeType: final mime type of /tmp/phptEMwFN: unknown/unknown

Still don't work.