Symptoms1. 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.
CauseThe 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
ResolutionThe 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.
WorkaroundOpen this file for editing
C:\Program Files (x86)\Parallels\Plesk\billing\lib\billing-libs\tcpdf\config\tcpdf_config.phpand 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.