Hello,
i am trying to install the libraries but fail. I dropped and unzipped the tcpdf folder under

/usr/share/php5/tcpdf

and changed in my php.ini

open_basedir = "/var/www/:/tmp/:/usr/share/php5/tcpdf/"
include_path = ".:/usr/share/php5/tcpdf"

and restarted apache.
But all i get is a

Fatal error: require_once(): Failed opening required '/tcpdf.php' (include_path='.:/usr/share/php5/tcpdf') in /var/www/default/shop/sites/all/modules/views_pdf/views_pdf_template.php on line 16

Can anyone tell me what am i doing wrong?

Comments

vegansupreme’s picture

You need not modify your php.ini. The unzipped tcpdf and fpdi folders should go in your_drupal_root/sites/all/libraries/

Anonymous’s picture

That helped, Thanks.
FPDI must be placed in a folder called lowercase "fpdi" inside "libraries".

vegansupreme’s picture

Status: Active » Closed (fixed)