Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
vegansupreme CreditAttribution: vegansupreme commentedYou need not modify your php.ini. The unzipped tcpdf and fpdi folders should go in
your_drupal_root/sites/all/libraries/
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThat helped, Thanks.
FPDI must be placed in a folder called lowercase "fpdi" inside "libraries".
Comment #3
vegansupreme CreditAttribution: vegansupreme commented