vtiger TCPDF ERROR: [Image] No such file or directory in

0 comments

Posted on 26th May 2017 by Mike in vTiger700

, ,

Trying to export to PDF i ran into this error “TCPDF ERROR: [Image] No such file or directory in”.

Fix was to edit libraries/tcpdf/config/tcpdf_config.php

Added `, $cache_dir` to this line:
global $root_directory, $site_URL, $cache_dir;

Changed this line:
define (‘K_PATH_CACHE’, K_PATH_MAIN.’cache/’);

To this:
define (‘K_PATH_CACHE’, $cache_dir);

Saved, PDF’s export now.

vtiger7 unknown function “mb_substr”

0 comments

Posted on 26th May 2017 by Mike in vTiger700

, ,

Was receiving an error in vtiger 7 leads module about line 85 in layouts/v7/modules/Vtiger/RecentComments.tpl due to unknown function “mb_substr”.

To fix I installed php mbstring. Since i’m running php7 on aws linux, i ran this command:

sudo yum install php70-mbstring

Then i restarted httpd

sudo service httpd restart

Now all is well.