Article ID: 114666, created on Aug 28, 2012, last review on Mar 21, 2015

  • Applies to:
  • Plesk 11.x for Windows


1. Open Customer and Business Manager (CBM) web interface > "All Settings" > "PDF Invoice Customization"
2. Add some logo into "Show logo" field and click "Save"
3. Try to print some invoice
4. The invoice would not have the uploaded logo in it
5. Try to open "All settings" you will get a pop-up message:
Error: Can not load image to PDF document.


The issue is caused by a wrong cache directory defined for the related library.

It points to a non-existent directory:

C:/Program Files (x86)/Parallels/Plesk/billing/lib/billing-libs/tcpdf/cache


The issue will be fixed in a future update for which a new Knowledgebase article will be created. You may subscribe for new articles on Parallels Plesk Panel Product if you wish to receive notifications about their creation.


Open this file for editing

C:\Program Files (x86)\Parallels\Plesk\billing\lib\billing-libs\tcpdf\config\tcpdf_config.php

and redefine the cache directory to the path which CBM uses for caching its files, the result should look like this:

* cache directory for temporary files (full path)
//define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
define ('K_PATH_CACHE', 'C:\Program Files (x86)\Parallels\Plesk\var\billing\\');

Now you may try re-printing the invoice, it should have the logo this time.

bd7fc88cf1b01f097749ae6f87272128 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8

Email subscription for changes to this article
Save as PDF