I need to display a logo on every page of the generated PDF file. Although it works fine on the local system, it throws the following exception on the server:
Fatal error: Uncaught exception 'PDFlibException' with message 'Handle parameter or option of type 'image' has bad value 0' in /var/www/dev/subdomains/rfqms/httpdocs/sprintnineteen/system/plugins/dompdf/include/pdflib_adapter.cls.php:664 Stack trace:
After some analysis, I found that in local mode, it uses cpdf_adapter.cls.php for the image, where, like on the server, it uses pdflib_adapter.cls.php for the image.
I even tried for all types of images according to:
pdfLib tutorial Version 8.0.2 ---page
So what is the problem that leads to this exception?
Additional Information:
- local PHP version 5.3.0
- PHP server version 5.2.16
- dompdf version 0.5.2
- DOMPDF_TEMP_DIR has r / w / e permission
- the local machine is Windows Vista.
- server server - linux
image pdf dompdf
sidhartha
source share