Hi all,
hope this is the right place to ask.
I tried 7.x-1.0-rc1 of views pdf, as well as latest dev. Views 7.x-3.3 as well as 7.x-3.3+84-dev.
My status report says: Views PDF - FPDI Present OK, Views PDF - FPDI Template File Present OK, Views PDF - TCPDF Present.
I have libraries installed.
PHP version 5.4.0-3, drupal core 7.12.

When I follow the install manual for views pdf, I get stuck with the following point:

I can add the "PDF page" display, however I end up on blank edit page. Not being able to add any fields or do anything further.

Anyone could help?
If more detailed info is needed, please let me know.
Thank you heaps.

#4 PHP-settings.pdf44.81 KBzarne
Members fund testing for the Drupal project. Drupal Association Learn more


mkostir’s picture

Priority: Normal » Major
zarne’s picture

I have the same problem, so if you have solved the problem, I hope you will post me the solution.
Best regards,
Jens Arne

mkostir’s picture

I have done few things, and I'm not really sure which helped me to sort out the problem.
Recently, I had to attend to some other things apart from developing the website and it all faded out of my memory. However I think what has helped was increasing the memory limit for PHP to 512M.
Please try out and let me know if that helps.
If so, I guess we could close this issue.

zarne’s picture

44.81 KB

Hello again, and thanks for your quick response!
As you can see in the attached fil, my memory limit is 256 MB, but maybe there is some other settings that can solve the problem?
I have uploaded the lib as below here:
Views_pdf-7.x-1.0-rc1.tar to sites/all/modules/views_ftp
and the entire FPDI-1.4.2 in sites/all/libraries/fpdi/fpdi.php
and FPDF_tpl-1.2 in sites/all/libraries/fpdi/fpdf_tpl
and the entire tcpdf_5_9_156 in sites/all/libraries/tcpdf

vregouby’s picture

Actually in order to see something, you need to update the views format parameters to fill in the pdf view informations :
X position
Y position
and so on.

It works for me, the only problem is to find out what are the good values to fill in because it either generates a pdf on 20 pages with 1 line per page, or all data on the same line.

If anybody comes across a good configuration that works nicely, it would be cool to share it as an exemple.

zarne’s picture

Hm...but where do I find the file to change?

mkostir’s picture

double check owner and permissions on the library files

zarne’s picture

The solution was to set up style for the pdf. Now everything works!

lsolesen’s picture

Status: Active » Fixed
vregouby’s picture

Please can you tell us a little bit more about "setting up style for the pdf" ? I'd love so much being able to use this module...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

oturpin’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Status: Closed (fixed) » Active

I have the same problem as described but with different version:
Core 7.21
Views PDF Display 7.x-1.0+7-dev
Views PDF - FPDI Présent
Views PDF - FPDI Template File Présent
Views PDF - TCPDF Présent
I configured each parameter of pdf display, but i will ever get an empty page...
I ran out of idea to go on testing...
Any advice ?

Screech’s picture

Version: 7.x-1.x-dev » 7.x-1.0

me to with different version :
Core 7.18
Views PDF - FPDI Present
Views PDF - FPDI Template File Present
Views PDF - TCPDF Present
All ideas are welcome

Simon Georges’s picture

@Screech, did you test with the latest 1.x-dev version? Did you have PHP module enabled?

oturpin’s picture


@Simon Georges : what module do you mean : PHP module ? Views PDF does not mention that dependance ??
I personnally tested with last dev version with not difference: blank page.


Simon Georges’s picture

@oturpin, indeed, the dependency isn't mentionned, but some of the code is calling php_eval() function (see #1513490: Fatal error: Call to undefined function php_eval() for details and patches).

killua99’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Priority: Major » Critical
Status: Active » Reviewed & tested by the community

Exist a patch to handle this issues and others. Please see #2032189: Multiple issue fixing in a single patch and review others issues patch.

This is RTBC, and ready to apply.

killua99’s picture

Priority: Critical » Normal
Status: Reviewed & tested by the community » Closed (fixed)