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.
Comment | File | Size | Author |
---|---|---|---|
#4 | PHP-settings.pdf | 44.81 KB | zarne |
Comments
Comment #1
mkostir CreditAttribution: mkostir commentedComment #2
zarne CreditAttribution: zarne commentedI have the same problem, so if you have solved the problem, I hope you will post me the solution.
Best regards,
Jens Arne
Comment #3
mkostir CreditAttribution: mkostir commentedHi,
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.
Comment #4
zarne CreditAttribution: zarne commentedHello 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
Comment #5
vregouby CreditAttribution: vregouby commentedHello,
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.
Comment #6
zarne CreditAttribution: zarne commentedHm...but where do I find the file to change?
Comment #7
mkostir CreditAttribution: mkostir commenteddouble check owner and permissions on the library files
Comment #8
zarne CreditAttribution: zarne commentedThe solution was to set up style for the pdf. Now everything works!
Comment #9
lsolesen CreditAttribution: lsolesen commentedComment #10
vregouby CreditAttribution: vregouby commentedPlease 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...
Comment #12
oturpin CreditAttribution: oturpin commentedHello,
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 ?
Comment #13
Screech CreditAttribution: Screech commentedHello,
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
Thanks
Comment #14
Simon Georges CreditAttribution: Simon Georges commented@Screech, did you test with the latest 1.x-dev version? Did you have PHP module enabled?
Comment #15
oturpin CreditAttribution: oturpin commentedHi,
@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.
Thx
Comment #16
Simon Georges CreditAttribution: Simon Georges commented@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).Comment #17
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 #18
killua99 CreditAttribution: killua99 commentedClosing #1513490: Fatal error: Call to undefined function php_eval()