Esar-ul-haq Qasmi
Esar-ul-haq Qasmi

Reputation: 1084

Drupal 7: The version of the mpdf library could not be detected

I am trying to add PDF library in drupal 7.

  1. I downloaded the mpdf module and enabled it sucessfully.

  2. I downloaded the mPDF library from https://github.com/mpdf/mpdf/tree/master and unzipped into sites/all/libraries folder and renamed forlder to mpdf. But report status is still showing that library not found.

enter image description here

Problem: I want to generate a PDF from HTML node.

Question: What is the correct way to add this mPDF library in drupal 7?

Note: My PHP version is 7^. Which seems everything is correct with php and library version (but not sure).

Upvotes: 1

Views: 674

Answers (1)

PraveenKumar
PraveenKumar

Reputation: 1861

If you are using PDF using mPDF module you have to download mpdf version 6.1.0

Just download the zip file by using this MPDF link and unzip it in sites/all/libraries/mpdf.

Hope this helps you :)

Upvotes: 3

Related Questions