Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
Goekmen CreditAttribution: Goekmen commentedField Collection within Views seems to be the problem.
Doesn´t work with Field Collection Items as formatter.
Comment #2
St_B CreditAttribution: St_B commentedgot no field collection items and cannot manage with pdf view, just as you described
Comment #3
mareks CreditAttribution: mareks commentedSame 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? :)
Comment #4
mareks CreditAttribution: mareks commentedThe 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
Comment #5
killua99 CreditAttribution: killua99 commentedExist 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.
Comment #6
arunondeck CreditAttribution: arunondeck commentedHi 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.
Comment #7
killua99 CreditAttribution: killua99 commentedPlease 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"