Hi,
1. Enabled the module (admin > modules > pdf_using_mpdf)
2. Renamed the directory (sites > all > modules > changed the name from pdf_using_mpdf to mpdf)
3. Downloaded the mpdf 5.7.4 and unzip to sites > all > libraries. After unzip, I see the mpdf folder under libraries.
4. When I click Generate PDF > I get the below error:
Fatal error: require_once() [function.require]: Failed opening required '/home/content/48/8466248/html/BettyList/ac/sites/all/modules/pdf_using_mpdf/pdf_using_mpdf.pages.inc' (include_path='.:/usr/local/php5/lib/php') in /home/content/48/8466248/html/BettyList/ac/includes/menu.inc on line 515
Can you please help?
Thanks,
D
Comments
Renamed the directory (sites
Renamed the directory (sites > all > modules > changed the name from pdf_using_mpdf to mpdf)
Why would you do that? Rename it back to pdf_using_mpdf and at least that error should go away.
I like cookies!
I read readme file. It did
I read readme file. It did say to rename it. Anyway, I did rename it back and the error is gone.
Now, when I click the generate pdf, I get error:
"mPDF library is not included. Please check your "sites/all/libraries" directory or " /sites/your-domain-name/libraries/ directory " or "sites/all/modules/pdf_using_mpdf" directory."
I thought I did include the library (step no 3?). To include the library, I simply followed the below steps:
a. http://www.mpdf1.com/mpdf/index.php?page=Download
b. Clicked download next to mPDF:
"mPDF v5.7.4 Upgrade from v5.7.3 - Download (.ZIP file 321kB)"
c. Unzip the mPDF folder in "sites/all/libraries"
d. After I unzip, I see mPDF574 folder under "sites/all/libraries"
I did not see any documentation as for how to install mpdf.
Thanks.
I did read the readme.txt
I did read the readme.txt file and it is saying to
" 2. Extract the contents of the downloaded package into one of the supported
paths. There is a need to rename mpdf directry to mpdf eg: 'MPDF54' to 'mpdf'"
I went to sites>all > library > renamed mpdf574 to mpdf. Now, I get the below error after I click generate pdf:
Fatal error: require_once() [function.require]: Failed opening required '../sites/all/libraries/mpdf/config_cp.php' (include_path='.:/usr/local/php5/lib/php') in .../sites/all/libraries/mpdf/mpdf.php on line 39
Thanks,
D
I could imagine downloading a
I could imagine downloading a Full installation package instead of an Update package of mpdf might help. But that is just a guess. :-)
I like cookies!
Your guess was correct guess.
Your guess was correct guess. Full installation worked fine. Now, I can see pdf version.
Thanks.