Hi, I have installed everything including the required libraries (no errors are shown in the status report).
I have created a pdf page within views and setup a url.
The url however is empty. There are no code or errors shown.
What I am missing?

And another question. Do I have to use ".pdf" in the url like: downloads/pricelist.pdf?

Comments

Goekmen’s picture

Field Collection within Views seems to be the problem.
Doesn´t work with Field Collection Items as formatter.

St_B’s picture

got no field collection items and cannot manage with pdf view, just as you described

mareks’s picture

Same problem.

* Fresh D7.22
* Views PDF 7.x-1.0 (also tried the 7.x-1.x-dev)
* Views PDF - FPDI Present OK (6_0_020)
* Views PDF - FPDI Template File Present OK
* Views PDF - TCPDF Present
* jQuery update 1.8
* PHP 5.2.11 (could that be the problem?)

Views generated page just give me a blank page. View source is empty.

Error log is clean.

Not sure what went wrong? :)

mareks’s picture

The problem was in views_pdf_template.php

Had to replace php_eval() to eval().

PS. There are other issues regarding eval
https://drupal.org/project/issues/views_pdf?text=php_eval

killua99’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Priority: Normal » 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.

arunondeck’s picture

Hi I face a similar issue. I have installed as is described in the documentation. But when trying to create a view I do not see the PDF display option.

* Fresh D7.22
* Views PDF 7.x-1.0 (also tried the 7.x-1.x-dev)
* Views PDF - FPDI Present OK (6_0_020)
* Views PDF - FPDI Template File Present OK
* Views PDF - TCPDF Present
* jQuery update 1.8
* PHP 5.4.12

Unsure about how to proceed.

killua99’s picture

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

Please read this issue.

#1513490: Fatal error: Call to undefined function php_eval()

Closed Open a new Issue if "Can´t you get this to work"