Bug: 'Invalid filename provided' when using HHVM
-
Hello There,
nice plugin, now working, but there’s a bug when using HHVM.
It’s not really the fault of your plugin, but as i won’t start hacking the HHVM part of the problem, i changed one line of your plugin and added another one. PDFThumbnailsPlugin.php (line 57)
private function getThumbnailBlob($filename) { <strong>$im = new Imagick($filename);</strong> <strong>$im->setIteratorIndex(0);</strong> $im->setImageFormat('jpg'); return $im->getImageBlob(); }
After this little change everything is working fine. This way it should work using the normal php interpreter and HHVM as well. You may consider integrating this change.
greets, harry
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug: 'Invalid filename provided' when using HHVM’ is closed to new replies.