TCPDF: Could not include font definition file: helvetica

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

TCPDF: Could not include font definition file: helvetica

Postby admin » Thu Sep 05, 2019 11:16 am

hello friends, we just received a second ticket about the same problem from Virtuemart invoices, possibly only on 3.4.2 virtuemart version.

invoices in virtuemart cannot be created (via checkout or via backend) and the error is:
Code: Select all
TCPDF ERROR: Could not include font definition file: helvetica


we did not check real internals of this problem on 3.4.2 on why VM defines wrong paths, but a quick fix is to modify:

\libraries\vendor\tecnickcom\tcpdf\config\tcpdf_config.php

find:
Code: Select all
define("K_PATH_MAIN", VMPATH_LIBS . $cyu.'/');


and replace with:
Code: Select all
define("K_PATH_MAIN",  $cyu.'/');


best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 3 on Joomla 3.x